Show / Hide Table of Contents

Class AccountPrivilege

Inheritance
System.Object
Resource
CustomResource
AccountPrivilege
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Rds
Assembly: Pulumi.AliCloud.dll
Syntax
public class AccountPrivilege : CustomResource

Constructors

View Source

AccountPrivilege(String, AccountPrivilegeArgs, CustomResourceOptions)

Create a AccountPrivilege resource with the given unique name, arguments, and options.

Declaration
public AccountPrivilege(string name, AccountPrivilegeArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AccountPrivilegeArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccountName

A specified account name.

Declaration
public Output<string> AccountName { get; }
Property Value
Type Description
Output<System.String>
View Source

DbNames

List of specified database name.

Declaration
public Output<ImmutableArray<string>> DbNames { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

InstanceId

The Id of instance in which account belongs.

Declaration
public Output<string> InstanceId { get; }
Property Value
Type Description
Output<System.String>
View Source

Privilege

The privilege of one account access database. Valid values:

  • ReadOnly: This value is only for MySQL, MariaDB and SQL Server
  • ReadWrite: This value is only for MySQL, MariaDB and SQL Server
  • DDLOnly: (Available in 1.64.0+) This value is only for MySQL and MariaDB
  • DMLOnly: (Available in 1.64.0+) This value is only for MySQL and MariaDB
  • DBOwner: (Available in 1.64.0+) This value is only for SQL Server and PostgreSQL.
Declaration
public Output<string> Privilege { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AccountPrivilegeState, CustomResourceOptions)

Get an existing AccountPrivilege resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AccountPrivilege Get(string name, Input<string> id, AccountPrivilegeState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AccountPrivilegeState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AccountPrivilege
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.