1. Packages
  2. Snowflake
  3. API Docs
  4. ManagedAccount
Snowflake v0.50.2 published on Friday, Mar 8, 2024 by Pulumi

snowflake.ManagedAccount

Explore with Pulumi AI

snowflake logo
Snowflake v0.50.2 published on Friday, Mar 8, 2024 by Pulumi

    Import

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

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.snowflake.ManagedAccount;
    import com.pulumi.snowflake.ManagedAccountArgs;
    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 account = new ManagedAccount("account", ManagedAccountArgs.builder()        
                .adminName("admin")
                .adminPassword("secret")
                .cloud("aws")
                .comment("A managed account.")
                .locator("managed-account")
                .region("us-west-2")
                .type("READER")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    resources:
      account:
        type: snowflake:ManagedAccount
        properties:
          adminName: admin
          adminPassword: secret
          cloud: aws
          comment: A managed account.
          locator: managed-account
          region: us-west-2
          type: READER
    

    Create ManagedAccount Resource

    new ManagedAccount(name: string, args: ManagedAccountArgs, opts?: CustomResourceOptions);
    @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)
    @overload
    def ManagedAccount(resource_name: str,
                       args: ManagedAccountArgs,
                       opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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,
            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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.50.2 published on Friday, Mar 8, 2024 by Pulumi