This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
getADCCatalog.go
52 lines (47 loc) · 1.69 KB
/
getADCCatalog.go
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
// *** 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! ***
package v20160330
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupADCCatalog(ctx *pulumi.Context, args *LookupADCCatalogArgs, opts ...pulumi.InvokeOption) (*LookupADCCatalogResult, error) {
var rv LookupADCCatalogResult
err := ctx.Invoke("azure-nextgen:datacatalog/v20160330:getADCCatalog", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupADCCatalogArgs struct {
// The name of the data catalog in the specified subscription and resource group.
CatalogName string `pulumi:"catalogName"`
// The name of the resource group within the user's subscription. The name is case insensitive.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// Azure Data Catalog.
type LookupADCCatalogResult struct {
// Azure data catalog admin list.
Admins []PrincipalsResponse `pulumi:"admins"`
// Automatic unit adjustment enabled or not.
EnableAutomaticUnitAdjustment *bool `pulumi:"enableAutomaticUnitAdjustment"`
// Resource etag
Etag *string `pulumi:"etag"`
// Resource Id
Id string `pulumi:"id"`
// Resource location
Location *string `pulumi:"location"`
// Resource name
Name string `pulumi:"name"`
// Azure data catalog SKU.
Sku *string `pulumi:"sku"`
// Azure data catalog provision status.
SuccessfullyProvisioned *bool `pulumi:"successfullyProvisioned"`
// Resource tags
Tags map[string]string `pulumi:"tags"`
// Resource type
Type string `pulumi:"type"`
// Azure data catalog units.
Units *int `pulumi:"units"`
// Azure data catalog user list.
Users []PrincipalsResponse `pulumi:"users"`
}