1. Packages
  2. Azure Native
  3. API Docs
  4. aad
  5. getOuContainer
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.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.aad.getOuContainer

Explore with Pulumi AI

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.0.1 published on Monday, Apr 7, 2025 by Pulumi

Get OuContainer in DomainService instance.

Uses Azure REST API version 2022-12-01.

Using getOuContainer

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getOuContainer(args: GetOuContainerArgs, opts?: InvokeOptions): Promise<GetOuContainerResult>
function getOuContainerOutput(args: GetOuContainerOutputArgs, opts?: InvokeOptions): Output<GetOuContainerResult>
Copy
def get_ou_container(domain_service_name: Optional[str] = None,
                     ou_container_name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetOuContainerResult
def get_ou_container_output(domain_service_name: Optional[pulumi.Input[str]] = None,
                     ou_container_name: Optional[pulumi.Input[str]] = None,
                     resource_group_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetOuContainerResult]
Copy
func LookupOuContainer(ctx *Context, args *LookupOuContainerArgs, opts ...InvokeOption) (*LookupOuContainerResult, error)
func LookupOuContainerOutput(ctx *Context, args *LookupOuContainerOutputArgs, opts ...InvokeOption) LookupOuContainerResultOutput
Copy

> Note: This function is named LookupOuContainer in the Go SDK.

public static class GetOuContainer 
{
    public static Task<GetOuContainerResult> InvokeAsync(GetOuContainerArgs args, InvokeOptions? opts = null)
    public static Output<GetOuContainerResult> Invoke(GetOuContainerInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOuContainerResult> getOuContainer(GetOuContainerArgs args, InvokeOptions options)
public static Output<GetOuContainerResult> getOuContainer(GetOuContainerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:aad:getOuContainer
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DomainServiceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the domain service.
OuContainerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the OuContainer.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
DomainServiceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the domain service.
OuContainerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the OuContainer.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
domainServiceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the domain service.
ouContainerName
This property is required.
Changes to this property will trigger replacement.
String
The name of the OuContainer.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.
domainServiceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the domain service.
ouContainerName
This property is required.
Changes to this property will trigger replacement.
string
The name of the OuContainer.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the user's subscription. The name is case insensitive.
domain_service_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the domain service.
ou_container_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the OuContainer.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the user's subscription. The name is case insensitive.
domainServiceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the domain service.
ouContainerName
This property is required.
Changes to this property will trigger replacement.
String
The name of the OuContainer.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the user's subscription. The name is case insensitive.

getOuContainer Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
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
Resource Id
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
AzureApiVersion string
The Azure API version of the resource.
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
Resource Id
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
azureApiVersion String
The Azure API version of the resource.
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
Resource Id
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
azureApiVersion string
The Azure API version of the resource.
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
Resource Id
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
azure_api_version str
The Azure API version of the resource.
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
Resource Id
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
azureApiVersion String
The Azure API version of the resource.
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
Resource Id
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

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

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.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
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.0.1 published on Monday, Apr 7, 2025 by Pulumi