This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getWebAppRelayServiceConnectionSlot.go
49 lines (44 loc) · 1.88 KB
/
getWebAppRelayServiceConnectionSlot.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
// *** 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 v20200901
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupWebAppRelayServiceConnectionSlot(ctx *pulumi.Context, args *LookupWebAppRelayServiceConnectionSlotArgs, opts ...pulumi.InvokeOption) (*LookupWebAppRelayServiceConnectionSlotResult, error) {
var rv LookupWebAppRelayServiceConnectionSlotResult
err := ctx.Invoke("azure-nextgen:web/v20200901:getWebAppRelayServiceConnectionSlot", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupWebAppRelayServiceConnectionSlotArgs struct {
// Name of the hybrid connection.
EntityName string `pulumi:"entityName"`
// Name of the app.
Name string `pulumi:"name"`
// Name of the resource group to which the resource belongs.
ResourceGroupName string `pulumi:"resourceGroupName"`
// Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.
Slot string `pulumi:"slot"`
}
// Hybrid Connection for an App Service app.
type LookupWebAppRelayServiceConnectionSlotResult struct {
BiztalkUri *string `pulumi:"biztalkUri"`
EntityConnectionString *string `pulumi:"entityConnectionString"`
EntityName *string `pulumi:"entityName"`
Hostname *string `pulumi:"hostname"`
// Resource Id.
Id string `pulumi:"id"`
// Kind of resource.
Kind *string `pulumi:"kind"`
// Resource Name.
Name string `pulumi:"name"`
Port *int `pulumi:"port"`
ResourceConnectionString *string `pulumi:"resourceConnectionString"`
ResourceType *string `pulumi:"resourceType"`
// The system metadata relating to this resource.
SystemData SystemDataResponse `pulumi:"systemData"`
// Resource type.
Type string `pulumi:"type"`
}