This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getManagedNetwork.go
46 lines (41 loc) · 1.99 KB
/
getManagedNetwork.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
// *** 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 v20190601preview
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupManagedNetwork(ctx *pulumi.Context, args *LookupManagedNetworkArgs, opts ...pulumi.InvokeOption) (*LookupManagedNetworkResult, error) {
var rv LookupManagedNetworkResult
err := ctx.Invoke("azure-nextgen:managednetwork/v20190601preview:getManagedNetwork", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupManagedNetworkArgs struct {
// The name of the Managed Network.
ManagedNetworkName string `pulumi:"managedNetworkName"`
// The name of the resource group.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// The Managed Network resource
type LookupManagedNetworkResult struct {
// The collection of groups and policies concerned with connectivity
Connectivity ConnectivityCollectionResponse `pulumi:"connectivity"`
// A unique read-only string that changes whenever the resource is updated.
Etag string `pulumi:"etag"`
// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Id string `pulumi:"id"`
// The geo-location where the resource lives
Location string `pulumi:"location"`
// The name of the resource
Name string `pulumi:"name"`
// Provisioning state of the ManagedNetwork resource.
ProvisioningState string `pulumi:"provisioningState"`
// The collection of management groups, subscriptions, virtual networks, and subnets by the Managed Network. This is a read-only property that is reflective of all ScopeAssignments for this Managed Network
Scope *ScopeResponse `pulumi:"scope"`
// Resource tags
Tags map[string]string `pulumi:"tags"`
// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Type string `pulumi:"type"`
}