This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getWebAppDeployment.go
56 lines (51 loc) · 1.69 KB
/
getWebAppDeployment.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 v20180201
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupWebAppDeployment(ctx *pulumi.Context, args *LookupWebAppDeploymentArgs, opts ...pulumi.InvokeOption) (*LookupWebAppDeploymentResult, error) {
var rv LookupWebAppDeploymentResult
err := ctx.Invoke("azure-nextgen:web/v20180201:getWebAppDeployment", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupWebAppDeploymentArgs struct {
// Deployment ID.
Id string `pulumi:"id"`
// Name of the app.
Name string `pulumi:"name"`
// Name of the resource group to which the resource belongs.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// User credentials used for publishing activity.
type LookupWebAppDeploymentResult struct {
// True if deployment is currently active, false if completed and null if not started.
Active *bool `pulumi:"active"`
// Who authored the deployment.
Author *string `pulumi:"author"`
// Author email.
AuthorEmail *string `pulumi:"authorEmail"`
// Who performed the deployment.
Deployer *string `pulumi:"deployer"`
// Details on deployment.
Details *string `pulumi:"details"`
// End time.
EndTime *string `pulumi:"endTime"`
// Resource Id.
Id string `pulumi:"id"`
// Kind of resource.
Kind *string `pulumi:"kind"`
// Details about deployment status.
Message *string `pulumi:"message"`
// Resource Name.
Name string `pulumi:"name"`
// Start time.
StartTime *string `pulumi:"startTime"`
// Deployment status.
Status *int `pulumi:"status"`
// Resource type.
Type string `pulumi:"type"`
}