1. Packages
  2. Azure Native
  3. API Docs
  4. confluent
  5. Organization
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.confluent.Organization

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Organization resource. Azure REST API version: 2021-12-01. Prior API version in Azure Native 1.x: 2020-03-01.

    Other available API versions: 2020-03-01-preview, 2023-08-22, 2024-02-13.

    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.OfferDetailArgs
            {
                Id = "string",
                PlanId = "string",
                PlanName = "string",
                PublisherId = "string",
                TermUnit = "string",
            },
            OrganizationName = "myOrganization",
            ResourceGroupName = "myResourceGroup",
            Tags = 
            {
                { "Environment", "Dev" },
            },
            UserDetail = new AzureNative.Confluent.Inputs.UserDetailArgs
            {
                EmailAddress = "contoso@microsoft.com",
                FirstName = "string",
                LastName = "string",
            },
        });
    
    });
    
    package main
    
    import (
    	confluent "github.com/pulumi/pulumi-azure-native-sdk/confluent/v2"
    	"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.OfferDetailArgs{
    				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.UserDetailArgs{
    				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 com.pulumi.azurenative.confluent.inputs.OfferDetailArgs;
    import com.pulumi.azurenative.confluent.inputs.UserDetailArgs;
    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(OfferDetailArgs.builder()
                    .id("string")
                    .planId("string")
                    .planName("string")
                    .publisherId("string")
                    .termUnit("string")
                    .build())
                .organizationName("myOrganization")
                .resourceGroupName("myResourceGroup")
                .tags(Map.of("Environment", "Dev"))
                .userDetail(UserDetailArgs.builder()
                    .emailAddress("contoso@microsoft.com")
                    .firstName("string")
                    .lastName("string")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    organization = azure_native.confluent.Organization("organization",
        location="West US",
        offer_detail={
            "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={
            "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,
                     offer_detail: Optional[OfferDetailArgs] = None,
                     resource_group_name: Optional[str] = None,
                     user_detail: Optional[UserDetailArgs] = None,
                     location: Optional[str] = None,
                     organization_name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = 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()
    {
        OfferDetail = new AzureNative.Confluent.Inputs.OfferDetailArgs
        {
            Id = "string",
            PlanId = "string",
            PlanName = "string",
            PublisherId = "string",
            TermUnit = "string",
        },
        ResourceGroupName = "string",
        UserDetail = new AzureNative.Confluent.Inputs.UserDetailArgs
        {
            EmailAddress = "string",
            FirstName = "string",
            LastName = "string",
        },
        Location = "string",
        OrganizationName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := confluent.NewOrganization(ctx, "organizationResource", &confluent.OrganizationArgs{
    	OfferDetail: &confluent.OfferDetailArgs{
    		Id:          pulumi.String("string"),
    		PlanId:      pulumi.String("string"),
    		PlanName:    pulumi.String("string"),
    		PublisherId: pulumi.String("string"),
    		TermUnit:    pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	UserDetail: &confluent.UserDetailArgs{
    		EmailAddress: pulumi.String("string"),
    		FirstName:    pulumi.String("string"),
    		LastName:     pulumi.String("string"),
    	},
    	Location:         pulumi.String("string"),
    	OrganizationName: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var organizationResource = new Organization("organizationResource", OrganizationArgs.builder()
        .offerDetail(OfferDetailArgs.builder()
            .id("string")
            .planId("string")
            .planName("string")
            .publisherId("string")
            .termUnit("string")
            .build())
        .resourceGroupName("string")
        .userDetail(UserDetailArgs.builder()
            .emailAddress("string")
            .firstName("string")
            .lastName("string")
            .build())
        .location("string")
        .organizationName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    organization_resource = azure_native.confluent.Organization("organizationResource",
        offer_detail={
            "id": "string",
            "planId": "string",
            "planName": "string",
            "publisherId": "string",
            "termUnit": "string",
        },
        resource_group_name="string",
        user_detail={
            "emailAddress": "string",
            "firstName": "string",
            "lastName": "string",
        },
        location="string",
        organization_name="string",
        tags={
            "string": "string",
        })
    
    const organizationResource = new azure_native.confluent.Organization("organizationResource", {
        offerDetail: {
            id: "string",
            planId: "string",
            planName: "string",
            publisherId: "string",
            termUnit: "string",
        },
        resourceGroupName: "string",
        userDetail: {
            emailAddress: "string",
            firstName: "string",
            lastName: "string",
        },
        location: "string",
        organizationName: "string",
        tags: {
            string: "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:

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

    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.
    SystemData Pulumi.AzureNative.Confluent.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    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.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    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.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    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.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    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.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    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.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource
    type String
    The type of the resource.

    Supporting Types

    OfferDetail, OfferDetailArgs

    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

    OfferDetailResponse, OfferDetailResponseArgs

    Id string
    Offer Id
    PlanId string
    Offer Plan Id
    PlanName string
    Offer Plan Name
    PublisherId string
    Publisher Id
    Status string
    SaaS Offer Status
    TermUnit string
    Offer Plan Term unit
    Id string
    Offer Id
    PlanId string
    Offer Plan Id
    PlanName string
    Offer Plan Name
    PublisherId string
    Publisher Id
    Status string
    SaaS Offer Status
    TermUnit string
    Offer Plan Term unit
    id String
    Offer Id
    planId String
    Offer Plan Id
    planName String
    Offer Plan Name
    publisherId String
    Publisher Id
    status String
    SaaS Offer Status
    termUnit String
    Offer Plan Term unit
    id string
    Offer Id
    planId string
    Offer Plan Id
    planName string
    Offer Plan Name
    publisherId string
    Publisher Id
    status string
    SaaS Offer Status
    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
    status str
    SaaS Offer Status
    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
    status String
    SaaS Offer Status
    termUnit String
    Offer Plan Term unit

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UserDetail, UserDetailArgs

    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

    UserDetailResponse, UserDetailResponseArgs

    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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi