azure-native.confluent.OrganizationEnvironmentById
Explore with Pulumi AI
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:
- Organization
Name string - Organization resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Environment
Id string - Confluent environment id
- Kind string
- Type of environment
- Metadata
Pulumi.
Azure Native. Confluent. Inputs. SCMetadata Entity - Metadata of the record
- Stream
Governance Pulumi.Config Azure Native. Confluent. Inputs. Stream Governance Config - Stream governance configuration
- Organization
Name string - Organization resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Environment
Id string - Confluent environment id
- Kind string
- Type of environment
- Metadata
SCMetadata
Entity Args - Metadata of the record
- Stream
Governance StreamConfig Governance Config Args - Stream governance configuration
- organization
Name String - Organization resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- environment
Id String - Confluent environment id
- kind String
- Type of environment
- metadata
SCMetadata
Entity - Metadata of the record
- stream
Governance StreamConfig Governance Config - Stream governance configuration
- organization
Name string - Organization resource name
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- environment
Id string - Confluent environment id
- kind string
- Type of environment
- metadata
SCMetadata
Entity - Metadata of the record
- stream
Governance StreamConfig Governance Config - Stream governance configuration
- 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
- kind str
- Type of environment
- metadata
SCMetadata
Entity Args - Metadata of the record
- stream_
governance_ Streamconfig Governance Config Args - Stream governance configuration
- organization
Name String - Organization resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- environment
Id String - Confluent environment id
- kind String
- Type of environment
- metadata Property Map
- Metadata of the record
- stream
Governance Property MapConfig - Stream governance configuration
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationEnvironmentById resource produces the following output properties:
- Azure
Api stringVersion - 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
- System
Data Pulumi.Azure Native. Confluent. Outputs. System Data Response - 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 stringVersion - 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
- System
Data SystemData Response - 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 StringVersion - 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
- system
Data SystemData Response - 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 stringVersion - 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
- system
Data SystemData Response - 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_ strversion - 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 SystemData Response - 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"
- azure
Api StringVersion - 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
- system
Data 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
- Package
ESSENTIALS - ESSENTIALS
- Package
ADVANCED - ADVANCED
- ESSENTIALS
- ESSENTIALS
- ADVANCED
- ADVANCED
- ESSENTIALS
- ESSENTIALS
- ADVANCED
- ADVANCED
- ESSENTIALS
- ESSENTIALS
- ADVANCED
- ADVANCED
- "ESSENTIALS"
- ESSENTIALS
- "ADVANCED"
- ADVANCED
SCMetadataEntity, SCMetadataEntityArgs
- Created
Timestamp string - Created Date Time
- Deleted
Timestamp string - Deleted Date time
- Resource
Name string - Resource name of the record
- Self string
- Self lookup url
- Updated
Timestamp string - Updated Date time
- Created
Timestamp string - Created Date Time
- Deleted
Timestamp string - Deleted Date time
- Resource
Name string - Resource name of the record
- Self string
- Self lookup url
- Updated
Timestamp string - Updated Date time
- created
Timestamp String - Created Date Time
- deleted
Timestamp String - Deleted Date time
- resource
Name String - Resource name of the record
- self String
- Self lookup url
- updated
Timestamp String - Updated Date time
- created
Timestamp string - Created Date Time
- deleted
Timestamp string - Deleted Date time
- resource
Name string - Resource name of the record
- self string
- Self lookup url
- updated
Timestamp 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
- created
Timestamp String - Created Date Time
- deleted
Timestamp String - Deleted Date time
- resource
Name String - Resource name of the record
- self String
- Self lookup url
- updated
Timestamp String - Updated Date time
SCMetadataEntityResponse, SCMetadataEntityResponseArgs
- Created
Timestamp string - Created Date Time
- Deleted
Timestamp string - Deleted Date time
- Resource
Name string - Resource name of the record
- Self string
- Self lookup url
- Updated
Timestamp string - Updated Date time
- Created
Timestamp string - Created Date Time
- Deleted
Timestamp string - Deleted Date time
- Resource
Name string - Resource name of the record
- Self string
- Self lookup url
- Updated
Timestamp string - Updated Date time
- created
Timestamp String - Created Date Time
- deleted
Timestamp String - Deleted Date time
- resource
Name String - Resource name of the record
- self String
- Self lookup url
- updated
Timestamp String - Updated Date time
- created
Timestamp string - Created Date Time
- deleted
Timestamp string - Deleted Date time
- resource
Name string - Resource name of the record
- self string
- Self lookup url
- updated
Timestamp 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
- created
Timestamp String - Created Date Time
- deleted
Timestamp String - Deleted Date time
- resource
Name String - Resource name of the record
- self String
- Self lookup url
- updated
Timestamp 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
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.
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