integrationruntimenodes

package
v0.20230613.1122626 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2023 License: MPL-2.0 Imports: 12 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/datafactory/2018-06-01/integrationruntimenodes Documentation

The integrationruntimenodes SDK allows for interaction with the Azure Resource Manager Service datafactory (API Version 2018-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/datafactory/2018-06-01/integrationruntimenodes"

Client Initialization

client := integrationruntimenodes.NewIntegrationRuntimeNodesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: IntegrationRuntimeNodesClient.Delete

ctx := context.TODO()
id := integrationruntimenodes.NewNodeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "integrationRuntimeValue", "nodeValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: IntegrationRuntimeNodesClient.Get

ctx := context.TODO()
id := integrationruntimenodes.NewNodeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "integrationRuntimeValue", "nodeValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: IntegrationRuntimeNodesClient.GetIPAddress

ctx := context.TODO()
id := integrationruntimenodes.NewNodeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "integrationRuntimeValue", "nodeValue")

read, err := client.GetIPAddress(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: IntegrationRuntimeNodesClient.Update

ctx := context.TODO()
id := integrationruntimenodes.NewNodeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "factoryValue", "integrationRuntimeValue", "nodeValue")

payload := integrationruntimenodes.UpdateIntegrationRuntimeNodeRequest{
	// ...
}


read, err := client.Update(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForIntegrationRuntimeUpdateResult

func PossibleValuesForIntegrationRuntimeUpdateResult() []string

func PossibleValuesForSelfHostedIntegrationRuntimeNodeStatus

func PossibleValuesForSelfHostedIntegrationRuntimeNodeStatus() []string

func ValidateNodeID

func ValidateNodeID(input interface{}, key string) (warnings []string, errors []error)

ValidateNodeID checks that 'input' can be parsed as a Node ID

Types

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetIPAddressOperationResponse

type GetIPAddressOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *IntegrationRuntimeNodeIPAddress
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SelfHostedIntegrationRuntimeNode
}

type IntegrationRuntimeNodeIPAddress

type IntegrationRuntimeNodeIPAddress struct {
	IPAddress *string `json:"ipAddress,omitempty"`
}

type IntegrationRuntimeNodesClient

type IntegrationRuntimeNodesClient struct {
	Client *resourcemanager.Client
}

func NewIntegrationRuntimeNodesClientWithBaseURI

func NewIntegrationRuntimeNodesClientWithBaseURI(api environments.Api) (*IntegrationRuntimeNodesClient, error)

func (IntegrationRuntimeNodesClient) Delete

Delete ...

func (IntegrationRuntimeNodesClient) Get

Get ...

func (IntegrationRuntimeNodesClient) GetIPAddress

GetIPAddress ...

func (IntegrationRuntimeNodesClient) Update

Update ...

type IntegrationRuntimeUpdateResult

type IntegrationRuntimeUpdateResult string
const (
	IntegrationRuntimeUpdateResultFail    IntegrationRuntimeUpdateResult = "Fail"
	IntegrationRuntimeUpdateResultNone    IntegrationRuntimeUpdateResult = "None"
	IntegrationRuntimeUpdateResultSucceed IntegrationRuntimeUpdateResult = "Succeed"
)

func (*IntegrationRuntimeUpdateResult) UnmarshalJSON added in v0.20230516.1215417

func (s *IntegrationRuntimeUpdateResult) UnmarshalJSON(bytes []byte) error

type NodeId

type NodeId struct {
	SubscriptionId         string
	ResourceGroupName      string
	FactoryName            string
	IntegrationRuntimeName string
	NodeName               string
}

NodeId is a struct representing the Resource ID for a Node

func NewNodeID

func NewNodeID(subscriptionId string, resourceGroupName string, factoryName string, integrationRuntimeName string, nodeName string) NodeId

NewNodeID returns a new NodeId struct

func ParseNodeID

func ParseNodeID(input string) (*NodeId, error)

ParseNodeID parses 'input' into a NodeId

func ParseNodeIDInsensitively

func ParseNodeIDInsensitively(input string) (*NodeId, error)

ParseNodeIDInsensitively parses 'input' case-insensitively into a NodeId note: this method should only be used for API response data and not user input

func (NodeId) ID

func (id NodeId) ID() string

ID returns the formatted Node ID

func (NodeId) Segments

