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
/
getConnection.go
60 lines (55 loc) · 2.05 KB
/
getConnection.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
53
54
55
56
57
58
59
60
// *** 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 v20150801preview
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupConnection(ctx *pulumi.Context, args *LookupConnectionArgs, opts ...pulumi.InvokeOption) (*LookupConnectionResult, error) {
var rv LookupConnectionResult
err := ctx.Invoke("azure-nextgen:web/v20150801preview:getConnection", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupConnectionArgs struct {
// The connection name.
ConnectionName string `pulumi:"connectionName"`
// The resource group name.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// API Connection
type LookupConnectionResult struct {
// expanded connection provider name
Api *ExpandedParentApiEntityResponse `pulumi:"api"`
// Timestamp of last connection change.
ChangedTime *string `pulumi:"changedTime"`
// Timestamp of the connection creation
CreatedTime *string `pulumi:"createdTime"`
// Custom login setting values.
CustomParameterValues map[string]ParameterCustomLoginSettingValuesResponse `pulumi:"customParameterValues"`
// display name
DisplayName *string `pulumi:"displayName"`
// Time in UTC when the first expiration of OAuth tokens
FirstExpirationTime *string `pulumi:"firstExpirationTime"`
// List of Keywords that tag the acl
Keywords []string `pulumi:"keywords"`
// Kind of resource
Kind *string `pulumi:"kind"`
// Resource Location
Location string `pulumi:"location"`
Metadata interface{} `pulumi:"metadata"`
// Resource Name
Name *string `pulumi:"name"`
// Tokens/Claim
NonSecretParameterValues map[string]interface{} `pulumi:"nonSecretParameterValues"`
// Tokens/Claim
ParameterValues map[string]interface{} `pulumi:"parameterValues"`
// Status of the connection
Statuses []ConnectionStatusResponse `pulumi:"statuses"`
// Resource tags
Tags map[string]string `pulumi:"tags"`
TenantId *string `pulumi:"tenantId"`
// Resource type
Type *string `pulumi:"type"`
}