serviceresource

package
v0.20230801.1071415 Latest Latest
Warning

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

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

README

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

The serviceresource 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/serviceresource"

Client Initialization

client := serviceresource.NewServiceResourceClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ServiceResourceClient.ServiceTasksList

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

// alternatively `client.ServiceTasksList(ctx, id, serviceresource.DefaultServiceTasksListOperationOptions())` can be used to do batched pagination
items, err := client.ServiceTasksListComplete(ctx, id, serviceresource.DefaultServiceTasksListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ServiceResourceClient.ServicesCheckStatus

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

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

Example Usage: ServiceResourceClient.ServicesCreateOrUpdate

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

payload := serviceresource.DataMigrationService{
	// ...
}


if err := client.ServicesCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ServiceResourceClient.ServicesDelete

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

if err := client.ServicesDeleteThenPoll(ctx, id, serviceresource.DefaultServicesDeleteOperationOptions()); err != nil {
	// handle the error
}

Example Usage: ServiceResourceClient.ServicesGet

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

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

Example Usage: ServiceResourceClient.ServicesList

ctx := context.TODO()
id := serviceresource.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ServicesList(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ServiceResourceClient.ServicesListByResourceGroup

ctx := context.TODO()
id := serviceresource.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "resourceGroupValue")

// alternatively `client.ServicesListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ServiceResourceClient.ServicesListSkus

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

// alternatively `client.ServicesListSkus(ctx, id)` can be used to do batched pagination
items, err := client.ServicesListSkusComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ServiceResourceClient.ServicesStart

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

if err := client.ServicesStartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ServiceResourceClient.ServicesStop

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

if err := client.ServicesStopThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ServiceResourceClient.ServicesUpdate

ctx := context.TODO()
id := serviceresource.NewServiceID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue")

payload := serviceresource.DataMigrationService{
	// ...
}


if err := client.ServicesUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ServiceResourceClient.TasksList

ctx := context.TODO()
id := serviceresource.NewProjectID("12345678-1234-9876-4563-123456789012", "resourceGroupValue", "serviceValue", "projectValue")

// alternatively `client.TasksList(ctx, id, serviceresource.DefaultTasksListOperationOptions())` can be used to do batched pagination
items, err := client.TasksListComplete(ctx, id, serviceresource.DefaultTasksListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCommandState

func PossibleValuesForCommandState() []string

func PossibleValuesForServiceProvisioningState

func PossibleValuesForServiceProvisioningState() []string

func PossibleValuesForServiceScalability

func PossibleValuesForServiceScalability() []string

func PossibleValuesForTaskState

func PossibleValuesForTaskState() []string

func ValidateProjectID

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

ValidateProjectID checks that 'input' can be parsed as a Project ID

func ValidateResourceGroupID

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

ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID

func ValidateServiceID

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

ValidateServiceID checks that 'input' can be parsed as a Service ID

Types

type AvailableServiceSku

type AvailableServiceSku struct {
	Capacity     *AvailableServiceSkuCapacity `json:"capacity,omitempty"`
	ResourceType *string                      `json:"resourceType,omitempty"`
	Sku          *AvailableServiceSkuSku      `json:"sku,omitempty"`
}

type AvailableServiceSkuCapacity

type AvailableServiceSkuCapacity struct {
	Default   *int64              `json:"default,omitempty"`
	Maximum   *int64              `json:"maximum,omitempty"`
	Minimum   *int64              `json:"minimum,omitempty"`
	ScaleType *ServiceScalability `json:"scaleType,omitempty"`
}

type AvailableServiceSkuOperationPredicate

type AvailableServiceSkuOperationPredicate struct {
	ResourceType *string
}

func (AvailableServiceSkuOperationPredicate) Matches

type AvailableServiceSkuSku

type AvailableServiceSkuSku struct {
	Family *string `json:"family,omitempty"`
	Name   *string `json:"name,omitempty"`
	Size   *string `json:"size,omitempty"`
	Tier   *string `json:"tier,omitempty"`
}

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 added in v0.20230712.1163130

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

type DataMigrationService

type DataMigrationService struct {
	Etag       *string                         `json:"etag,omitempty"`
	Id         *string                         `json:"id,omitempty"`
	Kind       *string                         `json:"kind,omitempty"`
	Location   string                          `json:"location"`
	Name       *string                         `json:"name,omitempty"`
	Properties *DataMigrationServiceProperties `json:"properties,omitempty"`
	Sku        *ServiceSku                     `json:"sku,omitempty"`
	SystemData *systemdata.SystemData          `json:"systemData,omitempty"`
	Tags       *map[string]string              `json:"tags,omitempty"`
	Type       *string                         `json:"type,omitempty"`
}

type DataMigrationServiceOperationPredicate

type DataMigrationServiceOperationPredicate struct {
	Etag     *string
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (DataMigrationServiceOperationPredicate) Matches

type DataMigrationServiceProperties

type DataMigrationServiceProperties struct {
	ProvisioningState *ServiceProvisioningState `json:"provisioningState,omitempty"`
	PublicKey         *string                   `json:"publicKey,omitempty"`
	VirtualNicId      *string                   `json:"virtualNicId,omitempty"`
	VirtualSubnetId   string                    `json:"virtualSubnetId"`
}

type DataMigrationServiceStatusResponse

type DataMigrationServiceStatusResponse struct {
	AgentVersion       *string   `json:"agentVersion,omitempty"`
	Status             *string   `json:"status,omitempty"`
	SupportedTaskTypes *[]string `json:"supportedTaskTypes,omitempty"`
	VMSize             *string   `json:"vmSize,omitempty"`
}

type ODataError

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

type ProjectId

type ProjectId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	ProjectName       string
}

ProjectId is a struct representing the Resource ID for a Project

func NewProjectID

func NewProjectID(subscriptionId string, resourceGroupName string, serviceName string, projectName string) ProjectId

NewProjectID returns a new ProjectId struct

func ParseProjectID

func ParseProjectID(input string) (*ProjectId, error)

ParseProjectID parses 'input' into a ProjectId

func ParseProjectIDInsensitively

func ParseProjectIDInsensitively(input string) (*ProjectId, error)

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

func (ProjectId) ID

func (id ProjectId) ID() string

ID returns the formatted Project ID

func (ProjectId) Segments

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

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

func (ProjectId) String

func (id ProjectId) String() string

String returns a human-readable description of this Project ID

type ProjectTask

type ProjectTask struct {
	Etag       *string                `json:"etag,omitempty"`
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *ProjectTaskProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type ProjectTaskOperationPredicate

type ProjectTaskOperationPredicate struct {
	Etag *string
	Id   *string
	Name *string
	Type *string
}

func (ProjectTaskOperationPredicate) Matches

type ProjectTaskProperties

type ProjectTaskProperties struct {
	ClientData *map[string]string   `json:"clientData,omitempty"`
	Commands   *[]CommandProperties `json:"commands,omitempty"`
	Errors     *[]ODataError        `json:"errors,omitempty"`
	State      *TaskState           `json:"state,omitempty"`
	TaskType   string               `json:"taskType"`
}

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

ResourceGroupId is a struct representing the Resource ID for a Resource Group

func NewResourceGroupID

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

NewResourceGroupID returns a new ResourceGroupId struct

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses 'input' into a ResourceGroupId

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

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

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

ID returns the formatted Resource Group ID

func (ResourceGroupId) Segments

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

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

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

String returns a human-readable description of this Resource Group ID

type ServiceId

type ServiceId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
}

ServiceId is a struct representing the Resource ID for a Service

func NewServiceID

func NewServiceID(subscriptionId string, resourceGroupName string, serviceName string) ServiceId

NewServiceID returns a new ServiceId struct

func ParseServiceID

func ParseServiceID(input string) (*ServiceId, error)

ParseServiceID parses 'input' into a ServiceId

func ParseServiceIDInsensitively

func ParseServiceIDInsensitively(input string) (*ServiceId, error)

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

func (ServiceId) ID

func (id ServiceId) ID() string

ID returns the formatted Service ID

func (ServiceId) Segments

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

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

func (ServiceId) String

func (id ServiceId) String() string

String returns a human-readable description of this Service ID

type ServiceProvisioningState

type ServiceProvisioningState string
const (
	ServiceProvisioningStateAccepted      ServiceProvisioningState = "Accepted"
	ServiceProvisioningStateDeleting      ServiceProvisioningState = "Deleting"
	ServiceProvisioningStateDeploying     ServiceProvisioningState = "Deploying"
	ServiceProvisioningStateFailed        ServiceProvisioningState = "Failed"
	ServiceProvisioningStateFailedToStart ServiceProvisioningState = "FailedToStart"
	ServiceProvisioningStateFailedToStop  ServiceProvisioningState = "FailedToStop"
	ServiceProvisioningStateStarting      ServiceProvisioningState = "Starting"
	ServiceProvisioningStateStopped       ServiceProvisioningState = "Stopped"
	ServiceProvisioningStateStopping      ServiceProvisioningState = "Stopping"
	ServiceProvisioningStateSucceeded     ServiceProvisioningState = "Succeeded"
)

func (*ServiceProvisioningState) UnmarshalJSON added in v0.20230712.1163130

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

type ServiceResourceClient

type ServiceResourceClient struct {
	Client *resourcemanager.Client
}

func NewServiceResourceClientWithBaseURI

func NewServiceResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*ServiceResourceClient, error)

func (ServiceResourceClient) ServiceTasksList

ServiceTasksList ...

func (ServiceResourceClient) ServiceTasksListComplete

ServiceTasksListComplete retrieves all the results into a single object

func (ServiceResourceClient) ServiceTasksListCompleteMatchingPredicate

func (c ServiceResourceClient) ServiceTasksListCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ServiceTasksListOperationOptions, predicate ProjectTaskOperationPredicate) (result ServiceTasksListCompleteResult, err error)

ServiceTasksListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ServiceResourceClient) ServicesCheckStatus

func (c ServiceResourceClient) ServicesCheckStatus(ctx context.Context, id ServiceId) (result ServicesCheckStatusOperationResponse, err error)

ServicesCheckStatus ...

func (ServiceResourceClient) ServicesCreateOrUpdate

ServicesCreateOrUpdate ...

func (ServiceResourceClient) ServicesCreateOrUpdateThenPoll

func (c ServiceResourceClient) ServicesCreateOrUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error

ServicesCreateOrUpdateThenPoll performs ServicesCreateOrUpdate then polls until it's completed

func (ServiceResourceClient) ServicesDelete

ServicesDelete ...

func (ServiceResourceClient) ServicesDeleteThenPoll

func (c ServiceResourceClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) error

ServicesDeleteThenPoll performs ServicesDelete then polls until it's completed

func (ServiceResourceClient) ServicesGet

ServicesGet ...

func (ServiceResourceClient) ServicesList

ServicesList ...

func (ServiceResourceClient) ServicesListByResourceGroup

func (c ServiceResourceClient) ServicesListByResourceGroup(ctx context.Context, id ResourceGroupId) (result ServicesListByResourceGroupOperationResponse, err error)

ServicesListByResourceGroup ...