func (id NodeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Node ID

func (NodeId) String

func (id NodeId) String() string

String returns a human-readable description of this Node ID

type SelfHostedIntegrationRuntimeNode

type SelfHostedIntegrationRuntimeNode struct {
	Capabilities        *map[string]string                      `json:"capabilities,omitempty"`
	ConcurrentJobsLimit *int64                                  `json:"concurrentJobsLimit,omitempty"`
	ExpiryTime          *string                                 `json:"expiryTime,omitempty"`
	HostServiceUri      *string                                 `json:"hostServiceUri,omitempty"`
	IsActiveDispatcher  *bool                                   `json:"isActiveDispatcher,omitempty"`
	LastConnectTime     *string                                 `json:"lastConnectTime,omitempty"`
	LastEndUpdateTime   *string                                 `json:"lastEndUpdateTime,omitempty"`
	LastStartTime       *string                                 `json:"lastStartTime,omitempty"`
	LastStartUpdateTime *string                                 `json:"lastStartUpdateTime,omitempty"`
	LastStopTime        *string                                 `json:"lastStopTime,omitempty"`
	LastUpdateResult    *IntegrationRuntimeUpdateResult         `json:"lastUpdateResult,omitempty"`
	MachineName         *string                                 `json:"machineName,omitempty"`
	MaxConcurrentJobs   *int64                                  `json:"maxConcurrentJobs,omitempty"`
	NodeName            *string                                 `json:"nodeName,omitempty"`
	RegisterTime        *string                                 `json:"registerTime,omitempty"`
	Status              *SelfHostedIntegrationRuntimeNodeStatus `json:"status,omitempty"`
	Version             *string                                 `json:"version,omitempty"`
	VersionStatus       *string                                 `json:"versionStatus,omitempty"`
}

func (*SelfHostedIntegrationRuntimeNode) GetExpiryTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) GetExpiryTimeAsTime() (*time.Time, error)

func (*SelfHostedIntegrationRuntimeNode) GetLastConnectTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) GetLastConnectTimeAsTime() (*time.Time, error)

func (*SelfHostedIntegrationRuntimeNode) GetLastEndUpdateTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) GetLastEndUpdateTimeAsTime() (*time.Time, error)

func (*SelfHostedIntegrationRuntimeNode) GetLastStartTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) GetLastStartTimeAsTime() (*time.Time, error)

func (*SelfHostedIntegrationRuntimeNode) GetLastStartUpdateTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) GetLastStartUpdateTimeAsTime() (*time.Time, error)

func (*SelfHostedIntegrationRuntimeNode) GetLastStopTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) GetLastStopTimeAsTime() (*time.Time, error)

func (*SelfHostedIntegrationRuntimeNode) GetRegisterTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) GetRegisterTimeAsTime() (*time.Time, error)

func (*SelfHostedIntegrationRuntimeNode) SetExpiryTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) SetExpiryTimeAsTime(input time.Time)

func (*SelfHostedIntegrationRuntimeNode) SetLastConnectTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) SetLastConnectTimeAsTime(input time.Time)

func (*SelfHostedIntegrationRuntimeNode) SetLastEndUpdateTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) SetLastEndUpdateTimeAsTime(input time.Time)

func (*SelfHostedIntegrationRuntimeNode) SetLastStartTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) SetLastStartTimeAsTime(input time.Time)

func (*SelfHostedIntegrationRuntimeNode) SetLastStartUpdateTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) SetLastStartUpdateTimeAsTime(input time.Time)

func (*SelfHostedIntegrationRuntimeNode) SetLastStopTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) SetLastStopTimeAsTime(input time.Time)

func (*SelfHostedIntegrationRuntimeNode) SetRegisterTimeAsTime

func (o *SelfHostedIntegrationRuntimeNode) SetRegisterTimeAsTime(input time.Time)

type SelfHostedIntegrationRuntimeNodeStatus

type SelfHostedIntegrationRuntimeNodeStatus string
const (
	SelfHostedIntegrationRuntimeNodeStatusInitializeFailed SelfHostedIntegrationRuntimeNodeStatus = "InitializeFailed"
	SelfHostedIntegrationRuntimeNodeStatusInitializing     SelfHostedIntegrationRuntimeNodeStatus = "Initializing"
	SelfHostedIntegrationRuntimeNodeStatusLimited          SelfHostedIntegrationRuntimeNodeStatus = "Limited"
	SelfHostedIntegrationRuntimeNodeStatusNeedRegistration SelfHostedIntegrationRuntimeNodeStatus = "NeedRegistration"
	SelfHostedIntegrationRuntimeNodeStatusOffline          SelfHostedIntegrationRuntimeNodeStatus = "Offline"
	SelfHostedIntegrationRuntimeNodeStatusOnline           SelfHostedIntegrationRuntimeNodeStatus = "Online"
	SelfHostedIntegrationRuntimeNodeStatusUpgrading        SelfHostedIntegrationRuntimeNodeStatus = "Upgrading"
)

func (*SelfHostedIntegrationRuntimeNodeStatus) UnmarshalJSON added in v0.20230516.1215417

func (s *SelfHostedIntegrationRuntimeNodeStatus) UnmarshalJSON(bytes []byte) error

type UpdateIntegrationRuntimeNodeRequest

type UpdateIntegrationRuntimeNodeRequest struct {
	ConcurrentJobsLimit *int64 `json:"concurrentJobsLimit,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SelfHostedIntegrationRuntimeNode
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL