1. Packages
  2. Vantage Provider
  3. API Docs
  4. ManagedAccount
vantage 0.1.50 published on Monday, Apr 7, 2025 by vantage-sh

vantage.ManagedAccount

Explore with Pulumi AI

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,
                   contact_email: Optional[str] = None,
                   access_credential_tokens: Optional[Sequence[str]] = None,
                   billing_rule_tokens: Optional[Sequence[str]] = None,
                   name: 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: vantage: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 Vantage.ManagedAccount("managedAccountResource", new()
{
    ContactEmail = "string",
    AccessCredentialTokens = new[]
    {
        "string",
    },
    BillingRuleTokens = new[]
    {
        "string",
    },
    Name = "string",
});
Copy
example, err := vantage.NewManagedAccount(ctx, "managedAccountResource", &vantage.ManagedAccountArgs{
ContactEmail: pulumi.String("string"),
AccessCredentialTokens: pulumi.StringArray{
pulumi.String("string"),
},
BillingRuleTokens: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
})
Copy
var managedAccountResource = new ManagedAccount("managedAccountResource", ManagedAccountArgs.builder()
    .contactEmail("string")
    .accessCredentialTokens("string")
    .billingRuleTokens("string")
    .name("string")
    .build());
Copy
managed_account_resource = vantage.ManagedAccount("managedAccountResource",
    contact_email="string",
    access_credential_tokens=["string"],
    billing_rule_tokens=["string"],
    name="string")
Copy
const managedAccountResource = new vantage.ManagedAccount("managedAccountResource", {
    contactEmail: "string",
    accessCredentialTokens: ["string"],
    billingRuleTokens: ["string"],
    name: "string",
});
Copy
type: vantage:ManagedAccount
properties:
    accessCredentialTokens:
        - string
    billingRuleTokens:
        - string
    contactEmail: string
    name: 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:

ContactEmail This property is required. string
The contact email address for the Managed Account.
AccessCredentialTokens List<string>
Access Credential (aka Integrations) tokens to assign to the Managed Account.
BillingRuleTokens List<string>
Billing Rule tokens to assign to the Managed Account.
Name string
The name of the Managed Account.
ContactEmail This property is required. string
The contact email address for the Managed Account.
AccessCredentialTokens []string
Access Credential (aka Integrations) tokens to assign to the Managed Account.
BillingRuleTokens []string
Billing Rule tokens to assign to the Managed Account.
Name string
The name of the Managed Account.
contactEmail This property is required. String
The contact email address for the Managed Account.
accessCredentialTokens List<String>
Access Credential (aka Integrations) tokens to assign to the Managed Account.
billingRuleTokens List<String>
Billing Rule tokens to assign to the Managed Account.
name String
The name of the Managed Account.
contactEmail This property is required. string
The contact email address for the Managed Account.
accessCredentialTokens string[]
Access Credential (aka Integrations) tokens to assign to the Managed Account.
billingRuleTokens string[]
Billing Rule tokens to assign to the Managed Account.
name string
The name of the Managed Account.
contact_email This property is required. str
The contact email address for the Managed Account.
access_credential_tokens Sequence[str]
Access Credential (aka Integrations) tokens to assign to the Managed Account.
billing_rule_tokens Sequence[str]
Billing Rule tokens to assign to the Managed Account.
name str
The name of the Managed Account.
contactEmail This property is required. String
The contact email address for the Managed Account.
accessCredentialTokens List<String>
Access Credential (aka Integrations) tokens to assign to the Managed Account.
billingRuleTokens List<String>
Billing Rule tokens to assign to the Managed Account.
name String
The name of the Managed Account.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
ParentAccountToken string
The token for the parent Account.
Token string
The token of the managed account
Id string
The provider-assigned unique ID for this managed resource.
ParentAccountToken string
The token for the parent Account.
Token string
The token of the managed account
id String
The provider-assigned unique ID for this managed resource.
parentAccountToken String
The token for the parent Account.
token String
The token of the managed account
id string
The provider-assigned unique ID for this managed resource.
parentAccountToken string
The token for the parent Account.
token string
The token of the managed account
id str
The provider-assigned unique ID for this managed resource.
parent_account_token str
The token for the parent Account.
token str
The token of the managed account
id String
The provider-assigned unique ID for this managed resource.
parentAccountToken String
The token for the parent Account.
token String
The token of the managed account

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,
        access_credential_tokens: Optional[Sequence[str]] = None,
        billing_rule_tokens: Optional[Sequence[str]] = None,
        contact_email: Optional[str] = None,
        name: Optional[str] = None,
        parent_account_token: Optional[str] = None,
        token: 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: vantage: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:
AccessCredentialTokens List<string>
Access Credential (aka Integrations) tokens to assign to the Managed Account.
BillingRuleTokens List<string>
Billing Rule tokens to assign to the Managed Account.
ContactEmail string
The contact email address for the Managed Account.
Name string
The name of the Managed Account.
ParentAccountToken string
The token for the parent Account.
Token string
The token of the managed account
AccessCredentialTokens []string
Access Credential (aka Integrations) tokens to assign to the Managed Account.
BillingRuleTokens []string
Billing Rule tokens to assign to the Managed Account.
ContactEmail string
The contact email address for the Managed Account.
Name string
The name of the Managed Account.
ParentAccountToken string
The token for the parent Account.
Token string
The token of the managed account
accessCredentialTokens List<String>
Access Credential (aka Integrations) tokens to assign to the Managed Account.
billingRuleTokens List<String>
Billing Rule tokens to assign to the Managed Account.
contactEmail String
The contact email address for the Managed Account.
name String
The name of the Managed Account.
parentAccountToken String
The token for the parent Account.
token String
The token of the managed account
accessCredentialTokens string[]
Access Credential (aka Integrations) tokens to assign to the Managed Account.
billingRuleTokens string[]
Billing Rule tokens to assign to the Managed Account.
contactEmail string
The contact email address for the Managed Account.
name string
The name of the Managed Account.
parentAccountToken string
The token for the parent Account.
token string
The token of the managed account
access_credential_tokens Sequence[str]
Access Credential (aka Integrations) tokens to assign to the Managed Account.
billing_rule_tokens Sequence[str]
Billing Rule tokens to assign to the Managed Account.
contact_email str
The contact email address for the Managed Account.
name str
The name of the Managed Account.
parent_account_token str
The token for the parent Account.
token str
The token of the managed account
accessCredentialTokens List<String>
Access Credential (aka Integrations) tokens to assign to the Managed Account.
billingRuleTokens List<String>
Billing Rule tokens to assign to the Managed Account.
contactEmail String
The contact email address for the Managed Account.
name String
The name of the Managed Account.
parentAccountToken String
The token for the parent Account.
token String
The token of the managed account

Package Details

Repository
vantage vantage-sh/terraform-provider-vantage
License
Notes
This Pulumi package is based on the vantage Terraform Provider.