servicetasks

package
v0.20240320.1144505 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2021-06-30/servicetasks Documentation

The servicetasks SDK allows for interaction with the Azure Resource Manager Service datamigration (API Version 2021-06-30).

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/datamigration/2021-06-30/servicetasks"

Client Initialization

client := servicetasks.NewServiceTasksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCommandState

func PossibleValuesForCommandState() []string

func PossibleValuesForTaskState

func PossibleValuesForTaskState() []string

Types

type CheckOCIDriverTaskInput

type CheckOCIDriverTaskInput struct {
	ServerVersion *string `json:"serverVersion,omitempty"`
}

type CheckOCIDriverTaskOutput

type CheckOCIDriverTaskOutput struct {
	InstalledDriver  *OracleOCIDriverInfo   `json:"installedDriver,omitempty"`
	ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"`
}

type CheckOCIDriverTaskProperties

type CheckOCIDriverTaskProperties struct {
	Input  *CheckOCIDriverTaskInput    `json:"input,omitempty"`
	Output *[]CheckOCIDriverTaskOutput `json:"output,omitempty"`

	// Fields inherited from ProjectTaskProperties
	ClientData *map[string]string   `json:"clientData,omitempty"`
	Commands   *[]CommandProperties `json:"commands,omitempty"`
	Errors     *[]ODataError        `json:"errors,omitempty"`
	State      *TaskState           `json:"state,omitempty"`
}

func (CheckOCIDriverTaskProperties) MarshalJSON

func (s CheckOCIDriverTaskProperties) MarshalJSON() ([]byte, error)

type CommandProperties

type CommandProperties struct {
	CommandType string        `json:"commandType"`
	Errors      *[]ODataError `json:"errors,omitempty"`
	State       *CommandState `json:"state,omitempty"`
}

type CommandState

type CommandState string
const (
	CommandStateAccepted  CommandState = "Accepted"
	CommandStateFailed    CommandState = "Failed"
	CommandStateRunning   CommandState = "Running"
	CommandStateSucceeded CommandState = "Succeeded"
	CommandStateUnknown   CommandState = "Unknown"
)

func (*CommandState) UnmarshalJSON

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

type FileShare

type FileShare struct {
	Password *string `json:"password,omitempty"`
	Path     string  `json:"path"`
	UserName *string `json:"userName,omitempty"`
}

type InstallOCIDriverTaskInput

type InstallOCIDriverTaskInput struct {
	DriverPackageName *string `json:"driverPackageName,omitempty"`
}

type InstallOCIDriverTaskOutput

type InstallOCIDriverTaskOutput struct {
	ValidationErrors *[]ReportableException `json:"validationErrors,omitempty"`
}

type InstallOCIDriverTaskProperties

type InstallOCIDriverTaskProperties struct {
	Input  *InstallOCIDriverTaskInput    `json:"input,omitempty"`
	Output *[]InstallOCIDriverTaskOutput `json:"output,omitempty"`

	// Fields inherited from ProjectTaskProperties
	ClientData *map[string]string   `json:"clientData,omitempty"`
	Commands   *[]CommandProperties `json:"commands,omitempty"`
	Errors     *[]ODataError        `json:"errors,omitempty"`
	State      *TaskState           `json:"state,omitempty"`
}

func (InstallOCIDriverTaskProperties) MarshalJSON

func (s InstallOCIDriverTaskProperties) MarshalJSON() ([]byte, error)

type ODataError

type ODataError struct {
	Code    *string       `json:"code,omitempty"`
	Details *[]ODataError `json:"details,omitempty"`
	Message *string       `json:"message,omitempty"`
}

type OracleOCIDriverInfo

type OracleOCIDriverInfo struct {
	ArchiveChecksum         *string   `json:"archiveChecksum,omitempty"`
	AssemblyVersion         *string   `json:"assemblyVersion,omitempty"`
	DriverName              *string   `json:"driverName,omitempty"`
	DriverSize              *string   `json:"driverSize,omitempty"`
	OracleChecksum          *string   `json:"oracleChecksum,omitempty"`
	SupportedOracleVersions *[]string `json:"supportedOracleVersions,omitempty"`
}

type ProjectTaskProperties

type ProjectTaskProperties interface {
}

type RawProjectTaskPropertiesImpl

type RawProjectTaskPropertiesImpl struct {
	Type   string
	Values map[string]interface{}
}

RawProjectTaskPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type ReportableException

type ReportableException struct {
	ActionableMessage *string `json:"actionableMessage,omitempty"`
	FilePath          *string `json:"filePath,omitempty"`
	HResult           *int64  `json:"hResult,omitempty"`
	LineNumber        *string `json:"lineNumber,omitempty"`
	Message           *string `json:"message,omitempty"`
	StackTrace        *string `json:"stackTrace,omitempty"`
}

type ServiceTasksClient

type ServiceTasksClient struct {
	Client *resourcemanager.Client
}

func NewServiceTasksClientWithBaseURI

func NewServiceTasksClientWithBaseURI(sdkApi sdkEnv.Api) (*ServiceTasksClient, error)

type TaskState

type TaskState string
const (
	TaskStateCanceled              TaskState = "Canceled"
	TaskStateFailed                TaskState = "Failed"
	TaskStateFailedInputValidation TaskState = "FailedInputValidation"
	TaskStateFaulted               TaskState = "Faulted"
	TaskStateQueued                TaskState = "Queued"
	TaskStateRunning               TaskState = "Running"
	TaskStateSucceeded             TaskState = "Succeeded"
	TaskStateUnknown               TaskState = "Unknown"
)

func (*TaskState) UnmarshalJSON

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

type UploadOCIDriverTaskInput

type UploadOCIDriverTaskInput struct {
	DriverShare *FileShare `json:"driverShare,omitempty"`
}

type UploadOCIDriverTaskOutput

type UploadOCIDriverTaskOutput struct {
	DriverPackageName *string                `json:"driverPackageName,omitempty"`
	ValidationErrors  *[]ReportableException `json:"validationErrors,omitempty"`
}

type UploadOCIDriverTaskProperties

type UploadOCIDriverTaskProperties struct {
	Input  *UploadOCIDriverTaskInput    `json:"input,omitempty"`
	Output *[]UploadOCIDriverTaskOutput `json:"output,omitempty"`

	// Fields inherited from ProjectTaskProperties
	ClientData *map[string]string   `json:"clientData,omitempty"`
	Commands   *[]CommandProperties `json:"commands,omitempty"`
	Errors     *[]ODataError        `json:"errors,omitempty"`
	State      *TaskState           `json:"state,omitempty"`
}

func (UploadOCIDriverTaskProperties) MarshalJSON

func (s UploadOCIDriverTaskProperties) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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