azure-native.confluent.Organization
Explore with Pulumi AI
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:
- Offer
Detail Pulumi.Azure Native. Confluent. Inputs. Offer Detail - Confluent offer detail
- Resource
Group stringName - Resource group name
- User
Detail Pulumi.Azure Native. Confluent. Inputs. User Detail - Subscriber detail
- Location string
- Location of Organization resource
- Organization
Name string - Organization resource name
- Dictionary<string, string>
- Organization resource tags
- Offer
Detail OfferDetail Args - Confluent offer detail
- Resource
Group stringName - Resource group name
- User
Detail UserDetail Args - Subscriber detail
- Location string
- Location of Organization resource
- Organization
Name string - Organization resource name
- map[string]string
- Organization resource tags
- offer
Detail OfferDetail - Confluent offer detail
- resource
Group StringName - Resource group name
- user
Detail UserDetail - Subscriber detail
- location String
- Location of Organization resource
- organization
Name String - Organization resource name
- Map<String,String>
- Organization resource tags
- offer
Detail OfferDetail - Confluent offer detail
- resource
Group stringName - Resource group name
- user
Detail UserDetail - Subscriber detail
- location string
- Location of Organization resource
- organization
Name string - Organization resource name
- {[key: string]: string}
- Organization resource tags
- offer_
detail OfferDetail Args - Confluent offer detail
- resource_
group_ strname - Resource group name
- user_
detail UserDetail Args - Subscriber detail
- location str
- Location of Organization resource
- organization_
name str - Organization resource name
- Mapping[str, str]
- Organization resource tags
- offer
Detail Property Map - Confluent offer detail
- resource
Group StringName - Resource group name
- user
Detail Property Map - Subscriber detail
- location String
- Location of Organization resource
- organization
Name String - Organization resource name
- Map<String>
- Organization resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the Organization resource produces the following output properties:
- Created
Time 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.
- Organization
Id string - Id of the Confluent organization.
- Provisioning
State string - Provision states for confluent RP
- Sso
Url string - SSO url for the Confluent organization.
- System
Data Pulumi.Azure Native. Confluent. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource
- Type string
- The type of the resource.
- Created
Time 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.
- Organization
Id string - Id of the Confluent organization.
- Provisioning
State string - Provision states for confluent RP
- Sso
Url string - SSO url for the Confluent organization.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- Type string
- The type of the resource.
- created
Time 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.
- organization
Id String - Id of the Confluent organization.
- provisioning
State String - Provision states for confluent RP
- sso
Url String - SSO url for the Confluent organization.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type String
- The type of the resource.
- created
Time 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.
- organization
Id string - Id of the Confluent organization.
- provisioning
State string - Provision states for confluent RP
- sso
Url string - SSO url for the Confluent organization.
- system
Data SystemData Response - 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 SystemData Response - Metadata pertaining to creation and last modification of the resource
- type str
- The type of the resource.
- created
Time 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.
- organization
Id String - Id of the Confluent organization.
- provisioning
State String - Provision states for confluent RP
- sso
Url String - SSO url for the Confluent organization.
- system
Data 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
- Plan
Id string - Offer Plan Id
- Plan
Name string - Offer Plan Name
- Publisher
Id string - Publisher Id
- Term
Unit string - Offer Plan Term unit
- Id string
- Offer Id
- Plan
Id string - Offer Plan Id
- Plan
Name string - Offer Plan Name
- Publisher
Id string - Publisher Id
- Term
Unit string - Offer Plan Term unit
- id String
- Offer Id
- plan
Id String - Offer Plan Id
- plan
Name String - Offer Plan Name
- publisher
Id String - Publisher Id
- term
Unit String - Offer Plan Term unit
- id string
- Offer Id
- plan
Id string - Offer Plan Id
- plan
Name string - Offer Plan Name
- publisher
Id string - Publisher Id
- term
Unit 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
- plan
Id String - Offer Plan Id
- plan
Name String - Offer Plan Name
- publisher
Id String - Publisher Id
- term
Unit String - Offer Plan Term unit
OfferDetailResponse, OfferDetailResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserDetail, UserDetailArgs
- Email
Address string - Email address
- First
Name string - First name
- Last
Name string - Last name
- Email
Address string - Email address
- First
Name string - First name
- Last
Name string - Last name
- email
Address String - Email address
- first
Name String - First name
- last
Name String - Last name
- email
Address string - Email address
- first
Name string - First name
- last
Name string - Last name
- email_
address str - Email address
- first_
name str - First name
- last_
name str - Last name
- email
Address String - Email address
- first
Name String - First name
- last
Name String - Last name
UserDetailResponse, UserDetailResponseArgs
- Email
Address string - Email address
- First
Name string - First name
- Last
Name string - Last name
- Email
Address string - Email address
- First
Name string - First name
- Last
Name string - Last name
- email
Address String - Email address
- first
Name String - First name
- last
Name String - Last name
- email
Address string - Email address
- first
Name string - First name
- last
Name string - Last name
- email_
address str - Email address
- first_
name str - First name
- last_
name str - Last name
- email
Address String - Email address
- first
Name String - First name
- last
Name 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