azure-native.aad.OuContainer
Explore with Pulumi AI
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 (
aad "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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OuContainer(name: string, args: OuContainerArgs, opts?: CustomResourceOptions);
@overload
def OuContainer(resource_name: str,
args: OuContainerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OuContainer(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_service_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
account_name: Optional[str] = None,
ou_container_name: Optional[str] = None,
password: Optional[str] = None,
spn: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var ouContainerResource = new AzureNative.Aad.OuContainer("ouContainerResource", new()
{
DomainServiceName = "string",
ResourceGroupName = "string",
AccountName = "string",
OuContainerName = "string",
Password = "string",
Spn = "string",
});
example, err := aad.NewOuContainer(ctx, "ouContainerResource", &aad.OuContainerArgs{
DomainServiceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
AccountName: pulumi.String("string"),
OuContainerName: pulumi.String("string"),
Password: pulumi.String("string"),
Spn: pulumi.String("string"),
})
var ouContainerResource = new OuContainer("ouContainerResource", OuContainerArgs.builder()
.domainServiceName("string")
.resourceGroupName("string")
.accountName("string")
.ouContainerName("string")
.password("string")
.spn("string")
.build());
ou_container_resource = azure_native.aad.OuContainer("ouContainerResource",
domain_service_name="string",
resource_group_name="string",
account_name="string",
ou_container_name="string",
password="string",
spn="string")
const ouContainerResource = new azure_native.aad.OuContainer("ouContainerResource", {
domainServiceName: "string",
resourceGroupName: "string",
accountName: "string",
ouContainerName: "string",
password: "string",
spn: "string",
});
type: azure-native:aad:OuContainer
properties:
accountName: string
domainServiceName: string
ouContainerName: string
password: string
resourceGroupName: string
spn: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OuContainer resource accepts the following input properties:
- Domain
Service stringName - The name of the domain service.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Account
Name string - The account name
- Ou
Container stringName - The name of the OuContainer.
- Password string
- The account password
- Spn string
- The account spn
- Domain
Service stringName - The name of the domain service.
- Resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- Account
Name string - The account name
- Ou
Container stringName - The name of the OuContainer.
- Password string
- The account password
- Spn string
- The account spn
- domain
Service StringName - The name of the domain service.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name String - The account name
- ou
Container StringName - The name of the OuContainer.
- password String
- The account password
- spn String
- The account spn
- domain
Service stringName - The name of the domain service.
- resource
Group stringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name string - The account name
- ou
Container stringName - The name of the OuContainer.
- password string
- The account password
- spn string
- The account spn
- domain_
service_ strname - The name of the domain service.
- resource_
group_ strname - The name of the resource group within the user's subscription. The name is case insensitive.
- account_
name str - The account name
- ou_
container_ strname - The name of the OuContainer.
- password str
- The account password
- spn str
- The account spn
- domain
Service StringName - The name of the domain service.
- resource
Group StringName - The name of the resource group within the user's subscription. The name is case insensitive.
- account
Name String - The account name
- ou
Container StringName - 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:
- Container
Id string - The OuContainer name
- Deployment
Id string - The Deployment id
- Distinguished
Name string - Distinguished Name of OuContainer instance
- Domain
Name string - The domain name of Domain Services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Provisioning
State string - The current deployment or provisioning state, which only appears in the response.
- Service
Status string - Status of OuContainer instance
- System
Data Pulumi.Azure Native. Aad. Outputs. System Data Response - The system meta data relating to this resource.
- Tenant
Id string - Azure Active Directory tenant id
- Type string
- Resource type
- Accounts
List<Pulumi.
Azure Native. Aad. Outputs. Container Account Response> - The list of container accounts
- Etag string
- Resource etag
- Location string
- Resource location
- Dictionary<string, string>
- Resource tags
- Container
Id string - The OuContainer name
- Deployment
Id string - The Deployment id
- Distinguished
Name string - Distinguished Name of OuContainer instance
- Domain
Name string - The domain name of Domain Services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- Provisioning
State string - The current deployment or provisioning state, which only appears in the response.
- Service
Status string - Status of OuContainer instance
- System
Data SystemData Response - The system meta data relating to this resource.
- Tenant
Id string - Azure Active Directory tenant id
- Type string
- Resource type
- Accounts
[]Container
Account Response - The list of container accounts
- Etag string
- Resource etag
- Location string
- Resource location
- map[string]string
- Resource tags
- container
Id String - The OuContainer name
- deployment
Id String - The Deployment id
- distinguished
Name String - Distinguished Name of OuContainer instance
- domain
Name String - The domain name of Domain Services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- provisioning
State String - The current deployment or provisioning state, which only appears in the response.
- service
Status String - Status of OuContainer instance
- system
Data SystemData Response - The system meta data relating to this resource.
- tenant
Id String - Azure Active Directory tenant id
- type String
- Resource type
- accounts
List<Container
Account Response> - The list of container accounts
- etag String
- Resource etag
- location String
- Resource location
- Map<String,String>
- Resource tags
- container
Id string - The OuContainer name
- deployment
Id string - The Deployment id
- distinguished
Name string - Distinguished Name of OuContainer instance
- domain
Name string - The domain name of Domain Services.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- provisioning
State string - The current deployment or provisioning state, which only appears in the response.
- service
Status string - Status of OuContainer instance
- system
Data SystemData Response - The system meta data relating to this resource.
- tenant
Id string - Azure Active Directory tenant id
- type string
- Resource type
- accounts
Container
Account Response[] - The list of container accounts
- etag string
- Resource etag
- location string
- Resource location
- {[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 SystemData Response - The system meta data relating to this resource.
- tenant_
id str - Azure Active Directory tenant id
- type str
- Resource type
- accounts
Sequence[Container
Account Response] - The list of container accounts
- etag str
- Resource etag
- location str
- Resource location
- Mapping[str, str]
- Resource tags
- container
Id String - The OuContainer name
- deployment
Id String - The Deployment id
- distinguished
Name String - Distinguished Name of OuContainer instance
- domain
Name String - The domain name of Domain Services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- provisioning
State String - The current deployment or provisioning state, which only appears in the response.
- service
Status String - Status of OuContainer instance
- system
Data Property Map - The system meta data relating to this resource.
- tenant
Id 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
- Map<String>
- Resource tags
Supporting Types
ContainerAccountResponse, ContainerAccountResponseArgs
- Account
Name string - The account name
- Password string
- The account password
- Spn string
- The account spn
- Account
Name string - The account name
- Password string
- The account password
- Spn string
- The account spn
- account
Name String - The account name
- password String
- The account password
- spn String
- The account spn
- account
Name 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
- account
Name String - The account name
- password String
- The account password
- spn String
- The account spn
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:aad:OuContainer OuContainer.com/OuContainer1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Aad/domainServices/{domainServiceName}/ouContainer/{ouContainerName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0