sdm logo
StrongDM v1.1.2, May 11 23

sdm.Account

Explore with Pulumi AI

Import

Account can be imported using the id, e.g.,

 $ pulumi import sdm:index/account:Account example a-12345678

Create Account Resource

new Account(name: string, args?: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            service: Optional[AccountServiceArgs] = None,
            user: Optional[AccountUserArgs] = None)
@overload
def Account(resource_name: str,
            args: Optional[AccountArgs] = None,
            opts: Optional[ResourceOptions] = None)
func NewAccount(ctx *Context, name string, args *AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs? args = null, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: sdm:Account
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AccountArgs
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 AccountArgs
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 AccountArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccountArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AccountArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Account 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 Account resource accepts the following input properties:

Service PiersKarsenbarg.Sdm.Inputs.AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

User PiersKarsenbarg.Sdm.Inputs.AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

Service AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

User AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

service AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

user AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

service AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

user AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

service AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

user AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

service Property Map

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

user Property Map

A User can connect to resources they are granted directly, or granted via roles.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing Account Resource

Get an existing Account 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?: AccountState, opts?: CustomResourceOptions): Account
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        service: Optional[AccountServiceArgs] = None,
        user: Optional[AccountUserArgs] = None) -> Account
func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
public static Account get(String name, Output<String> id, AccountState 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:
Service PiersKarsenbarg.Sdm.Inputs.AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

User PiersKarsenbarg.Sdm.Inputs.AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

Service AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

User AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

service AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

user AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

service AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

user AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

service AccountServiceArgs

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

user AccountUserArgs

A User can connect to resources they are granted directly, or granted via roles.

service Property Map

A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.

user Property Map

A User can connect to resources they are granted directly, or granted via roles.

Supporting Types

AccountService

Name string

Unique human-readable name of the Service.

Suspended bool

The User's suspended state.

Tags Dictionary<string, string>

Tags is a map of key, value pairs.

Token string
Name string

Unique human-readable name of the Service.

Suspended bool

The User's suspended state.

Tags map[string]string

Tags is a map of key, value pairs.

Token string
name String

Unique human-readable name of the Service.

suspended Boolean

The User's suspended state.

tags Map<String,String>

Tags is a map of key, value pairs.

token String
name string

Unique human-readable name of the Service.

suspended boolean

The User's suspended state.

tags {[key: string]: string}

Tags is a map of key, value pairs.

token string
name str

Unique human-readable name of the Service.

suspended bool

The User's suspended state.

tags Mapping[str, str]

Tags is a map of key, value pairs.

token str
name String

Unique human-readable name of the Service.

suspended Boolean

The User's suspended state.

tags Map<String>

Tags is a map of key, value pairs.

token String

AccountUser

Email string

The User's email address. Must be unique.

FirstName string

The User's first name.

LastName string

The User's last name.

ExternalId string

External ID is an alternative unique ID this user is represented by within an external service.

ManagedBy string

Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.

PermissionLevel string

PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.

Suspended bool

The User's suspended state.

Tags Dictionary<string, string>

Tags is a map of key, value pairs.

Email string

The User's email address. Must be unique.

FirstName string

The User's first name.

LastName string

The User's last name.

ExternalId string

External ID is an alternative unique ID this user is represented by within an external service.

ManagedBy string

Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.

PermissionLevel string

PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.

Suspended bool

The User's suspended state.

Tags map[string]string

Tags is a map of key, value pairs.

email String

The User's email address. Must be unique.

firstName String

The User's first name.

lastName String

The User's last name.

externalId String

External ID is an alternative unique ID this user is represented by within an external service.

managedBy String

Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.

permissionLevel String

PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.

suspended Boolean

The User's suspended state.

tags Map<String,String>

Tags is a map of key, value pairs.

email string

The User's email address. Must be unique.

firstName string

The User's first name.

lastName string

The User's last name.

externalId string

External ID is an alternative unique ID this user is represented by within an external service.

managedBy string

Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.

permissionLevel string

PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.

suspended boolean

The User's suspended state.

tags {[key: string]: string}

Tags is a map of key, value pairs.

email str

The User's email address. Must be unique.

first_name str

The User's first name.

last_name str

The User's last name.

external_id str

External ID is an alternative unique ID this user is represented by within an external service.

managed_by str

Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.

permission_level str

PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.

suspended bool

The User's suspended state.

tags Mapping[str, str]

Tags is a map of key, value pairs.

email String

The User's email address. Must be unique.

firstName String

The User's first name.

lastName String

The User's last name.

externalId String

External ID is an alternative unique ID this user is represented by within an external service.

managedBy String

Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.

permissionLevel String

PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.

suspended Boolean

The User's suspended state.

tags Map<String>

Tags is a map of key, value pairs.

Package Details

Repository
sdm pierskarsenbarg/pulumi-sdm
License
Apache-2.0
Notes

This Pulumi package is based on the sdm Terraform Provider.