1. Packages
  2. Azure Native v2
  3. API Docs
  4. confluent
  5. OrganizationEnvironmentById
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.confluent.OrganizationEnvironmentById

Explore with Pulumi AI

Details about environment name, metadata and environment id of an environment Azure REST API version: 2024-07-01.

Example Usage

Environment_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var organizationEnvironmentById = new AzureNative.Confluent.OrganizationEnvironmentById("organizationEnvironmentById", new()
    {
        EnvironmentId = "env-1",
        OrganizationName = "myOrganization",
        ResourceGroupName = "myResourceGroup",
        StreamGovernanceConfig = new AzureNative.Confluent.Inputs.StreamGovernanceConfigArgs
        {
            Package = AzureNative.Confluent.Package.ESSENTIALS,
        },
    });

});
Copy
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.NewOrganizationEnvironmentById(ctx, "organizationEnvironmentById", &confluent.OrganizationEnvironmentByIdArgs{
			EnvironmentId:     pulumi.String("env-1"),
			OrganizationName:  pulumi.String("myOrganization"),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			StreamGovernanceConfig: &confluent.StreamGovernanceConfigArgs{
				Package: pulumi.String(confluent.PackageESSENTIALS),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.confluent.OrganizationEnvironmentById;
import com.pulumi.azurenative.confluent.OrganizationEnvironmentByIdArgs;
import com.pulumi.azurenative.confluent.inputs.StreamGovernanceConfigArgs;
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 organizationEnvironmentById = new OrganizationEnvironmentById("organizationEnvironmentById", OrganizationEnvironmentByIdArgs.builder()
            .environmentId("env-1")
            .organizationName("myOrganization")
            .resourceGroupName("myResourceGroup")
            .streamGovernanceConfig(StreamGovernanceConfigArgs.builder()
                .package_("ESSENTIALS")
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const organizationEnvironmentById = new azure_native.confluent.OrganizationEnvironmentById("organizationEnvironmentById", {
    environmentId: "env-1",
    organizationName: "myOrganization",
    resourceGroupName: "myResourceGroup",
    streamGovernanceConfig: {
        "package": azure_native.confluent.Package.ESSENTIALS,
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

organization_environment_by_id = azure_native.confluent.OrganizationEnvironmentById("organizationEnvironmentById",
    environment_id="env-1",
    organization_name="myOrganization",
    resource_group_name="myResourceGroup",
    stream_governance_config={
        "package": azure_native.confluent.Package.ESSENTIALS,
    })
Copy
resources:
  organizationEnvironmentById:
    type: azure-native:confluent:OrganizationEnvironmentById
    properties:
      environmentId: env-1
      organizationName: myOrganization
      resourceGroupName: myResourceGroup
      streamGovernanceConfig:
        package: ESSENTIALS
Copy

Create OrganizationEnvironmentById Resource

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

Constructor syntax

new OrganizationEnvironmentById(name: string, args: OrganizationEnvironmentByIdArgs, opts?: CustomResourceOptions);
@overload
def OrganizationEnvironmentById(resource_name: str,
                                args: OrganizationEnvironmentByIdArgs,
                                opts: Optional[ResourceOptions] = None)

@overload
def OrganizationEnvironmentById(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                organization_name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                environment_id: Optional[str] = None,
                                id: Optional[str] = None,
                                kind: Optional[str] = None,
                                metadata: Optional[SCMetadataEntityArgs] = None,
                                name: Optional[str] = None,
                                stream_governance_config: Optional[StreamGovernanceConfigArgs] = None,
                                type: Optional[str] = None)
func NewOrganizationEnvironmentById(ctx *Context, name string, args OrganizationEnvironmentByIdArgs, opts ...ResourceOption) (*OrganizationEnvironmentById, error)
public OrganizationEnvironmentById(string name, OrganizationEnvironmentByIdArgs args, CustomResourceOptions? opts = null)
public OrganizationEnvironmentById(String name, OrganizationEnvironmentByIdArgs args)
public OrganizationEnvironmentById(String name, OrganizationEnvironmentByIdArgs args, CustomResourceOptions options)
type: azure-native:confluent:OrganizationEnvironmentById
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OrganizationEnvironmentByIdArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. OrganizationEnvironmentByIdArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. OrganizationEnvironmentByIdArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OrganizationEnvironmentByIdArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. OrganizationEnvironmentByIdArgs
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 organizationEnvironmentByIdResource = new AzureNative.Confluent.OrganizationEnvironmentById("organizationEnvironmentByIdResource", new()
{
    OrganizationName = "string",
    ResourceGroupName = "string",
    EnvironmentId = "string",
    Id = "string",
    Kind = "string",
    Metadata = 
    {
        { "createdTimestamp", "string" },
        { "deletedTimestamp", "string" },
        { "resourceName", "string" },
        { "self", "string" },
        { "updatedTimestamp", "string" },
    },
    Name = "string",
    StreamGovernanceConfig = 
    {
        { "package", "string" },
    },
    Type = "string",
});
Copy
example, err := confluent.NewOrganizationEnvironmentById(ctx, "organizationEnvironmentByIdResource", &confluent.OrganizationEnvironmentByIdArgs{
	OrganizationName:  "string",
	ResourceGroupName: "string",
	EnvironmentId:     "string",
	Id:                "string",
	Kind:              "string",
	Metadata: map[string]interface{}{
		"createdTimestamp": "string",
		"deletedTimestamp": "string",
		"resourceName":     "string",
		"self":             "string",
		"updatedTimestamp": "string",
	},
	Name: "string",
	StreamGovernanceConfig: map[string]interface{}{
		"package": "string",
	},
	Type: "string",
})
Copy
var organizationEnvironmentByIdResource = new OrganizationEnvironmentById("organizationEnvironmentByIdResource", OrganizationEnvironmentByIdArgs.builder()
    .organizationName("string")
    .resourceGroupName("string")
    .environmentId("string")
    .id("string")
    .kind("string")
    .metadata(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .name("string")
    .streamGovernanceConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .type("string")
    .build());
Copy
organization_environment_by_id_resource = azure_native.confluent.OrganizationEnvironmentById("organizationEnvironmentByIdResource",
    organization_name=string,
    resource_group_name=string,
    environment_id=string,
    id=string,
    kind=string,
    metadata={
        createdTimestamp: string,
        deletedTimestamp: string,
        resourceName: string,
        self: string,
        updatedTimestamp: string,
    },
    name=string,
    stream_governance_config={
        package: string,
    },
    type=string)
Copy
const organizationEnvironmentByIdResource = new azure_native.confluent.OrganizationEnvironmentById("organizationEnvironmentByIdResource", {
    organizationName: "string",
    resourceGroupName: "string",
    environmentId: "string",
    id: "string",
    kind: "string",
    metadata: {
        createdTimestamp: "string",
        deletedTimestamp: "string",
        resourceName: "string",
        self: "string",
        updatedTimestamp: "string",
    },
    name: "string",
    streamGovernanceConfig: {
        "package": "string",
    },
    type: "string",
});
Copy
type: azure-native:confluent:OrganizationEnvironmentById
properties:
    environmentId: string
    id: string
    kind: string
    metadata:
        createdTimestamp: string
        deletedTimestamp: string
        resourceName: string
        self: string
        updatedTimestamp: string
    name: string
    organizationName: string
    resourceGroupName: string
    streamGovernanceConfig:
        package: string
    type: string
Copy

OrganizationEnvironmentById Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The OrganizationEnvironmentById resource accepts the following input properties:

OrganizationName
This property is required.
Changes to this property will trigger replacement.
string
Organization resource name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
EnvironmentId Changes to this property will trigger replacement. string
Confluent environment id
Id string
Id of the environment
Kind string
Type of environment
Metadata Pulumi.AzureNative.Confluent.Inputs.SCMetadataEntity
Metadata of the record
Name string
Display name of the environment
StreamGovernanceConfig Pulumi.AzureNative.Confluent.Inputs.StreamGovernanceConfig
Stream governance configuration
Type string
Type of the resource
OrganizationName
This property is required.
Changes to this property will trigger replacement.
string
Organization resource name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
EnvironmentId Changes to this property will trigger replacement. string
Confluent environment id
Id string
Id of the environment
Kind string
Type of environment
Metadata SCMetadataEntityArgs
Metadata of the record
Name string
Display name of the environment
StreamGovernanceConfig StreamGovernanceConfigArgs
Stream governance configuration
Type string
Type of the resource
organizationName
This property is required.
Changes to this property will trigger replacement.
String
Organization resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
environmentId Changes to this property will trigger replacement. String
Confluent environment id
id String
Id of the environment
kind String
Type of environment
metadata SCMetadataEntity
Metadata of the record
name String
Display name of the environment
streamGovernanceConfig StreamGovernanceConfig
Stream governance configuration
type String
Type of the resource
organizationName
This property is required.
Changes to this property will trigger replacement.
string
Organization resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
environmentId Changes to this property will trigger replacement. string
Confluent environment id
id string
Id of the environment
kind string
Type of environment
metadata SCMetadataEntity
Metadata of the record
name string
Display name of the environment
streamGovernanceConfig StreamGovernanceConfig
Stream governance configuration
type string
Type of the resource
organization_name
This property is required.
Changes to this property will trigger replacement.
str
Organization resource name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
environment_id Changes to this property will trigger replacement. str
Confluent environment id
id str
Id of the environment
kind str
Type of environment
metadata SCMetadataEntityArgs
Metadata of the record
name str
Display name of the environment
stream_governance_config StreamGovernanceConfigArgs
Stream governance configuration
type str
Type of the resource
organizationName
This property is required.
Changes to this property will trigger replacement.
String
Organization resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
environmentId Changes to this property will trigger replacement. String
Confluent environment id
id String
Id of the environment
kind String
Type of environment
metadata Property Map
Metadata of the record
name String
Display name of the environment
streamGovernanceConfig Property Map
Stream governance configuration
type String
Type of the resource

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

Package
, PackageArgs

ESSENTIALS
ESSENTIALS
ADVANCED
ADVANCED
PackageESSENTIALS
ESSENTIALS
PackageADVANCED
ADVANCED
ESSENTIALS
ESSENTIALS
ADVANCED
ADVANCED
ESSENTIALS
ESSENTIALS
ADVANCED
ADVANCED
ESSENTIALS
ESSENTIALS
ADVANCED
ADVANCED
"ESSENTIALS"
ESSENTIALS
"ADVANCED"
ADVANCED

SCMetadataEntity
, SCMetadataEntityArgs

CreatedTimestamp string
Created Date Time
DeletedTimestamp string
Deleted Date time
ResourceName string
Resource name of the record
Self string
Self lookup url
UpdatedTimestamp string
Updated Date time
CreatedTimestamp string
Created Date Time
DeletedTimestamp string
Deleted Date time
ResourceName string
Resource name of the record
Self string
Self lookup url
UpdatedTimestamp string
Updated Date time
createdTimestamp String
Created Date Time
deletedTimestamp String
Deleted Date time
resourceName String
Resource name of the record
self String
Self lookup url
updatedTimestamp String
Updated Date time
createdTimestamp string
Created Date Time
deletedTimestamp string
Deleted Date time
resourceName string
Resource name of the record
self string
Self lookup url
updatedTimestamp string
Updated Date time
created_timestamp str
Created Date Time
deleted_timestamp str
Deleted Date time
resource_name str
Resource name of the record
self str
Self lookup url
updated_timestamp str
Updated Date time
createdTimestamp String
Created Date Time
deletedTimestamp String
Deleted Date time
resourceName String
Resource name of the record
self String
Self lookup url
updatedTimestamp String
Updated Date time

SCMetadataEntityResponse
, SCMetadataEntityResponseArgs

CreatedTimestamp string
Created Date Time
DeletedTimestamp string
Deleted Date time
ResourceName string
Resource name of the record
Self string
Self lookup url
UpdatedTimestamp string
Updated Date time
CreatedTimestamp string
Created Date Time
DeletedTimestamp string
Deleted Date time
ResourceName string
Resource name of the record
Self string
Self lookup url
UpdatedTimestamp string
Updated Date time
createdTimestamp String
Created Date Time
deletedTimestamp String
Deleted Date time
resourceName String
Resource name of the record
self String
Self lookup url
updatedTimestamp String
Updated Date time
createdTimestamp string
Created Date Time
deletedTimestamp string
Deleted Date time
resourceName string
Resource name of the record
self string
Self lookup url
updatedTimestamp string
Updated Date time
created_timestamp str
Created Date Time
deleted_timestamp str
Deleted Date time
resource_name str
Resource name of the record
self str
Self lookup url
updated_timestamp str
Updated Date time
createdTimestamp String
Created Date Time
deletedTimestamp String
Deleted Date time
resourceName String
Resource name of the record
self String
Self lookup url
updatedTimestamp String
Updated Date time

StreamGovernanceConfig
, StreamGovernanceConfigArgs

Package string | Pulumi.AzureNative.Confluent.Package
Stream governance configuration
Package string | Package
Stream governance configuration
package_ String | Package
Stream governance configuration
package string | Package
Stream governance configuration
package str | Package
Stream governance configuration
package String | "ESSENTIALS" | "ADVANCED"
Stream governance configuration

StreamGovernanceConfigResponse
, StreamGovernanceConfigResponseArgs

Package string
Stream governance configuration
Package string
Stream governance configuration
package_ String
Stream governance configuration
package string
Stream governance configuration
package str
Stream governance configuration
package String
Stream governance configuration

Import

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

$ pulumi import azure-native:confluent:OrganizationEnvironmentById env-1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Confluent/organizations/{organizationName}/environments/{environmentId} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0