vantage.ManagedAccount
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vantage from "@pulumi/vantage";
const terraform_managed_account = new vantage.ManagedAccount("terraform-managed-account", {
    accessCredentialTokens: ["accss_crdntl_145aa8924bdc55a9"],
    billingRuleTokens: ["bllng_rule_bc95e52f2af7bac6"],
    contactEmail: "support+terraform@vantage.sh",
});
import pulumi
import pulumi_vantage as vantage
terraform_managed_account = vantage.ManagedAccount("terraform-managed-account",
    access_credential_tokens=["accss_crdntl_145aa8924bdc55a9"],
    billing_rule_tokens=["bllng_rule_bc95e52f2af7bac6"],
    contact_email="support+terraform@vantage.sh")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vantage/vantage"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vantage.NewManagedAccount(ctx, "terraform-managed-account", &vantage.ManagedAccountArgs{
			AccessCredentialTokens: pulumi.StringArray{
				pulumi.String("accss_crdntl_145aa8924bdc55a9"),
			},
			BillingRuleTokens: pulumi.StringArray{
				pulumi.String("bllng_rule_bc95e52f2af7bac6"),
			},
			ContactEmail: pulumi.String("support+terraform@vantage.sh"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vantage = Pulumi.Vantage;
return await Deployment.RunAsync(() => 
{
    var terraform_managed_account = new Vantage.ManagedAccount("terraform-managed-account", new()
    {
        AccessCredentialTokens = new[]
        {
            "accss_crdntl_145aa8924bdc55a9",
        },
        BillingRuleTokens = new[]
        {
            "bllng_rule_bc95e52f2af7bac6",
        },
        ContactEmail = "support+terraform@vantage.sh",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vantage.ManagedAccount;
import com.pulumi.vantage.ManagedAccountArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var terraform_managed_account = new ManagedAccount("terraform-managed-account", ManagedAccountArgs.builder()
            .accessCredentialTokens("accss_crdntl_145aa8924bdc55a9")
            .billingRuleTokens("bllng_rule_bc95e52f2af7bac6")
            .contactEmail("support+terraform@vantage.sh")
            .build());
    }
}
resources:
  terraform-managed-account:
    type: vantage:ManagedAccount
    properties:
      accessCredentialTokens:
        - accss_crdntl_145aa8924bdc55a9
      billingRuleTokens:
        - bllng_rule_bc95e52f2af7bac6
      contactEmail: support+terraform@vantage.sh
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 string
 - The unique name of the resource.
 - args ManagedAccountArgs
 - 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 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 string
 - The unique name of the resource.
 - args ManagedAccountArgs
 - The arguments to resource properties.
 - opts ResourceOption
 - Bag of options to control resource's behavior.
 
- name string
 - The unique name of the resource.
 - args ManagedAccountArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- name String
 - The unique name of the resource.
 - args 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",
});
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"),
})
var managedAccountResource = new ManagedAccount("managedAccountResource", ManagedAccountArgs.builder()
    .contactEmail("string")
    .accessCredentialTokens("string")
    .billingRuleTokens("string")
    .name("string")
    .build());
managed_account_resource = vantage.ManagedAccount("managedAccountResource",
    contact_email="string",
    access_credential_tokens=["string"],
    billing_rule_tokens=["string"],
    name="string")
const managedAccountResource = new vantage.ManagedAccount("managedAccountResource", {
    contactEmail: "string",
    accessCredentialTokens: ["string"],
    billingRuleTokens: ["string"],
    name: "string",
});
type: vantage:ManagedAccount
properties:
    accessCredentialTokens:
        - string
    billingRuleTokens:
        - string
    contactEmail: string
    name: 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:
- Contact
Email string - The contact email address for the Managed Account.
 - Access
Credential List<string>Tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - Billing
Rule List<string>Tokens  - Billing Rule tokens to assign to the Managed Account.
 - Name string
 - The name of the Managed Account.
 
- Contact
Email string - The contact email address for the Managed Account.
 - Access
Credential []stringTokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - Billing
Rule []stringTokens  - Billing Rule tokens to assign to the Managed Account.
 - Name string
 - The name of the Managed Account.
 
- contact
Email String - The contact email address for the Managed Account.
 - access
Credential List<String>Tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - billing
Rule List<String>Tokens  - Billing Rule tokens to assign to the Managed Account.
 - name String
 - The name of the Managed Account.
 
- contact
Email string - The contact email address for the Managed Account.
 - access
Credential string[]Tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - billing
Rule string[]Tokens  - Billing Rule tokens to assign to the Managed Account.
 - name string
 - The name of the Managed Account.
 
- contact_
email str - The contact email address for the Managed Account.
 - access_
credential_ Sequence[str]tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - billing_
rule_ Sequence[str]tokens  - Billing Rule tokens to assign to the Managed Account.
 - name str
 - The name of the Managed Account.
 
- contact
Email String - The contact email address for the Managed Account.
 - access
Credential List<String>Tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - billing
Rule List<String>Tokens  - 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.
 - Parent
Account stringToken  - 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.
 - Parent
Account stringToken  - 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.
 - parent
Account StringToken  - 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.
 - parent
Account stringToken  - 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_ strtoken  - 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.
 - parent
Account StringToken  - 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) -> ManagedAccountfunc 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
 - 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.
 
- Access
Credential List<string>Tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - Billing
Rule List<string>Tokens  - Billing Rule tokens to assign to the Managed Account.
 - Contact
Email string - The contact email address for the Managed Account.
 - Name string
 - The name of the Managed Account.
 - Parent
Account stringToken  - The token for the parent Account.
 - Token string
 - The token of the managed account
 
- Access
Credential []stringTokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - Billing
Rule []stringTokens  - Billing Rule tokens to assign to the Managed Account.
 - Contact
Email string - The contact email address for the Managed Account.
 - Name string
 - The name of the Managed Account.
 - Parent
Account stringToken  - The token for the parent Account.
 - Token string
 - The token of the managed account
 
- access
Credential List<String>Tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - billing
Rule List<String>Tokens  - Billing Rule tokens to assign to the Managed Account.
 - contact
Email String - The contact email address for the Managed Account.
 - name String
 - The name of the Managed Account.
 - parent
Account StringToken  - The token for the parent Account.
 - token String
 - The token of the managed account
 
- access
Credential string[]Tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - billing
Rule string[]Tokens  - Billing Rule tokens to assign to the Managed Account.
 - contact
Email string - The contact email address for the Managed Account.
 - name string
 - The name of the Managed Account.
 - parent
Account stringToken  - The token for the parent Account.
 - token string
 - The token of the managed account
 
- access_
credential_ Sequence[str]tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - billing_
rule_ Sequence[str]tokens  - 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_ strtoken  - The token for the parent Account.
 - token str
 - The token of the managed account
 
- access
Credential List<String>Tokens  - Access Credential (aka Integrations) tokens to assign to the Managed Account.
 - billing
Rule List<String>Tokens  - Billing Rule tokens to assign to the Managed Account.
 - contact
Email String - The contact email address for the Managed Account.
 - name String
 - The name of the Managed Account.
 - parent
Account StringToken  - 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 
vantageTerraform Provider. 
