Azure Native

Pulumi Official
Package maintained by Pulumi
v1.68.2 published on Tuesday, Aug 16, 2022 by Pulumi

Account

The EngagementFabric account API Version: 2018-09-01-preview.

Example Usage

AccountsCreateOrUpdateExample

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var account = new AzureNative.EngagementFabric.Account("account", new()
    {
        AccountName = "ExampleAccount",
        Location = "WestUS",
        ResourceGroupName = "ExampleRg",
        Sku = new AzureNative.EngagementFabric.Inputs.SKUArgs
        {
            Name = "B1",
        },
    });

});
package main

import (
	engagementfabric "github.com/pulumi/pulumi-azure-native/sdk/go/azure/engagementfabric"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := engagementfabric.NewAccount(ctx, "account", &engagementfabric.AccountArgs{
			AccountName:       pulumi.String("ExampleAccount"),
			Location:          pulumi.String("WestUS"),
			ResourceGroupName: pulumi.String("ExampleRg"),
			Sku: &engagementfabric.SKUArgs{
				Name: pulumi.String("B1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.engagementfabric.Account;
import com.pulumi.azurenative.engagementfabric.AccountArgs;
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 account = new Account("account", AccountArgs.builder()        
            .accountName("ExampleAccount")
            .location("WestUS")
            .resourceGroupName("ExampleRg")
            .sku(Map.of("name", "B1"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

account = azure_native.engagementfabric.Account("account",
    account_name="ExampleAccount",
    location="WestUS",
    resource_group_name="ExampleRg",
    sku=azure_native.engagementfabric.SKUArgs(
        name="B1",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const account = new azure_native.engagementfabric.Account("account", {
    accountName: "ExampleAccount",
    location: "WestUS",
    resourceGroupName: "ExampleRg",
    sku: {
        name: "B1",
    },
});
resources:
  account:
    type: azure-native:engagementfabric:Account
    properties:
      accountName: ExampleAccount
      location: WestUS
      resourceGroupName: ExampleRg
      sku:
        name: B1

Create a Account Resource

new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            account_name: Optional[str] = None,
            location: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            sku: Optional[SKUArgs] = None,
            tags: Optional[Mapping[str, str]] = None)
@overload
def Account(resource_name: str,
            args: AccountArgs,
            opts: Optional[ResourceOptions] = None)
func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: azure-native:engagementfabric: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:

ResourceGroupName string

Resource Group Name

Sku Pulumi.AzureNative.EngagementFabric.Inputs.SKUArgs

The SKU of the resource

AccountName string

Account Name

Location string

The location of the resource

Tags Dictionary<string, string>

The tags of the resource

ResourceGroupName string

Resource Group Name

Sku SKUArgs

The SKU of the resource

AccountName string

Account Name

Location string

The location of the resource

Tags map[string]string

The tags of the resource

resourceGroupName String

Resource Group Name

sku SKUArgs

The SKU of the resource

accountName String

Account Name

location String

The location of the resource

tags Map<String,String>

The tags of the resource

resourceGroupName string

Resource Group Name

sku SKUArgs

The SKU of the resource

accountName string

Account Name

location string

The location of the resource

tags {[key: string]: string}

The tags of the resource

resource_group_name str

Resource Group Name

sku SKUArgs

The SKU of the resource

account_name str

Account Name

location str

The location of the resource

tags Mapping[str, str]

The tags of the resource

resourceGroupName String

Resource Group Name

sku Property Map

The SKU of the resource

accountName String

Account Name

location String

The location of the resource

tags Map<String>

The tags of the resource

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.

Name string

The name of the resource

Type string

The fully qualified type of the resource

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

Type string

The fully qualified type of the resource

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

type String

The fully qualified type of the resource

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource

type string

The fully qualified type of the resource

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource

type str

The fully qualified type of the resource

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

type String

The fully qualified type of the resource

Supporting Types

SKU

Name string

The name of the SKU

Tier string

The price tier of the SKU

Name string

The name of the SKU

Tier string

The price tier of the SKU

name String

The name of the SKU

tier String

The price tier of the SKU

name string

The name of the SKU

tier string

The price tier of the SKU

name str

The name of the SKU

tier str

The price tier of the SKU

name String

The name of the SKU

tier String

The price tier of the SKU

SKUResponse

Name string

The name of the SKU

Tier string

The price tier of the SKU

Name string

The name of the SKU

Tier string

The price tier of the SKU

name String

The name of the SKU

tier String

The price tier of the SKU

name string

The name of the SKU

tier string

The price tier of the SKU

name str

The name of the SKU

tier str

The price tier of the SKU

name String

The name of the SKU

tier String

The price tier of the SKU

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:engagementfabric:Account ExampleAccount subscriptions/EDBF0095-A524-4A84-95FB-F72DA41AA6A1/resourceGroups/ExampleRg/providers/Microsoft.EngagementFabric/Accounts/ExampleAccount 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0