func (ServiceResourceClient) ServicesListByResourceGroupComplete

func (c ServiceResourceClient) ServicesListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ServicesListByResourceGroupCompleteResult, error)

ServicesListByResourceGroupComplete retrieves all the results into a single object

func (ServiceResourceClient) ServicesListByResourceGroupCompleteMatchingPredicate

func (c ServiceResourceClient) ServicesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate DataMigrationServiceOperationPredicate) (result ServicesListByResourceGroupCompleteResult, err error)

ServicesListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ServiceResourceClient) ServicesListComplete

ServicesListComplete retrieves all the results into a single object

func (ServiceResourceClient) ServicesListCompleteMatchingPredicate

func (c ServiceResourceClient) ServicesListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataMigrationServiceOperationPredicate) (result ServicesListCompleteResult, err error)

ServicesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ServiceResourceClient) ServicesListSkus

func (c ServiceResourceClient) ServicesListSkus(ctx context.Context, id ServiceId) (result ServicesListSkusOperationResponse, err error)

ServicesListSkus ...

func (ServiceResourceClient) ServicesListSkusComplete

func (c ServiceResourceClient) ServicesListSkusComplete(ctx context.Context, id ServiceId) (ServicesListSkusCompleteResult, error)

ServicesListSkusComplete retrieves all the results into a single object

func (ServiceResourceClient) ServicesListSkusCompleteMatchingPredicate

func (c ServiceResourceClient) ServicesListSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate AvailableServiceSkuOperationPredicate) (result ServicesListSkusCompleteResult, err error)

ServicesListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ServiceResourceClient) ServicesStart

func (c ServiceResourceClient) ServicesStart(ctx context.Context, id ServiceId) (result ServicesStartOperationResponse, err error)

ServicesStart ...

func (ServiceResourceClient) ServicesStartThenPoll

func (c ServiceResourceClient) ServicesStartThenPoll(ctx context.Context, id ServiceId) error

ServicesStartThenPoll performs ServicesStart then polls until it's completed

func (ServiceResourceClient) ServicesStop

func (c ServiceResourceClient) ServicesStop(ctx context.Context, id ServiceId) (result ServicesStopOperationResponse, err error)

ServicesStop ...

func (ServiceResourceClient) ServicesStopThenPoll

func (c ServiceResourceClient) ServicesStopThenPoll(ctx context.Context, id ServiceId) error

ServicesStopThenPoll performs ServicesStop then polls until it's completed

func (ServiceResourceClient) ServicesUpdate

ServicesUpdate ...

func (ServiceResourceClient) ServicesUpdateThenPoll

func (c ServiceResourceClient) ServicesUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error

ServicesUpdateThenPoll performs ServicesUpdate then polls until it's completed

func (ServiceResourceClient) TasksList

TasksList ...

func (ServiceResourceClient) TasksListComplete

TasksListComplete retrieves all the results into a single object

func (ServiceResourceClient) TasksListCompleteMatchingPredicate

func (c ServiceResourceClient) TasksListCompleteMatchingPredicate(ctx context.Context, id ProjectId, options TasksListOperationOptions, predicate ProjectTaskOperationPredicate) (result TasksListCompleteResult, err error)

TasksListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ServiceScalability

type ServiceScalability string
const (
	ServiceScalabilityAutomatic ServiceScalability = "automatic"
	ServiceScalabilityManual    ServiceScalability = "manual"
	ServiceScalabilityNone      ServiceScalability = "none"
)

func (*ServiceScalability) UnmarshalJSON added in v0.20230712.1163130

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

type ServiceSku

type ServiceSku struct {
	Capacity *int64  `json:"capacity,omitempty"`
	Family   *string `json:"family,omitempty"`
	Name     *string `json:"name,omitempty"`
	Size     *string `json:"size,omitempty"`
	Tier     *string `json:"tier,omitempty"`
}

type ServiceTasksListCompleteResult

type ServiceTasksListCompleteResult struct {
	Items []ProjectTask
}

type ServiceTasksListOperationOptions

type ServiceTasksListOperationOptions struct {
	TaskType *string
}

func DefaultServiceTasksListOperationOptions

func DefaultServiceTasksListOperationOptions() ServiceTasksListOperationOptions

func (ServiceTasksListOperationOptions) ToHeaders added in v0.20230712.1163130

func (ServiceTasksListOperationOptions) ToOData added in v0.20230712.1163130

func (ServiceTasksListOperationOptions) ToQuery added in v0.20230712.1163130

type ServiceTasksListOperationResponse

type ServiceTasksListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ProjectTask
}

type ServicesCheckStatusOperationResponse

type ServicesCheckStatusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationServiceStatusResponse
}

type ServicesCreateOrUpdateOperationResponse

type ServicesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServicesDeleteOperationOptions

type ServicesDeleteOperationOptions struct {
	DeleteRunningTasks *bool
}

func DefaultServicesDeleteOperationOptions

func DefaultServicesDeleteOperationOptions() ServicesDeleteOperationOptions

func (ServicesDeleteOperationOptions) ToHeaders added in v0.20230712.1163130

func (ServicesDeleteOperationOptions) ToOData added in v0.20230712.1163130

func (ServicesDeleteOperationOptions) ToQuery added in v0.20230712.1163130

type ServicesDeleteOperationResponse

type ServicesDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServicesGetOperationResponse

type ServicesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataMigrationService
}

type ServicesListByResourceGroupCompleteResult

type ServicesListByResourceGroupCompleteResult struct {
	Items []DataMigrationService
}

type ServicesListByResourceGroupOperationResponse

type ServicesListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataMigrationService
}

type ServicesListCompleteResult

type ServicesListCompleteResult struct {
	Items []DataMigrationService
}

type ServicesListOperationResponse

type ServicesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataMigrationService
}

type ServicesListSkusCompleteResult

type ServicesListSkusCompleteResult struct {
	Items []AvailableServiceSku
}

type ServicesListSkusOperationResponse

type ServicesListSkusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AvailableServiceSku
}

type ServicesStartOperationResponse

type ServicesStartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServicesStopOperationResponse

type ServicesStopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServicesUpdateOperationResponse

type ServicesUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

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 added in v0.20230712.1163130

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

type TasksListCompleteResult

type TasksListCompleteResult struct {
	Items []ProjectTask
}

type TasksListOperationOptions

type TasksListOperationOptions struct {
	TaskType *string
}

func DefaultTasksListOperationOptions

func DefaultTasksListOperationOptions() TasksListOperationOptions

func (TasksListOperationOptions) ToHeaders added in v0.20230712.1163130

func (o TasksListOperationOptions) ToHeaders() *client.Headers

func (TasksListOperationOptions) ToOData added in v0.20230712.1163130

func (o TasksListOperationOptions) ToOData() *odata.Query

func (TasksListOperationOptions) ToQuery added in v0.20230712.1163130

type TasksListOperationResponse

type TasksListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ProjectTask
}

Jump to

Keyboard shortcuts

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