-
Notifications
You must be signed in to change notification settings - Fork 31
/
getprivateLinkForAzureAd.ts
92 lines (85 loc) · 2.43 KB
/
getprivateLinkForAzureAd.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
// *** 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 utilities from "../../utilities";
/**
* PrivateLink Policy configuration object.
*/
export function getprivateLinkForAzureAd(args: GetprivateLinkForAzureAdArgs, opts?: pulumi.InvokeOptions): Promise<GetprivateLinkForAzureAdResult> {
if (!opts) {
opts = {}
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
return pulumi.runtime.invoke("azure-native:aadiam/v20200301preview:getprivateLinkForAzureAd", {
"policyName": args.policyName,
"resourceGroupName": args.resourceGroupName,
}, opts);
}
export interface GetprivateLinkForAzureAdArgs {
/**
* The name of the private link policy in Azure AD.
*/
policyName: string;
/**
* Name of an Azure resource group.
*/
resourceGroupName: string;
}
/**
* PrivateLink Policy configuration object.
*/
export interface GetprivateLinkForAzureAdResult {
/**
* Flag indicating whether all tenants are allowed
*/
readonly allTenants?: boolean;
/**
* String Id used to locate any resource on Azure.
*/
readonly id: string;
/**
* Name of this resource.
*/
readonly name?: string;
/**
* Guid of the owner tenant
*/
readonly ownerTenantId?: string;
/**
* Name of the resource group
*/
readonly resourceGroup?: string;
/**
* Name of the private link policy resource
*/
readonly resourceName?: string;
/**
* Subscription Identifier
*/
readonly subscriptionId?: string;
/**
* Resource tags.
*/
readonly tags?: {[key: string]: string};
/**
* The list of tenantIds.
*/
readonly tenants?: string[];
/**
* Type of this resource.
*/
readonly type: string;
}
export function getprivateLinkForAzureAdOutput(args: GetprivateLinkForAzureAdOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetprivateLinkForAzureAdResult> {
return pulumi.output(args).apply(a => getprivateLinkForAzureAd(a, opts))
}
export interface GetprivateLinkForAzureAdOutputArgs {
/**
* The name of the private link policy in Azure AD.
*/
policyName: pulumi.Input<string>;
/**
* Name of an Azure resource group.
*/
resourceGroupName: pulumi.Input<string>;
}