1. Packages
  2. Azure Native
  3. API Docs
  4. aad
  5. OuContainer
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.aad.OuContainer

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Resource for OuContainer. Azure REST API version: 2022-12-01. Prior API version in Azure Native 1.x: 2021-03-01.

    Example Usage

    Create Domain Service

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var ouContainer = new AzureNative.Aad.OuContainer("ouContainer", new()
        {
            AccountName = "AccountName1",
            DomainServiceName = "OuContainer.com",
            OuContainerName = "OuContainer1",
            Password = "<password>",
            ResourceGroupName = "OuContainerResourceGroup",
            Spn = "Spn1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/aad/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aad.NewOuContainer(ctx, "ouContainer", &aad.OuContainerArgs{
    			AccountName:       pulumi.String("AccountName1"),
    			DomainServiceName: pulumi.String("OuContainer.com"),
    			OuContainerName:   pulumi.String("OuContainer1"),
    			Password:          pulumi.String("<password>"),
    			ResourceGroupName: pulumi.String("OuContainerResourceGroup"),
    			Spn:               pulumi.String("Spn1"),
    		})
    		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.aad.OuContainer;
    import com.pulumi.azurenative.aad.OuContainerArgs;
    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 ouContainer = new OuContainer("ouContainer", OuContainerArgs.builder()        
                .accountName("AccountName1")
                .domainServiceName("OuContainer.com")
                .ouContainerName("OuContainer1")
                .password("<password>")
                .resourceGroupName("OuContainerResourceGroup")
                .spn("Spn1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    ou_container = azure_native.aad.OuContainer("ouContainer",
        account_name="AccountName1",
        domain_service_name="OuContainer.com",
        ou_container_name="OuContainer1",
        password="<password>",
        resource_group_name="OuContainerResourceGroup",
        spn="Spn1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const ouContainer = new azure_native.aad.OuContainer("ouContainer", {
        accountName: "AccountName1",
        domainServiceName: "OuContainer.com",
        ouContainerName: "OuContainer1",
        password: "<password>",
        resourceGroupName: "OuContainerResourceGroup",
        spn: "Spn1",
    });
    
    resources:
      ouContainer:
        type: azure-native:aad:OuContainer
        properties:
          accountName: AccountName1
          domainServiceName: OuContainer.com
          ouContainerName: OuContainer1
          password: <password>
          resourceGroupName: OuContainerResourceGroup
          spn: Spn1
    

    Create OuContainer Resource

    new OuContainer(name: string, args: OuContainerArgs, opts?: CustomResourceOptions);
    @overload
    def OuContainer(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    account_name: Optional[str] = None,
                    domain_service_name: Optional[str] = None,
                    ou_container_name: Optional[str] = None,
                    password: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    spn: Optional[str] = None)
    @overload
    def OuContainer(resource_name: str,
                    args: OuContainerArgs,
                    opts: Optional[ResourceOptions] = None)
    func NewOuContainer(ctx *Context, name string, args OuContainerArgs, opts ...ResourceOption) (*OuContainer, error)
    public OuContainer(string name, OuContainerArgs args, CustomResourceOptions? opts = null)
    public OuContainer(String name, OuContainerArgs args)
    public OuContainer(String name, OuContainerArgs args, CustomResourceOptions options)
    
    type: azure-native:aad:OuContainer
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args OuContainerArgs
    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 OuContainerArgs
    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 OuContainerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OuContainerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OuContainerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OuContainer 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 OuContainer resource accepts the following input properties:

    DomainServiceName string
    The name of the domain service.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    AccountName string
    The account name
    OuContainerName string
    The name of the OuContainer.
    Password string
    The account password
    Spn string
    The account spn
    DomainServiceName string
    The name of the domain service.
    ResourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    AccountName string
    The account name
    OuContainerName string
    The name of the OuContainer.
    Password string
    The account password
    Spn string
    The account spn
    domainServiceName String
    The name of the domain service.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    accountName String
    The account name
    ouContainerName String
    The name of the OuContainer.
    password String
    The account password
    spn String
    The account spn
    domainServiceName string
    The name of the domain service.
    resourceGroupName string
    The name of the resource group within the user's subscription. The name is case insensitive.
    accountName string
    The account name
    ouContainerName string
    The name of the OuContainer.
    password string
    The account password
    spn string
    The account spn
    domain_service_name str
    The name of the domain service.
    resource_group_name str
    The name of the resource group within the user's subscription. The name is case insensitive.
    account_name str
    The account name
    ou_container_name str
    The name of the OuContainer.
    password str
    The account password
    spn str
    The account spn
    domainServiceName String
    The name of the domain service.
    resourceGroupName String
    The name of the resource group within the user's subscription. The name is case insensitive.
    accountName String
    The account name
    ouContainerName String
    The name of the OuContainer.
    password String
    The account password
    spn String
    The account spn

    Outputs

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

    ContainerId string
    The OuContainer name
    DeploymentId string
    The Deployment id
    DistinguishedName string
    Distinguished Name of OuContainer instance
    DomainName string
    The domain name of Domain Services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name
    ProvisioningState string
    The current deployment or provisioning state, which only appears in the response.
    ServiceStatus string
    Status of OuContainer instance
    SystemData Pulumi.AzureNative.Aad.Outputs.SystemDataResponse
    The system meta data relating to this resource.
    TenantId string
    Azure Active Directory tenant id
    Type string
    Resource type
    Accounts List<Pulumi.AzureNative.Aad.Outputs.ContainerAccountResponse>
    The list of container accounts
    Etag string
    Resource etag
    Location string
    Resource location
    Tags Dictionary<string, string>
    Resource tags
    ContainerId string
    The OuContainer name
    DeploymentId string
    The Deployment id
    DistinguishedName string
    Distinguished Name of OuContainer instance
    DomainName string
    The domain name of Domain Services.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name
    ProvisioningState string
    The current deployment or provisioning state, which only appears in the response.
    ServiceStatus string
    Status of OuContainer instance
    SystemData SystemDataResponse
    The system meta data relating to this resource.
    TenantId string
    Azure Active Directory tenant id
    Type string
    Resource type
    Accounts []ContainerAccountResponse
    The list of container accounts
    Etag string
    Resource etag
    Location string
    Resource location
    Tags map[string]string
    Resource tags
    containerId String
    The OuContainer name
    deploymentId String
    The Deployment id
    distinguishedName String
    Distinguished Name of OuContainer instance
    domainName String
    The domain name of Domain Services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name
    provisioningState String
    The current deployment or provisioning state, which only appears in the response.
    serviceStatus String
    Status of OuContainer instance
    systemData SystemDataResponse
    The system meta data relating to this resource.
    tenantId String
    Azure Active Directory tenant id
    type String
    Resource type
    accounts List<ContainerAccountResponse>
    The list of container accounts
    etag String
    Resource etag
    location String
    Resource location
    tags Map<String,String>
    Resource tags
    containerId string
    The OuContainer name
    deploymentId string
    The Deployment id
    distinguishedName string
    Distinguished Name of OuContainer instance
    domainName string
    The domain name of Domain Services.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name
    provisioningState string
    The current deployment or provisioning state, which only appears in the response.
    serviceStatus string
    Status of OuContainer instance
    systemData SystemDataResponse
    The system meta data relating to this resource.
    tenantId string
    Azure Active Directory tenant id
    type string
    Resource type
    accounts ContainerAccountResponse[]
    The list of container accounts
    etag string
    Resource etag
    location string
    Resource location
    tags {[key: string]: string}
    Resource tags
    container_id str
    The OuContainer name
    deployment_id str
    The Deployment id
    distinguished_name str
    Distinguished Name of OuContainer instance
    domain_name str
    The domain name of Domain Services.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name
    provisioning_state str
    The current deployment or provisioning state, which only appears in the response.
    service_status str
    Status of OuContainer instance
    system_data SystemDataResponse
    The system meta data relating to this resource.
    tenant_id str
    Azure Active Directory tenant id
    type str
    Resource type
    accounts Sequence[ContainerAccountResponse]
    The list of container accounts
    etag str
    Resource etag
    location str
    Resource location
    tags Mapping[str, str]
    Resource tags
    containerId String
    The OuContainer name
    deploymentId String
    The Deployment id
    distinguishedName String
    Distinguished Name of OuContainer instance
    domainName String
    The domain name of Domain Services.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name
    provisioningState String
    The current deployment or provisioning state, which only appears in the response.
    serviceStatus String
    Status of OuContainer instance
    systemData Property Map
    The system meta data relating to this resource.
    tenantId String
    Azure Active Directory tenant id
    type String
    Resource type
    accounts List<Property Map>
    The list of container accounts
    etag String
    Resource etag
    location String
    Resource location
    tags Map<String>
    Resource tags

    Supporting Types

    ContainerAccountResponse, ContainerAccountResponseArgs

    AccountName string
    The account name
    Password string
    The account password
    Spn string
    The account spn
    AccountName string
    The account name
    Password string
    The account password
    Spn string
    The account spn
    accountName String
    The account name
    password String
    The account password
    spn String
    The account spn
    accountName string
    The account name
    password string
    The account password
    spn string
    The account spn
    account_name str
    The account name
    password str
    The account password
    spn str
    The account spn
    accountName String
    The account name
    password String
    The account password
    spn String
    The account spn

    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:aad:OuContainer OuContainer.com/OuContainer1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName} 
    

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi