commands

package
v0.20240620.1161515 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/datamigration/2018-04-19/commands Documentation

The commands SDK allows for interaction with the Azure Resource Manager Service datamigration (API Version 2018-04-19).

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/2018-04-19/commands"

Client Initialization

client := commands.NewCommandsClientWithBaseURI("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

Types

type CommandProperties

type CommandProperties interface {
}

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 CommandsClient

type CommandsClient struct {
	Client *resourcemanager.Client
}

func NewCommandsClientWithBaseURI

func NewCommandsClientWithBaseURI(sdkApi sdkEnv.Api) (*CommandsClient, error)

type MigrateMISyncCompleteCommandInput

type MigrateMISyncCompleteCommandInput struct {
	SourceDatabaseName string `json:"sourceDatabaseName"`
}

type MigrateMISyncCompleteCommandOutput

type MigrateMISyncCompleteCommandOutput struct {
	Errors *[]ReportableException `json:"errors,omitempty"`
}

type MigrateMISyncCompleteCommandProperties

type MigrateMISyncCompleteCommandProperties struct {
	Input  *MigrateMISyncCompleteCommandInput  `json:"input,omitempty"`
	Output *MigrateMISyncCompleteCommandOutput `json:"output,omitempty"`

	// Fields inherited from CommandProperties
	Errors *[]ODataError `json:"errors,omitempty"`
	State  *CommandState `json:"state,omitempty"`
}

func (MigrateMISyncCompleteCommandProperties) MarshalJSON

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

type MigrateSyncCompleteCommandInput

type MigrateSyncCompleteCommandInput struct {
	CommitTimeStamp *string `json:"commitTimeStamp,omitempty"`
	DatabaseName    string  `json:"databaseName"`
}

func (*MigrateSyncCompleteCommandInput) GetCommitTimeStampAsTime

func (o *MigrateSyncCompleteCommandInput) GetCommitTimeStampAsTime() (*time.Time, error)

func (*MigrateSyncCompleteCommandInput) SetCommitTimeStampAsTime

func (o *MigrateSyncCompleteCommandInput) SetCommitTimeStampAsTime(input time.Time)

type MigrateSyncCompleteCommandOutput

type MigrateSyncCompleteCommandOutput struct {
	Errors *[]ReportableException `json:"errors,omitempty"`
	Id     *string                `json:"id,omitempty"`
}

type MigrateSyncCompleteCommandProperties

type MigrateSyncCompleteCommandProperties struct {
	Input  *MigrateSyncCompleteCommandInput  `json:"input,omitempty"`
	Output *MigrateSyncCompleteCommandOutput `json:"output,omitempty"`

	// Fields inherited from CommandProperties
	Errors *[]ODataError `json:"errors,omitempty"`
	State  *CommandState `json:"state,omitempty"`
}

func (MigrateSyncCompleteCommandProperties) MarshalJSON

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

type ODataError

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

type RawCommandPropertiesImpl

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

RawCommandPropertiesImpl 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"`
}

Jump to

Keyboard shortcuts

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