azure-native.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,
        },
    });
});
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
	})
}
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,
                                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 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",
    Id = "string",
    Kind = "string",
    Metadata = new AzureNative.Confluent.Inputs.SCMetadataEntityArgs
    {
        CreatedTimestamp = "string",
        DeletedTimestamp = "string",
        ResourceName = "string",
        Self = "string",
        UpdatedTimestamp = "string",
    },
    Name = "string",
    StreamGovernanceConfig = new AzureNative.Confluent.Inputs.StreamGovernanceConfigArgs
    {
        Package = "string",
    },
    Type = "string",
});
example, err := confluent.NewOrganizationEnvironmentById(ctx, "organizationEnvironmentByIdResource", &confluent.OrganizationEnvironmentByIdArgs{
	OrganizationName:  pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	EnvironmentId:     pulumi.String("string"),
	Id:                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"),
	},
	Name: pulumi.String("string"),
	StreamGovernanceConfig: &confluent.StreamGovernanceConfigArgs{
		Package: pulumi.String("string"),
	},
	Type: pulumi.String("string"),
})
var organizationEnvironmentByIdResource = new OrganizationEnvironmentById("organizationEnvironmentByIdResource", OrganizationEnvironmentByIdArgs.builder()
    .organizationName("string")
    .resourceGroupName("string")
    .environmentId("string")
    .id("string")
    .kind("string")
    .metadata(SCMetadataEntityArgs.builder()
        .createdTimestamp("string")
        .deletedTimestamp("string")
        .resourceName("string")
        .self("string")
        .updatedTimestamp("string")
        .build())
    .name("string")
    .streamGovernanceConfig(StreamGovernanceConfigArgs.builder()
        .package_("string")
        .build())
    .type("string")
    .build());
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={
        "created_timestamp": "string",
        "deleted_timestamp": "string",
        "resource_name": "string",
        "self": "string",
        "updated_timestamp": "string",
    },
    name="string",
    stream_governance_config={
        "package": "string",
    },
    type="string")
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",
});
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
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
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- EnvironmentId string
- Confluent environment id
- Id string
- Id of the environment
- Kind string
- Type of environment
- Metadata
Pulumi.Azure Native. Confluent. Inputs. SCMetadata Entity 
- Metadata of the record
- Name string
- Display name of the environment
- StreamGovernance Pulumi.Config Azure Native. Confluent. Inputs. Stream Governance Config 
- Stream governance configuration
- Type string
- Type of the resource
- OrganizationName string
- Organization resource name
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- EnvironmentId string
- Confluent environment id
- Id string
- Id of the environment
- Kind string
- Type of environment
- Metadata
SCMetadataEntity Args 
- Metadata of the record
- Name string
- Display name of the environment
- StreamGovernance StreamConfig Governance Config Args 
- Stream governance configuration
- Type string
- Type of the resource
- organizationName String
- Organization resource name
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- environmentId 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
- streamGovernance StreamConfig Governance Config 
- Stream governance configuration
- type String
- Type of the resource
- organizationName string
- Organization resource name
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- environmentId 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
- streamGovernance StreamConfig Governance Config 
- Stream governance configuration
- type string
- Type of the resource
- organization_name str
- Organization resource name
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- environment_id str
- Confluent environment id
- id str
- Id of the environment
- kind str
- Type of environment
- metadata
SCMetadataEntity Args 
- Metadata of the record
- name str
- Display name of the environment
- stream_governance_ Streamconfig Governance Config Args 
- Stream governance configuration
- type str
- Type of the resource
- organizationName String
- Organization resource name
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- environmentId 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
- streamGovernance Property MapConfig 
- 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.Azure Native. Confluent. 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0