1. Packages
  2. Azure Native
  3. API Docs
  4. confluent
  5. OrganizationEnvironmentById
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

azure-native.confluent.OrganizationEnvironmentById

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi

    Details about environment name, metadata and environment id of an environment

    Uses Azure REST API version 2024-07-01. In version 2.x of the Azure Native provider, it used API version 2024-07-01.

    Other available API versions: 2025-07-17-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native confluent [ApiVersion]. See the version guide for details.

    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,
            },
        });
    
    });
    
    package main
    
    import (
    	confluent "github.com/pulumi/pulumi-azure-native-sdk/confluent/v3"
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    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,
        },
    });
    
    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,
        })
    
    resources:
      organizationEnvironmentById:
        type: azure-native:confluent:OrganizationEnvironmentById
        properties:
          environmentId: env-1
          organizationName: myOrganization
          resourceGroupName: myResourceGroup
          streamGovernanceConfig:
            package: ESSENTIALS
    

    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,
                                    kind: Optional[str] = None,
                                    metadata: Optional[SCMetadataEntityArgs] = None,
                                    stream_governance_config: Optional[StreamGovernanceConfigArgs] = 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 string
    The unique name of the resource.
    args OrganizationEnvironmentByIdArgs
    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 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 string
    The unique name of the resource.
    args OrganizationEnvironmentByIdArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationEnvironmentByIdArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
        Kind = "string",
        Metadata = new AzureNative.Confluent.Inputs.SCMetadataEntityArgs
        {
            CreatedTimestamp = "string",
            DeletedTimestamp = "string",
            ResourceName = "string",
            Self = "string",
            UpdatedTimestamp = "string",
        },
        StreamGovernanceConfig = new AzureNative.Confluent.Inputs.StreamGovernanceConfigArgs
        {
            Package = "string",
        },
    });
    
    example, err := confluent.NewOrganizationEnvironmentById(ctx, "organizationEnvironmentByIdResource", &confluent.OrganizationEnvironmentByIdArgs{
    	OrganizationName:  pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	EnvironmentId:     pulumi.String("string"),
    	Kind:              pulumi.String("string"),
    	Metadata: &confluent.SCMetadataEntityArgs{
    		CreatedTimestamp: pulumi.String("string"),
    		DeletedTimestamp: pulumi.String("string"),
    		ResourceName:     pulumi.String("string"),
    		Self:             pulumi.String("string"),
    		UpdatedTimestamp: pulumi.String("string"),
    	},
    	StreamGovernanceConfig: &confluent.StreamGovernanceConfigArgs{
    		Package: pulumi.String("string"),
    	},
    })
    
    var organizationEnvironmentByIdResource = new OrganizationEnvironmentById("organizationEnvironmentByIdResource", OrganizationEnvironmentByIdArgs.builder()
        .organizationName("string")
        .resourceGroupName("string")
        .environmentId("string")
        .kind("string")
        .metadata(SCMetadataEntityArgs.builder()
            .createdTimestamp("string")
            .deletedTimestamp("string")
            .resourceName("string")
            .self("string")
            .updatedTimestamp("string")
            .build())
        .streamGovernanceConfig(StreamGovernanceConfigArgs.builder()
            .package_("string")
            .build())
        .build());
    
    organization_environment_by_id_resource = azure_native.confluent.OrganizationEnvironmentById("organizationEnvironmentByIdResource",
        organization_name="string",
        resource_group_name="string",
        environment_id="string",
        kind="string",
        metadata={
            "created_timestamp": "string",
            "deleted_timestamp": "string",
            "resource_name": "string",
            "self": "string",
            "updated_timestamp": "string",
        },
        stream_governance_config={
            "package": "string",
        })
    
    const organizationEnvironmentByIdResource = new azure_native.confluent.OrganizationEnvironmentById("organizationEnvironmentByIdResource", {
        organizationName: "string",
        resourceGroupName: "string",
        environmentId: "string",
        kind: "string",
        metadata: {
            createdTimestamp: "string",
            deletedTimestamp: "string",
            resourceName: "string",
            self: "string",
            updatedTimestamp: "string",
        },
        streamGovernanceConfig: {
            "package": "string",
        },
    });
    
    type: azure-native:confluent:OrganizationEnvironmentById
    properties:
        environmentId: string
        kind: string
        metadata:
            createdTimestamp: string
            deletedTimestamp: string
            resourceName: string
            self: string
            updatedTimestamp: string
        organizationName: string
        resourceGroupName: string
        streamGovernanceConfig:
            package: string
    

    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 string
    Organization resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    EnvironmentId string
    Confluent environment id
    Kind string
    Type of environment
    Metadata Pulumi.AzureNative.Confluent.Inputs.SCMetadataEntity
    Metadata of the record
    StreamGovernanceConfig Pulumi.AzureNative.Confluent.Inputs.StreamGovernanceConfig
    Stream governance configuration
    OrganizationName string
    Organization resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    EnvironmentId string
    Confluent environment id
    Kind string
    Type of environment
    Metadata SCMetadataEntityArgs
    Metadata of the record
    StreamGovernanceConfig StreamGovernanceConfigArgs
    Stream governance configuration
    organizationName String
    Organization resource name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    environmentId String
    Confluent environment id
    kind String
    Type of environment
    metadata SCMetadataEntity
    Metadata of the record
    streamGovernanceConfig StreamGovernanceConfig
    Stream governance configuration
    organizationName string
    Organization resource name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    environmentId string
    Confluent environment id
    kind string
    Type of environment
    metadata SCMetadataEntity
    Metadata of the record
    streamGovernanceConfig StreamGovernanceConfig
    Stream governance configuration
    organization_name str
    Organization resource name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    environment_id str
    Confluent environment id
    kind str
    Type of environment
    metadata SCMetadataEntityArgs
    Metadata of the record
    stream_governance_config StreamGovernanceConfigArgs
    Stream governance configuration
    organizationName String
    Organization resource name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    environmentId String
    Confluent environment id
    kind String
    Type of environment
    metadata Property Map
    Metadata of the record
    streamGovernanceConfig Property Map
    Stream governance configuration

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Confluent.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    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

    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.

    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} 
    

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi