1. Packages
  2. Snowflake Provider
  3. API Docs
  4. ManagedAccount
Snowflake v1.1.4 published on Wednesday, Mar 26, 2025 by Pulumi

snowflake.ManagedAccount

Explore with Pulumi AI

Import

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

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 This property is required. string
The unique name of the resource.
args This property is required. ManagedAccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ManagedAccountArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ManagedAccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
var managedAccountResource = new ManagedAccount("managedAccountResource", ManagedAccountArgs.builder()
    .adminName("string")
    .adminPassword("string")
    .comment("string")
    .name("string")
    .type("string")
    .build());
Copy
managed_account_resource = snowflake.ManagedAccount("managedAccountResource",
    admin_name="string",
    admin_password="string",
    comment="string",
    name="string",
    type="string")
Copy
const managedAccountResource = new snowflake.ManagedAccount("managedAccountResource", {
    adminName: "string",
    adminPassword: "string",
    comment: "string",
    name: "string",
    type: "string",
});
Copy
type: snowflake:ManagedAccount
properties:
    adminName: string
    adminPassword: string
    comment: string
    name: string
    type: string
Copy

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

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

The ManagedAccount resource accepts the following input properties:

AdminName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
Password for the initial user in the managed account. Check Snowflake-provided password policy.
Comment Changes to this property will trigger replacement. string
Specifies a comment for the managed account.
Name Changes to this property will trigger replacement. string
Identifier for the managed account; must be unique for your account.
Type Changes to this property will trigger replacement. string
Specifies the type of managed account.
AdminName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
Password for the initial user in the managed account. Check Snowflake-provided password policy.
Comment Changes to this property will trigger replacement. string
Specifies a comment for the managed account.
Name Changes to this property will trigger replacement. string
Identifier for the managed account; must be unique for your account.
Type Changes to this property will trigger replacement. string
Specifies the type of managed account.
adminName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
Password for the initial user in the managed account. Check Snowflake-provided password policy.
comment Changes to this property will trigger replacement. String
Specifies a comment for the managed account.
name Changes to this property will trigger replacement. String
Identifier for the managed account; must be unique for your account.
type Changes to this property will trigger replacement. String
Specifies the type of managed account.
adminName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
Password for the initial user in the managed account. Check Snowflake-provided password policy.
comment Changes to this property will trigger replacement. string
Specifies a comment for the managed account.
name Changes to this property will trigger replacement. string
Identifier for the managed account; must be unique for your account.
type Changes to this property will trigger replacement. string
Specifies the type of managed account.
admin_name
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
str
Password for the initial user in the managed account. Check Snowflake-provided password policy.
comment Changes to this property will trigger replacement. str
Specifies a comment for the managed account.
name Changes to this property will trigger replacement. str
Identifier for the managed account; must be unique for your account.
type Changes to this property will trigger replacement. str
Specifies the type of managed account.
adminName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
Password for the initial user in the managed account. Check Snowflake-provided password policy.
comment Changes to this property will trigger replacement. String
Specifies a comment for the managed account.
name Changes to this property will trigger replacement. String
Identifier for the managed account; must be unique for your account.
type Changes to this property will trigger replacement. 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)
resources:  _:    type: snowflake:ManagedAccount    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Identifier for the managed account; must be unique for your account.
Region string
Snowflake Region in which the managed account is located.
Type Changes to this property will trigger replacement. string
Specifies the type of managed account.
Url string
URL for accessing the managed account, particularly through the web interface.
AdminName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Identifier for the managed account; must be unique for your account.
Region string
Snowflake Region in which the managed account is located.
Type Changes to this property will trigger replacement. string
Specifies the type of managed account.
Url string
URL for accessing the managed account, particularly through the web interface.
adminName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
Identifier for the managed account; must be unique for your account.
region String
Snowflake Region in which the managed account is located.
type Changes to this property will trigger replacement. String
Specifies the type of managed account.
url String
URL for accessing the managed account, particularly through the web interface.
adminName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Identifier for the managed account; must be unique for your account.
region string
Snowflake Region in which the managed account is located.
type Changes to this property will trigger replacement. string
Specifies the type of managed account.
url string
URL for accessing the managed account, particularly through the web interface.
admin_name Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
Identifier for the managed account; must be unique for your account.
region str
Snowflake Region in which the managed account is located.
type Changes to this property will trigger replacement. str
Specifies the type of managed account.
url str
URL for accessing the managed account, particularly through the web interface.
adminName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
Identifier for the managed account; must be unique for your account.
region String
Snowflake Region in which the managed account is located.
type Changes to this property will trigger replacement. 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.