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 ¶
- func PossibleValuesForIntegrationRuntimeUpdateResult() []string
- func PossibleValuesForSelfHostedIntegrationRuntimeNodeStatus() []string
- func ValidateNodeID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteOperationResponse
- type GetIPAddressOperationResponse
- type GetOperationResponse
- type IntegrationRuntimeNodeIPAddress
- type IntegrationRuntimeNodesClient
- func (c IntegrationRuntimeNodesClient) Delete(ctx context.Context, id NodeId) (result DeleteOperationResponse, err error)
- func (c IntegrationRuntimeNodesClient) Get(ctx context.Context, id NodeId) (result GetOperationResponse, err error)
- func (c IntegrationRuntimeNodesClient) GetIPAddress(ctx context.Context, id NodeId) (result GetIPAddressOperationResponse, err error)
- func (c IntegrationRuntimeNodesClient) Update(ctx context.Context, id NodeId, input UpdateIntegrationRuntimeNodeRequest) (result UpdateOperationResponse, err error)
- type IntegrationRuntimeUpdateResult
- type NodeId
- type SelfHostedIntegrationRuntimeNode
- func (o *SelfHostedIntegrationRuntimeNode) GetExpiryTimeAsTime() (*time.Time, error)
- func (o *SelfHostedIntegrationRuntimeNode) GetLastConnectTimeAsTime() (*time.Time, error)
- func (o *SelfHostedIntegrationRuntimeNode) GetLastEndUpdateTimeAsTime() (*time.Time, error)
- func (o *SelfHostedIntegrationRuntimeNode) GetLastStartTimeAsTime() (*time.Time, error)
- func (o *SelfHostedIntegrationRuntimeNode) GetLastStartUpdateTimeAsTime() (*time.Time, error)
- func (o *SelfHostedIntegrationRuntimeNode) GetLastStopTimeAsTime() (*time.Time, error)
- func (o *SelfHostedIntegrationRuntimeNode) GetRegisterTimeAsTime() (*time.Time, error)
- func (o *SelfHostedIntegrationRuntimeNode) SetExpiryTimeAsTime(input time.Time)
- func (o *SelfHostedIntegrationRuntimeNode) SetLastConnectTimeAsTime(input time.Time)
- func (o *SelfHostedIntegrationRuntimeNode) SetLastEndUpdateTimeAsTime(input time.Time)
- func (o *SelfHostedIntegrationRuntimeNode) SetLastStartTimeAsTime(input time.Time)
- func (o *SelfHostedIntegrationRuntimeNode) SetLastStartUpdateTimeAsTime(input time.Time)
- func (o *SelfHostedIntegrationRuntimeNode) SetLastStopTimeAsTime(input time.Time)
- func (o *SelfHostedIntegrationRuntimeNode) SetRegisterTimeAsTime(input time.Time)
- type SelfHostedIntegrationRuntimeNodeStatus
- type UpdateIntegrationRuntimeNodeRequest
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIntegrationRuntimeUpdateResult ¶
func PossibleValuesForIntegrationRuntimeUpdateResult() []string
func PossibleValuesForSelfHostedIntegrationRuntimeNodeStatus ¶
func PossibleValuesForSelfHostedIntegrationRuntimeNodeStatus() []string
func ValidateNodeID ¶
ValidateNodeID checks that 'input' can be parsed as a Node ID
Types ¶
type DeleteOperationResponse ¶
type GetIPAddressOperationResponse ¶
type GetIPAddressOperationResponse struct { HttpResponse *http.Response Model *IntegrationRuntimeNodeIPAddress }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *SelfHostedIntegrationRuntimeNode }
type IntegrationRuntimeNodeIPAddress ¶
type IntegrationRuntimeNodeIPAddress struct {
IPAddress *string `json:"ipAddress,omitempty"`
}
type IntegrationRuntimeNodesClient ¶
type IntegrationRuntimeNodesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewIntegrationRuntimeNodesClientWithBaseURI ¶
func NewIntegrationRuntimeNodesClientWithBaseURI(endpoint string) IntegrationRuntimeNodesClient
func (IntegrationRuntimeNodesClient) Delete ¶
func (c IntegrationRuntimeNodesClient) Delete(ctx context.Context, id NodeId) (result DeleteOperationResponse, err error)
Delete ...
func (IntegrationRuntimeNodesClient) Get ¶
func (c IntegrationRuntimeNodesClient) Get(ctx context.Context, id NodeId) (result GetOperationResponse, err error)
Get ...
func (IntegrationRuntimeNodesClient) GetIPAddress ¶
func (c IntegrationRuntimeNodesClient) GetIPAddress(ctx context.Context, id NodeId) (result GetIPAddressOperationResponse, err error)
GetIPAddress ...
func (IntegrationRuntimeNodesClient) Update ¶
func (c IntegrationRuntimeNodesClient) Update(ctx context.Context, id NodeId, input UpdateIntegrationRuntimeNodeRequest) (result UpdateOperationResponse, err error)
Update ...
type IntegrationRuntimeUpdateResult ¶
type IntegrationRuntimeUpdateResult string
const ( IntegrationRuntimeUpdateResultFail IntegrationRuntimeUpdateResult = "Fail" IntegrationRuntimeUpdateResultNone IntegrationRuntimeUpdateResult = "None" IntegrationRuntimeUpdateResultSucceed IntegrationRuntimeUpdateResult = "Succeed" )
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 ¶
ParseNodeID parses 'input' into a NodeId
func ParseNodeIDInsensitively ¶
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) Segments ¶
func (id NodeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise 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" )
type UpdateIntegrationRuntimeNodeRequest ¶
type UpdateIntegrationRuntimeNodeRequest struct {
ConcurrentJobsLimit *int64 `json:"concurrentJobsLimit,omitempty"`
}
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *SelfHostedIntegrationRuntimeNode }