azure-native.engagementfabric.Account
Explore with Pulumi AI
The EngagementFabric account API Version: 2018-09-01-preview.
Example Usage
AccountsCreateOrUpdateExample
using System.Collections.Generic;
using System.Linq;
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/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 Account Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
args: AccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Account(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sku: Optional[SKUArgs] = None,
account_name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleaccountResourceResourceFromEngagementfabric = new AzureNative.Engagementfabric.Account("exampleaccountResourceResourceFromEngagementfabric", new()
{
ResourceGroupName = "string",
Sku =
{
{ "name", "string" },
{ "tier", "string" },
},
AccountName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := engagementfabric.NewAccount(ctx, "exampleaccountResourceResourceFromEngagementfabric", &engagementfabric.AccountArgs{
ResourceGroupName: "string",
Sku: map[string]interface{}{
"name": "string",
"tier": "string",
},
AccountName: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var exampleaccountResourceResourceFromEngagementfabric = new Account("exampleaccountResourceResourceFromEngagementfabric", AccountArgs.builder()
.resourceGroupName("string")
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.accountName("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
exampleaccount_resource_resource_from_engagementfabric = azure_native.engagementfabric.Account("exampleaccountResourceResourceFromEngagementfabric",
resource_group_name=string,
sku={
name: string,
tier: string,
},
account_name=string,
location=string,
tags={
string: string,
})
const exampleaccountResourceResourceFromEngagementfabric = new azure_native.engagementfabric.Account("exampleaccountResourceResourceFromEngagementfabric", {
resourceGroupName: "string",
sku: {
name: "string",
tier: "string",
},
accountName: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:engagementfabric:Account
properties:
accountName: string
location: string
resourceGroupName: string
sku:
name: string
tier: string
tags:
string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Account resource accepts the following input properties:
- Resource
Group stringName - Resource Group Name
- Sku
Pulumi.
Azure Native. Engagement Fabric. Inputs. SKU - The SKU of the resource
- Account
Name string - Account Name
- Location string
- The location of the resource
- Dictionary<string, string>
- The tags of the resource
- Resource
Group stringName - Resource Group Name
- Sku SKUArgs
- The SKU of the resource
- Account
Name string - Account Name
- Location string
- The location of the resource
- map[string]string
- The tags of the resource
- resource
Group StringName - Resource Group Name
- sku SKU
- The SKU of the resource
- account
Name String - Account Name
- location String
- The location of the resource
- Map<String,String>
- The tags of the resource
- resource
Group stringName - Resource Group Name
- sku SKU
- The SKU of the resource
- account
Name string - Account Name
- location string
- The location of the resource
- {[key: string]: string}
- The tags of the resource
- resource_
group_ strname - Resource Group Name
- sku SKUArgs
- The SKU of the resource
- account_
name str - Account Name
- location str
- The location of the resource
- Mapping[str, str]
- The tags of the resource
- resource
Group StringName - Resource Group Name
- sku Property Map
- The SKU of the resource
- account
Name String - Account Name
- location String
- The location of the resource
- 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:
Supporting Types
SKU, SKUArgs
SKUResponse, SKUResponseArgs
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0