This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getWebAppPremierAddOnSlot.go
56 lines (51 loc) · 1.84 KB
/
getWebAppPremierAddOnSlot.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
// *** 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 latest
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupWebAppPremierAddOnSlot(ctx *pulumi.Context, args *LookupWebAppPremierAddOnSlotArgs, opts ...pulumi.InvokeOption) (*LookupWebAppPremierAddOnSlotResult, error) {
var rv LookupWebAppPremierAddOnSlotResult
err := ctx.Invoke("azure-nextgen:web/latest:getWebAppPremierAddOnSlot", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupWebAppPremierAddOnSlotArgs struct {
// Name of the app.
Name string `pulumi:"name"`
// Add-on name.
PremierAddOnName string `pulumi:"premierAddOnName"`
// 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 the named add-on for the production slot.
Slot string `pulumi:"slot"`
}
// Premier add-on.
type LookupWebAppPremierAddOnSlotResult struct {
// Resource Id.
Id string `pulumi:"id"`
// Kind of resource.
Kind *string `pulumi:"kind"`
// Resource Location.
Location string `pulumi:"location"`
// Premier add on Marketplace offer.
MarketplaceOffer *string `pulumi:"marketplaceOffer"`
// Premier add on Marketplace publisher.
MarketplacePublisher *string `pulumi:"marketplacePublisher"`
// Resource Name.
Name string `pulumi:"name"`
// Premier add on Product.
Product *string `pulumi:"product"`
// Premier add on SKU.
Sku *string `pulumi:"sku"`
// The system metadata relating to this resource.
SystemData SystemDataResponse `pulumi:"systemData"`
// Resource tags.
Tags map[string]string `pulumi:"tags"`
// Resource type.
Type string `pulumi:"type"`
// Premier add on Vendor.
Vendor *string `pulumi:"vendor"`
}