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
/
getWorkloadNetworkDnsZone.go
50 lines (45 loc) · 1.69 KB
/
getWorkloadNetworkDnsZone.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
// *** 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 v20200717preview
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupWorkloadNetworkDnsZone(ctx *pulumi.Context, args *LookupWorkloadNetworkDnsZoneArgs, opts ...pulumi.InvokeOption) (*LookupWorkloadNetworkDnsZoneResult, error) {
var rv LookupWorkloadNetworkDnsZoneResult
err := ctx.Invoke("azure-nextgen:avs/v20200717preview:getWorkloadNetworkDnsZone", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupWorkloadNetworkDnsZoneArgs struct {
// NSX DNS Zone identifier. Generally the same as the DNS Zone's display name
DnsZoneId string `pulumi:"dnsZoneId"`
// Name of the private cloud
PrivateCloudName string `pulumi:"privateCloudName"`
// The name of the resource group. The name is case insensitive.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// NSX DNS Zone
type LookupWorkloadNetworkDnsZoneResult struct {
// Display name of the DNS Zone.
DisplayName *string `pulumi:"displayName"`
// DNS Server IP array of the DNS Zone.
DnsServerIps []string `pulumi:"dnsServerIps"`
// Number of DNS Services using the DNS zone.
DnsServices *float64 `pulumi:"dnsServices"`
// Domain names of the DNS Zone.
Domain []string `pulumi:"domain"`
// Resource ID.
Id string `pulumi:"id"`
// Resource name.
Name string `pulumi:"name"`
// The provisioning state
ProvisioningState string `pulumi:"provisioningState"`
// NSX revision number.
Revision *float64 `pulumi:"revision"`
// Source IP of the DNS Zone.
SourceIp *string `pulumi:"sourceIp"`
// Resource type.
Type string `pulumi:"type"`
}