-
Notifications
You must be signed in to change notification settings - Fork 31
/
getOuContainer.ts
125 lines (118 loc) · 3.2 KB
/
getOuContainer.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
import * as utilities from "../utilities";
/**
* Resource for OuContainer.
* API Version: 2021-03-01.
*/
export function getOuContainer(args: GetOuContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetOuContainerResult> {
if (!opts) {
opts = {}
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("azure-native:aad:getOuContainer", {
"domainServiceName": args.domainServiceName,
"ouContainerName": args.ouContainerName,
"resourceGroupName": args.resourceGroupName,
}, opts);
}
export interface GetOuContainerArgs {
/**
* The name of the domain service.
*/
domainServiceName: string;
/**
* The name of the OuContainer.
*/
ouContainerName: string;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Resource for OuContainer.
*/
export interface GetOuContainerResult {
/**
* The list of container accounts
*/
readonly accounts?: outputs.aad.ContainerAccountResponse[];
/**
* The OuContainer name
*/
readonly containerId: string;
/**
* The Deployment id
*/
readonly deploymentId: string;
/**
* Distinguished Name of OuContainer instance
*/
readonly distinguishedName: string;
/**
* The domain name of Domain Services.
*/
readonly domainName: string;
/**
* Resource etag
*/
readonly etag?: string;
/**
* Resource Id
*/
readonly id: string;
/**
* Resource location
*/
readonly location?: string;
/**
* Resource name
*/
readonly name: string;
/**
* The current deployment or provisioning state, which only appears in the response.
*/
readonly provisioningState: string;
/**
* Status of OuContainer instance
*/
readonly serviceStatus: string;
/**
* The system meta data relating to this resource.
*/
readonly systemData: outputs.aad.SystemDataResponse;
/**
* Resource tags
*/
readonly tags?: {[key: string]: string};
/**
* Azure Active Directory tenant id
*/
readonly tenantId: string;
/**
* Resource type
*/
readonly type: string;
}
export function getOuContainerOutput(args: GetOuContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOuContainerResult> {
return pulumi.output(args).apply(a => getOuContainer(a, opts))
}
export interface GetOuContainerOutputArgs {
/**
* The name of the domain service.
*/
domainServiceName: pulumi.Input<string>;
/**
* The name of the OuContainer.
*/
ouContainerName: pulumi.Input<string>;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}