1. Packages
  2. Azure Native v1
  3. API Docs
  4. engagementfabric
  5. Account
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.engagementfabric.Account

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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

    The Account resource accepts the following input properties:

    ResourceGroupName string
    Resource Group Name
    Sku Pulumi.AzureNative.EngagementFabric.Inputs.SKU
    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 SKU
    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 SKU
    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, SKUArgs

    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, SKUResponseArgs

    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 
    

    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
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi