-
Notifications
You must be signed in to change notification settings - Fork 31
/
getDomainService.ts
141 lines (134 loc) · 3.87 KB
/
getDomainService.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
// *** 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";
/**
* Domain service.
*/
/** @deprecated Version 2020-01-01 will be removed in v2 of the provider. */
export function getDomainService(args: GetDomainServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainServiceResult> {
pulumi.log.warn("getDomainService is deprecated: Version 2020-01-01 will be removed in v2 of the provider.")
if (!opts) {
opts = {}
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("azure-native:aad/v20200101:getDomainService", {
"domainServiceName": args.domainServiceName,
"resourceGroupName": args.resourceGroupName,
}, opts);
}
export interface GetDomainServiceArgs {
/**
* The name of the domain service.
*/
domainServiceName: string;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Domain service.
*/
export interface GetDomainServiceResult {
/**
* Deployment Id
*/
readonly deploymentId: string;
/**
* Domain Configuration Type
*/
readonly domainConfigurationType?: string;
/**
* The name of the Azure domain that the user would like to deploy Domain Services to.
*/
readonly domainName?: string;
/**
* DomainSecurity Settings
*/
readonly domainSecuritySettings?: outputs.aad.v20200101.DomainSecuritySettingsResponse;
/**
* Resource etag
*/
readonly etag?: string;
/**
* Enabled or Disabled flag to turn on Group-based filtered sync
*/
readonly filteredSync?: string;
/**
* Resource Id
*/
readonly id: string;
/**
* Secure LDAP Settings
*/
readonly ldapsSettings?: outputs.aad.v20200101.LdapsSettingsResponse;
/**
* Resource location
*/
readonly location?: string;
/**
* Migration Properties
*/
readonly migrationProperties: outputs.aad.v20200101.MigrationPropertiesResponse;
/**
* Resource name
*/
readonly name: string;
/**
* Notification Settings
*/
readonly notificationSettings?: outputs.aad.v20200101.NotificationSettingsResponse;
/**
* the current deployment or provisioning state, which only appears in the response.
*/
readonly provisioningState: string;
/**
* List of ReplicaSets
*/
readonly replicaSets?: outputs.aad.v20200101.ReplicaSetResponse[];
/**
* Resource Forest Settings
*/
readonly resourceForestSettings?: outputs.aad.v20200101.ResourceForestSettingsResponse;
/**
* Sku Type
*/
readonly sku?: string;
/**
* SyncOwner ReplicaSet Id
*/
readonly syncOwner: string;
/**
* Resource tags
*/
readonly tags?: {[key: string]: string};
/**
* Azure Active Directory Tenant Id
*/
readonly tenantId: string;
/**
* Resource type
*/
readonly type: string;
/**
* Data Model Version
*/
readonly version: number;
}
export function getDomainServiceOutput(args: GetDomainServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainServiceResult> {
return pulumi.output(args).apply(a => getDomainService(a, opts))
}
export interface GetDomainServiceOutputArgs {
/**
* The name of the domain service.
*/
domainServiceName: pulumi.Input<string>;
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}