This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getDscNodeConfiguration.go
48 lines (43 loc) · 1.81 KB
/
getDscNodeConfiguration.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
// *** 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 v20200113preview
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupDscNodeConfiguration(ctx *pulumi.Context, args *LookupDscNodeConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupDscNodeConfigurationResult, error) {
var rv LookupDscNodeConfigurationResult
err := ctx.Invoke("azure-nextgen:automation/v20200113preview:getDscNodeConfiguration", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupDscNodeConfigurationArgs struct {
// The name of the automation account.
AutomationAccountName string `pulumi:"automationAccountName"`
// The Dsc node configuration name.
NodeConfigurationName string `pulumi:"nodeConfigurationName"`
// Name of an Azure Resource group.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// Definition of the dsc node configuration.
type LookupDscNodeConfigurationResult struct {
// Gets or sets the configuration of the node.
Configuration *DscConfigurationAssociationPropertyResponse `pulumi:"configuration"`
// Gets or sets creation time.
CreationTime *string `pulumi:"creationTime"`
// Fully qualified resource Id for the resource
Id string `pulumi:"id"`
// If a new build version of NodeConfiguration is required.
IncrementNodeConfigurationBuild *bool `pulumi:"incrementNodeConfigurationBuild"`
// Gets or sets the last modified time.
LastModifiedTime *string `pulumi:"lastModifiedTime"`
// The name of the resource
Name string `pulumi:"name"`
// Number of nodes with this node configuration assigned
NodeCount *float64 `pulumi:"nodeCount"`
// Source of node configuration.
Source *string `pulumi:"source"`
// The type of the resource.
Type string `pulumi:"type"`
}