1. Packages
  2. Azure Native v1
  3. API Docs
  4. confluent
  5. Organization
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.confluent.Organization

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

    Organization resource. API Version: 2020-03-01.

    Example Usage

    Organization_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var organization = new AzureNative.Confluent.Organization("organization", new()
        {
            Location = "West US",
            OfferDetail = new AzureNative.Confluent.Inputs.OrganizationResourcePropertiesOfferDetailArgs
            {
                Id = "string",
                PlanId = "string",
                PlanName = "string",
                PublisherId = "string",
                TermUnit = "string",
            },
            OrganizationName = "myOrganization",
            ResourceGroupName = "myResourceGroup",
            Tags = 
            {
                { "Environment", "Dev" },
            },
            UserDetail = new AzureNative.Confluent.Inputs.OrganizationResourcePropertiesUserDetailArgs
            {
                EmailAddress = "contoso@microsoft.com",
                FirstName = "string",
                LastName = "string",
            },
        });
    
    });
    
    package main
    
    import (
    	confluent "github.com/pulumi/pulumi-azure-native-sdk/confluent"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := confluent.NewOrganization(ctx, "organization", &confluent.OrganizationArgs{
    			Location: pulumi.String("West US"),
    			OfferDetail: &confluent.OrganizationResourcePropertiesOfferDetailArgs{
    				Id:          pulumi.String("string"),
    				PlanId:      pulumi.String("string"),
    				PlanName:    pulumi.String("string"),
    				PublisherId: pulumi.String("string"),
    				TermUnit:    pulumi.String("string"),
    			},
    			OrganizationName:  pulumi.String("myOrganization"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Tags: pulumi.StringMap{
    				"Environment": pulumi.String("Dev"),
    			},
    			UserDetail: &confluent.OrganizationResourcePropertiesUserDetailArgs{
    				EmailAddress: pulumi.String("contoso@microsoft.com"),
    				FirstName:    pulumi.String("string"),
    				LastName:     pulumi.String("string"),
    			},
    		})
    		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.confluent.Organization;
    import com.pulumi.azurenative.confluent.OrganizationArgs;
    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 organization = new Organization("organization", OrganizationArgs.builder()        
                .location("West US")
                .offerDetail(Map.ofEntries(
                    Map.entry("id", "string"),
                    Map.entry("planId", "string"),
                    Map.entry("planName", "string"),
                    Map.entry("publisherId", "string"),
                    Map.entry("termUnit", "string")
                ))
                .organizationName("myOrganization")
                .resourceGroupName("myResourceGroup")
                .tags(Map.of("Environment", "Dev"))
                .userDetail(Map.ofEntries(
                    Map.entry("emailAddress", "contoso@microsoft.com"),
                    Map.entry("firstName", "string"),
                    Map.entry("lastName", "string")
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    organization = azure_native.confluent.Organization("organization",
        location="West US",
        offer_detail=azure_native.confluent.OrganizationResourcePropertiesOfferDetailArgs(
            id="string",
            plan_id="string",
            plan_name="string",
            publisher_id="string",
            term_unit="string",
        ),
        organization_name="myOrganization",
        resource_group_name="myResourceGroup",
        tags={
            "Environment": "Dev",
        },
        user_detail=azure_native.confluent.OrganizationResourcePropertiesUserDetailArgs(
            email_address="contoso@microsoft.com",
            first_name="string",
            last_name="string",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const organization = new azure_native.confluent.Organization("organization", {
        location: "West US",
        offerDetail: {
            id: "string",
            planId: "string",
            planName: "string",
            publisherId: "string",
            termUnit: "string",
        },
        organizationName: "myOrganization",
        resourceGroupName: "myResourceGroup",
        tags: {
            Environment: "Dev",
        },
        userDetail: {
            emailAddress: "contoso@microsoft.com",
            firstName: "string",
            lastName: "string",
        },
    });
    
    resources:
      organization:
        type: azure-native:confluent:Organization
        properties:
          location: West US
          offerDetail:
            id: string
            planId: string
            planName: string
            publisherId: string
            termUnit: string
          organizationName: myOrganization
          resourceGroupName: myResourceGroup
          tags:
            Environment: Dev
          userDetail:
            emailAddress: contoso@microsoft.com
            firstName: string
            lastName: string
    

    Create Organization Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Organization(name: string, args: OrganizationArgs, opts?: CustomResourceOptions);
    @overload
    def Organization(resource_name: str,
                     args: OrganizationArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Organization(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     resource_group_name: Optional[str] = None,
                     location: Optional[str] = None,
                     offer_detail: Optional[OrganizationResourcePropertiesOfferDetailArgs] = None,
                     organization_name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     user_detail: Optional[OrganizationResourcePropertiesUserDetailArgs] = None)
    func NewOrganization(ctx *Context, name string, args OrganizationArgs, opts ...ResourceOption) (*Organization, error)
    public Organization(string name, OrganizationArgs args, CustomResourceOptions? opts = null)
    public Organization(String name, OrganizationArgs args)
    public Organization(String name, OrganizationArgs args, CustomResourceOptions options)
    
    type: azure-native:confluent:Organization
    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 OrganizationArgs
    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 OrganizationArgs
    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 OrganizationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationArgs
    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 organizationResource = new AzureNative.Confluent.Organization("organizationResource", new()
    {
        ResourceGroupName = "string",
        Location = "string",
        OfferDetail = 
        {
            { "id", "string" },
            { "planId", "string" },
            { "planName", "string" },
            { "publisherId", "string" },
            { "termUnit", "string" },
        },
        OrganizationName = "string",
        Tags = 
        {
            { "string", "string" },
        },
        UserDetail = 
        {
            { "emailAddress", "string" },
            { "firstName", "string" },
            { "lastName", "string" },
        },
    });
    
    example, err := confluent.NewOrganization(ctx, "organizationResource", &confluent.OrganizationArgs{
    	ResourceGroupName: "string",
    	Location:          "string",
    	OfferDetail: map[string]interface{}{
    		"id":          "string",
    		"planId":      "string",
    		"planName":    "string",
    		"publisherId": "string",
    		"termUnit":    "string",
    	},
    	OrganizationName: "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    	UserDetail: map[string]interface{}{
    		"emailAddress": "string",
    		"firstName":    "string",
    		"lastName":     "string",
    	},
    })
    
    var organizationResource = new Organization("organizationResource", OrganizationArgs.builder()
        .resourceGroupName("string")
        .location("string")
        .offerDetail(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .organizationName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .userDetail(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    organization_resource = azure_native.confluent.Organization("organizationResource",
        resource_group_name=string,
        location=string,
        offer_detail={
            id: string,
            planId: string,
            planName: string,
            publisherId: string,
            termUnit: string,
        },
        organization_name=string,
        tags={
            string: string,
        },
        user_detail={
            emailAddress: string,
            firstName: string,
            lastName: string,
        })
    
    const organizationResource = new azure_native.confluent.Organization("organizationResource", {
        resourceGroupName: "string",
        location: "string",
        offerDetail: {
            id: "string",
            planId: "string",
            planName: "string",
            publisherId: "string",
            termUnit: "string",
        },
        organizationName: "string",
        tags: {
            string: "string",
        },
        userDetail: {
            emailAddress: "string",
            firstName: "string",
            lastName: "string",
        },
    });
    
    type: azure-native:confluent:Organization
    properties:
        location: string
        offerDetail:
            id: string
            planId: string
            planName: string
            publisherId: string
            termUnit: string
        organizationName: string
        resourceGroupName: string
        tags:
            string: string
        userDetail:
            emailAddress: string
            firstName: string
            lastName: string
    

    Organization 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 Organization resource accepts the following input properties:

    ResourceGroupName string
    Resource group name
    Location string
    Location of Organization resource
    OfferDetail Pulumi.AzureNative.Confluent.Inputs.OrganizationResourcePropertiesOfferDetail
    Confluent offer detail
    OrganizationName string
    Organization resource name
    Tags Dictionary<string, string>
    Organization resource tags
    UserDetail Pulumi.AzureNative.Confluent.Inputs.OrganizationResourcePropertiesUserDetail
    Subscriber detail
    ResourceGroupName string
    Resource group name
    Location string
    Location of Organization resource
    OfferDetail OrganizationResourcePropertiesOfferDetailArgs
    Confluent offer detail
    OrganizationName string
    Organization resource name
    Tags map[string]string
    Organization resource tags
    UserDetail OrganizationResourcePropertiesUserDetailArgs
    Subscriber detail
    resourceGroupName String
    Resource group name
    location String
    Location of Organization resource
    offerDetail OrganizationResourcePropertiesOfferDetail
    Confluent offer detail
    organizationName String
    Organization resource name
    tags Map<String,String>
    Organization resource tags
    userDetail OrganizationResourcePropertiesUserDetail
    Subscriber detail
    resourceGroupName string
    Resource group name
    location string
    Location of Organization resource
    offerDetail OrganizationResourcePropertiesOfferDetail
    Confluent offer detail
    organizationName string
    Organization resource name
    tags {[key: string]: string}
    Organization resource tags
    userDetail OrganizationResourcePropertiesUserDetail
    Subscriber detail
    resource_group_name str
    Resource group name
    location str
    Location of Organization resource
    offer_detail OrganizationResourcePropertiesOfferDetailArgs
    Confluent offer detail
    organization_name str
    Organization resource name
    tags Mapping[str, str]
    Organization resource tags
    user_detail OrganizationResourcePropertiesUserDetailArgs
    Subscriber detail
    resourceGroupName String
    Resource group name
    location String
    Location of Organization resource
    offerDetail Property Map
    Confluent offer detail
    organizationName String
    Organization resource name
    tags Map<String>
    Organization resource tags
    userDetail Property Map
    Subscriber detail

    Outputs

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

    CreatedTime string
    The creation time of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    OrganizationId string
    Id of the Confluent organization.
    ProvisioningState string
    Provision states for confluent RP
    SsoUrl string
    SSO url for the Confluent organization.
    Type string
    The type of the resource.
    CreatedTime string
    The creation time of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    OrganizationId string
    Id of the Confluent organization.
    ProvisioningState string
    Provision states for confluent RP
    SsoUrl string
    SSO url for the Confluent organization.
    Type string
    The type of the resource.
    createdTime String
    The creation time of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    organizationId String
    Id of the Confluent organization.
    provisioningState String
    Provision states for confluent RP
    ssoUrl String
    SSO url for the Confluent organization.
    type String
    The type of the resource.
    createdTime string
    The creation time of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    organizationId string
    Id of the Confluent organization.
    provisioningState string
    Provision states for confluent RP
    ssoUrl string
    SSO url for the Confluent organization.
    type string
    The type of the resource.
    created_time str
    The creation time of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    organization_id str
    Id of the Confluent organization.
    provisioning_state str
    Provision states for confluent RP
    sso_url str
    SSO url for the Confluent organization.
    type str
    The type of the resource.
    createdTime String
    The creation time of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    organizationId String
    Id of the Confluent organization.
    provisioningState String
    Provision states for confluent RP
    ssoUrl String
    SSO url for the Confluent organization.
    type String
    The type of the resource.

    Supporting Types

    OrganizationResourcePropertiesOfferDetail, OrganizationResourcePropertiesOfferDetailArgs

    Id string
    Offer Id
    PlanId string
    Offer Plan Id
    PlanName string
    Offer Plan Name
    PublisherId string
    Publisher Id
    TermUnit string
    Offer Plan Term unit
    Id string
    Offer Id
    PlanId string
    Offer Plan Id
    PlanName string
    Offer Plan Name
    PublisherId string
    Publisher Id
    TermUnit string
    Offer Plan Term unit
    id String
    Offer Id
    planId String
    Offer Plan Id
    planName String
    Offer Plan Name
    publisherId String
    Publisher Id
    termUnit String
    Offer Plan Term unit
    id string
    Offer Id
    planId string
    Offer Plan Id
    planName string
    Offer Plan Name
    publisherId string
    Publisher Id
    termUnit string
    Offer Plan Term unit
    id str
    Offer Id
    plan_id str
    Offer Plan Id
    plan_name str
    Offer Plan Name
    publisher_id str
    Publisher Id
    term_unit str
    Offer Plan Term unit
    id String
    Offer Id
    planId String
    Offer Plan Id
    planName String
    Offer Plan Name
    publisherId String
    Publisher Id
    termUnit String
    Offer Plan Term unit

    OrganizationResourcePropertiesResponseOfferDetail, OrganizationResourcePropertiesResponseOfferDetailArgs

    Status string
    SaaS Offer Status
    Id string
    Offer Id
    PlanId string
    Offer Plan Id
    PlanName string
    Offer Plan Name
    PublisherId string
    Publisher Id
    TermUnit string
    Offer Plan Term unit
    Status string
    SaaS Offer Status
    Id string
    Offer Id
    PlanId string
    Offer Plan Id
    PlanName string
    Offer Plan Name
    PublisherId string
    Publisher Id
    TermUnit string
    Offer Plan Term unit
    status String
    SaaS Offer Status
    id String
    Offer Id
    planId String
    Offer Plan Id
    planName String
    Offer Plan Name
    publisherId String
    Publisher Id
    termUnit String
    Offer Plan Term unit
    status string
    SaaS Offer Status
    id string
    Offer Id
    planId string
    Offer Plan Id
    planName string
    Offer Plan Name
    publisherId string
    Publisher Id
    termUnit string
    Offer Plan Term unit
    status str
    SaaS Offer Status
    id str
    Offer Id
    plan_id str
    Offer Plan Id
    plan_name str
    Offer Plan Name
    publisher_id str
    Publisher Id
    term_unit str
    Offer Plan Term unit
    status String
    SaaS Offer Status
    id String
    Offer Id
    planId String
    Offer Plan Id
    planName String
    Offer Plan Name
    publisherId String
    Publisher Id
    termUnit String
    Offer Plan Term unit

    OrganizationResourcePropertiesResponseUserDetail, OrganizationResourcePropertiesResponseUserDetailArgs

    EmailAddress string
    Email address
    FirstName string
    First name
    LastName string
    Last name
    EmailAddress string
    Email address
    FirstName string
    First name
    LastName string
    Last name
    emailAddress String
    Email address
    firstName String
    First name
    lastName String
    Last name
    emailAddress string
    Email address
    firstName string
    First name
    lastName string
    Last name
    email_address str
    Email address
    first_name str
    First name
    last_name str
    Last name
    emailAddress String
    Email address
    firstName String
    First name
    lastName String
    Last name

    OrganizationResourcePropertiesUserDetail, OrganizationResourcePropertiesUserDetailArgs

    EmailAddress string
    Email address
    FirstName string
    First name
    LastName string
    Last name
    EmailAddress string
    Email address
    FirstName string
    First name
    LastName string
    Last name
    emailAddress String
    Email address
    firstName String
    First name
    lastName String
    Last name
    emailAddress string
    Email address
    firstName string
    First name
    lastName string
    Last name
    email_address str
    Email address
    first_name str
    First name
    last_name str
    Last name
    emailAddress String
    Email address
    firstName String
    First name
    lastName String
    Last name

    Import

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

    $ pulumi import azure-native:confluent:Organization myOrganization /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Confluent/organizations/myOrganization 
    

    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