snowflake.ManagedAccount
Explore with Pulumi AI
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
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",
});
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
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:
- Admin
Name This property is required. Changes to this property will trigger replacement.
- 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.
- Password for the initial user in the managed account. Check Snowflake-provided password policy.
- Comment
Changes to this property will trigger replacement.
- Specifies a comment for the managed account.
- Name
Changes to this property will trigger replacement.
- Identifier for the managed account; must be unique for your account.
- Type
Changes to this property will trigger replacement.
- Specifies the type of managed account.
- Admin
Name This property is required. Changes to this property will trigger replacement.
- 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.
- Password for the initial user in the managed account. Check Snowflake-provided password policy.
- Comment
Changes to this property will trigger replacement.
- Specifies a comment for the managed account.
- Name
Changes to this property will trigger replacement.
- Identifier for the managed account; must be unique for your account.
- Type
Changes to this property will trigger replacement.
- Specifies the type of managed account.
- admin
Name This property is required. Changes to this property will trigger replacement.
- 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.
- Password for the initial user in the managed account. Check Snowflake-provided password policy.
- comment
Changes to this property will trigger replacement.
- Specifies a comment for the managed account.
- name
Changes to this property will trigger replacement.
- Identifier for the managed account; must be unique for your account.
- type
Changes to this property will trigger replacement.
- Specifies the type of managed account.
- admin
Name This property is required. Changes to this property will trigger replacement.
- 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.
- Password for the initial user in the managed account. Check Snowflake-provided password policy.
- comment
Changes to this property will trigger replacement.
- Specifies a comment for the managed account.
- name
Changes to this property will trigger replacement.
- Identifier for the managed account; must be unique for your account.
- type
Changes to this property will trigger replacement.
- Specifies the type of managed account.
- admin_
name This property is required. Changes to this property will trigger replacement.
- 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.
- Password for the initial user in the managed account. Check Snowflake-provided password policy.
- comment
Changes to this property will trigger replacement.
- Specifies a comment for the managed account.
- name
Changes to this property will trigger replacement.
- Identifier for the managed account; must be unique for your account.
- type
Changes to this property will trigger replacement.
- Specifies the type of managed account.
- admin
Name This property is required. Changes to this property will trigger replacement.
- 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.
- Password for the initial user in the managed account. Check Snowflake-provided password policy.
- comment
Changes to this property will trigger replacement.
- Specifies a comment for the managed account.
- name
Changes to this property will trigger replacement.
- Identifier for the managed account; must be unique for your account.
- type
Changes to this property will trigger replacement.
- 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.
- Created
On string - Date and time when the managed account was created.
- Fully
Qualified stringName - 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.
- Created
On string - Date and time when the managed account was created.
- Fully
Qualified stringName - 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.
- created
On String - Date and time when the managed account was created.
- fully
Qualified StringName - 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.
- created
On string - Date and time when the managed account was created.
- fully
Qualified stringName - 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_ strname - 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.
- created
On String - Date and time when the managed account was created.
- fully
Qualified StringName - 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.
- Admin
Name Changes to this property will trigger replacement.
- 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.
- 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.
- Specifies a comment for the managed account.
- Created
On string - Date and time when the managed account was created.
- Fully
Qualified stringName - 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.
- 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.
- 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.
- 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.
- 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.
- Specifies a comment for the managed account.
- Created
On string - Date and time when the managed account was created.
- Fully
Qualified stringName - 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.
- 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.
- 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.
- 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.
- 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.
- Specifies a comment for the managed account.
- created
On String - Date and time when the managed account was created.
- fully
Qualified StringName - 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.
- 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.
- 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.
- 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.
- 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.
- Specifies a comment for the managed account.
- created
On string - Date and time when the managed account was created.
- fully
Qualified stringName - 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.
- 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.
- 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.
- 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.
- 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.
- Specifies a comment for the managed account.
- created_
on str - Date and time when the managed account was created.
- fully_
qualified_ strname - 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.
- 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.
- Specifies the type of managed account.
- url str
- URL for accessing the managed account, particularly through the web interface.
- admin
Name Changes to this property will trigger replacement.
- 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.
- 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.
- Specifies a comment for the managed account.
- created
On String - Date and time when the managed account was created.
- fully
Qualified StringName - 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.
- 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.
- 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.