azure-native.confluent.Organization
Explore with Pulumi AI
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:
- Resource
Group stringName - Resource group name
- Location string
- Location of Organization resource
- Offer
Detail Pulumi.Azure Native. Confluent. Inputs. Organization Resource Properties Offer Detail - Confluent offer detail
- Organization
Name string - Organization resource name
- Dictionary<string, string>
- Organization resource tags
- User
Detail Pulumi.Azure Native. Confluent. Inputs. Organization Resource Properties User Detail - Subscriber detail
- Resource
Group stringName - Resource group name
- Location string
- Location of Organization resource
- Offer
Detail OrganizationResource Properties Offer Detail Args - Confluent offer detail
- Organization
Name string - Organization resource name
- map[string]string
- Organization resource tags
- User
Detail OrganizationResource Properties User Detail Args - Subscriber detail
- resource
Group StringName - Resource group name
- location String
- Location of Organization resource
- offer
Detail OrganizationResource Properties Offer Detail - Confluent offer detail
- organization
Name String - Organization resource name
- Map<String,String>
- Organization resource tags
- user
Detail OrganizationResource Properties User Detail - Subscriber detail
- resource
Group stringName - Resource group name
- location string
- Location of Organization resource
- offer
Detail OrganizationResource Properties Offer Detail - Confluent offer detail
- organization
Name string - Organization resource name
- {[key: string]: string}
- Organization resource tags
- user
Detail OrganizationResource Properties User Detail - Subscriber detail
- resource_
group_ strname - Resource group name
- location str
- Location of Organization resource
- offer_
detail OrganizationResource Properties Offer Detail Args - Confluent offer detail
- organization_
name str - Organization resource name
- Mapping[str, str]
- Organization resource tags
- user_
detail OrganizationResource Properties User Detail Args - Subscriber detail
- resource
Group StringName - Resource group name
- location String
- Location of Organization resource
- offer
Detail Property Map - Confluent offer detail
- organization
Name String - Organization resource name
- Map<String>
- Organization resource tags
- user
Detail Property Map - Subscriber detail
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- type String
- The type of the resource.
Supporting Types
OrganizationResourcePropertiesOfferDetail, OrganizationResourcePropertiesOfferDetailArgs
- 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
OrganizationResourcePropertiesResponseOfferDetail, OrganizationResourcePropertiesResponseOfferDetailArgs
OrganizationResourcePropertiesResponseUserDetail, OrganizationResourcePropertiesResponseUserDetailArgs
- 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
OrganizationResourcePropertiesUserDetail, OrganizationResourcePropertiesUserDetailArgs
- 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/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