get

package
v0.20230413.1110635 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := get.NewGETClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: GETClient.ProjectsGet

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

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

Example Usage: GETClient.ProjectsListByResourceGroup

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

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

Example Usage: GETClient.ResourceSkusListSkus

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

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

Example Usage: GETClient.ServicesGet

ctx := context.TODO()
id := get.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: GETClient.ServicesList

ctx := context.TODO()
id := get.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: GETClient.ServicesListByResourceGroup

ctx := context.TODO()
id := get.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: GETClient.ServicesListSkus

ctx := context.TODO()
id := get.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: GETClient.TasksGet

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

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

Example Usage: GETClient.TasksList

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

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

Example Usage: GETClient.UsagesList

ctx := context.TODO()
id := get.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

// alternatively `client.UsagesList(ctx, id)` can be used to do batched pagination
items, err := client.UsagesListComplete(ctx, id)
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 PossibleValuesForProjectProvisioningState

func PossibleValuesForProjectProvisioningState() []string

func PossibleValuesForProjectSourcePlatform

func PossibleValuesForProjectSourcePlatform() []string

func PossibleValuesForProjectTargetPlatform

func PossibleValuesForProjectTargetPlatform() []string

func PossibleValuesForResourceSkuCapacityScaleType

func PossibleValuesForResourceSkuCapacityScaleType() []string

func PossibleValuesForResourceSkuRestrictionsReasonCode

func PossibleValuesForResourceSkuRestrictionsReasonCode() []string

func PossibleValuesForResourceSkuRestrictionsType

func PossibleValuesForResourceSkuRestrictionsType() []string

func PossibleValuesForServiceProvisioningState

func PossibleValuesForServiceProvisioningState() []string

func PossibleValuesForServiceScalability

func PossibleValuesForServiceScalability() []string

func PossibleValuesForTaskState

func PossibleValuesForTaskState() []string

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

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

func ValidateTaskID

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

ValidateTaskID checks that 'input' can be parsed as a Task 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"
)

type ConnectionInfo

type ConnectionInfo struct {
	Password *string `json:"password,omitempty"`
	Type     string  `json:"type"`
	UserName *string `json:"userName,omitempty"`
}

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"`
	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"`
	VirtualSubnetId   string                    `json:"virtualSubnetId"`
}

type DatabaseInfo

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

type GETClient

type GETClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewGETClientWithBaseURI

func NewGETClientWithBaseURI(endpoint string) GETClient

func (GETClient) ProjectsGet

func (c GETClient) ProjectsGet(ctx context.Context, id ProjectId) (result ProjectsGetOperationResponse, err error)

ProjectsGet ...

func (GETClient) ProjectsListByResourceGroup

func (c GETClient) ProjectsListByResourceGroup(ctx context.Context, id ServiceId) (resp ProjectsListByResourceGroupOperationResponse, err error)

ProjectsListByResourceGroup ...

func (GETClient) ProjectsListByResourceGroupComplete

func (c GETClient) ProjectsListByResourceGroupComplete(ctx context.Context, id ServiceId) (ProjectsListByResourceGroupCompleteResult, error)

ProjectsListByResourceGroupComplete retrieves all of the results into a single object

func (GETClient) ProjectsListByResourceGroupCompleteMatchingPredicate

func (c GETClient) ProjectsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ProjectOperationPredicate) (resp ProjectsListByResourceGroupCompleteResult, err error)

ProjectsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (GETClient) ResourceSkusListSkus

func (c GETClient) ResourceSkusListSkus(ctx context.Context, id commonids.SubscriptionId) (resp ResourceSkusListSkusOperationResponse, err error)

ResourceSkusListSkus ...

func (GETClient) ResourceSkusListSkusComplete

func (c GETClient) ResourceSkusListSkusComplete(ctx context.Context, id commonids.SubscriptionId) (ResourceSkusListSkusCompleteResult, error)

ResourceSkusListSkusComplete retrieves all of the results into a single object

func (GETClient) ResourceSkusListSkusCompleteMatchingPredicate

func (c GETClient) ResourceSkusListSkusCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ResourceSkuOperationPredicate) (resp ResourceSkusListSkusCompleteResult, err error)

ResourceSkusListSkusCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (GETClient) ServicesGet

func (c GETClient) ServicesGet(ctx context.Context, id ServiceId) (result ServicesGetOperationResponse, err error)

ServicesGet ...

func (GETClient) ServicesList

ServicesList ...

func (GETClient) ServicesListByResourceGroup

func (c GETClient) ServicesListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ServicesListByResourceGroupOperationResponse, err error)

ServicesListByResourceGroup ...

func (GETClient) ServicesListByResourceGroupComplete

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

ServicesListByResourceGroupComplete retrieves all of the results into a single object

func (GETClient) ServicesListByResourceGroupCompleteMatchingPredicate

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

ServicesListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (GETClient) ServicesListComplete

ServicesListComplete retrieves all of the results into a single object

func (GETClient) ServicesListCompleteMatchingPredicate

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

ServicesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (GETClient) ServicesListSkus

func (c GETClient) ServicesListSkus(ctx context.Context, id ServiceId) (resp ServicesListSkusOperationResponse, err error)

ServicesListSkus ...

func (GETClient) ServicesListSkusComplete

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

ServicesListSkusComplete retrieves all of the results into a single object

func (GETClient) ServicesListSkusCompleteMatchingPredicate

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

ServicesListSkusCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (GETClient) TasksGet

func (c GETClient) TasksGet(ctx context.Context, id TaskId, options TasksGetOperationOptions) (result TasksGetOperationResponse, err error)

TasksGet ...

func (GETClient) TasksList

TasksList ...

func (GETClient) TasksListComplete

TasksListComplete retrieves all of the results into a single object

func (GETClient) TasksListCompleteMatchingPredicate

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

TasksListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (GETClient) UsagesList

func (c GETClient) UsagesList(ctx context.Context, id LocationId) (resp UsagesListOperationResponse, err error)

UsagesList ...

func (GETClient) UsagesListComplete

func (c GETClient) UsagesListComplete(ctx context.Context, id LocationId) (UsagesListCompleteResult, error)

UsagesListComplete retrieves all of the results into a single object

func (GETClient) UsagesListCompleteMatchingPredicate

func (c GETClient) UsagesListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate QuotaOperationPredicate) (resp UsagesListCompleteResult, err error)

UsagesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

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

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type ODataError

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

type Project

type Project struct {
	Id         *string            `json:"id,omitempty"`
	Location   string             `json:"location"`
	Name       *string            `json:"name,omitempty"`
	Properties *ProjectProperties `json:"properties,omitempty"`
	Tags       *map[string]string `json:"tags,omitempty"`
	Type       *string            `json:"type,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 ProjectOperationPredicate

type ProjectOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ProjectOperationPredicate) Matches

func (p ProjectOperationPredicate) Matches(input Project) bool

type ProjectProperties

type ProjectProperties struct {
	CreationTime         *string                   `json:"creationTime,omitempty"`
	DatabasesInfo        *[]DatabaseInfo           `json:"databasesInfo,omitempty"`
	ProvisioningState    *ProjectProvisioningState `json:"provisioningState,omitempty"`
	SourceConnectionInfo *ConnectionInfo           `json:"sourceConnectionInfo,omitempty"`
	SourcePlatform       ProjectSourcePlatform     `json:"sourcePlatform"`
	TargetConnectionInfo *ConnectionInfo           `json:"targetConnectionInfo,omitempty"`
	TargetPlatform       ProjectTargetPlatform     `json:"targetPlatform"`
}

func (*ProjectProperties) GetCreationTimeAsTime

func (o *ProjectProperties) GetCreationTimeAsTime() (*time.Time, error)

func (*ProjectProperties) SetCreationTimeAsTime

func (o *ProjectProperties) SetCreationTimeAsTime(input time.Time)

type ProjectProvisioningState

type ProjectProvisioningState string
const (
	ProjectProvisioningStateDeleting  ProjectProvisioningState = "Deleting"
	ProjectProvisioningStateSucceeded ProjectProvisioningState = "Succeeded"
)

type ProjectSourcePlatform

type ProjectSourcePlatform string
const (
	ProjectSourcePlatformSQL     ProjectSourcePlatform = "SQL"
	ProjectSourcePlatformUnknown ProjectSourcePlatform = "Unknown"
)

type ProjectTargetPlatform

type ProjectTargetPlatform string
const (
	ProjectTargetPlatformSQLDB   ProjectTargetPlatform = "SQLDB"
	ProjectTargetPlatformUnknown ProjectTargetPlatform = "Unknown"
)

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"`
	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 {
	Commands *[]CommandProperties `json:"commands,omitempty"`
	Errors   *[]ODataError        `json:"errors,omitempty"`
	State    *TaskState           `json:"state,omitempty"`
	TaskType string               `json:"taskType"`
}

type ProjectsGetOperationResponse

type ProjectsGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *Project
}

type ProjectsListByResourceGroupCompleteResult

type ProjectsListByResourceGroupCompleteResult struct {
	Items []Project
}

type ProjectsListByResourceGroupOperationResponse

type ProjectsListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Project
	// contains filtered or unexported fields
}

func (ProjectsListByResourceGroupOperationResponse) HasMore

func (ProjectsListByResourceGroupOperationResponse) LoadMore

type Quota

type Quota struct {
	CurrentValue *float64   `json:"currentValue,omitempty"`
	Id           *string    `json:"id,omitempty"`
	Limit        *float64   `json:"limit,omitempty"`
	Name         *QuotaName `json:"name,omitempty"`
	Unit         *string    `json:"unit,omitempty"`
}

type QuotaName

type QuotaName struct {
	LocalizedValue *string `json:"localizedValue,omitempty"`
	Value          *string `json:"value,omitempty"`
}

type QuotaOperationPredicate

type QuotaOperationPredicate struct {
	CurrentValue *float64
	Id           *string
	Limit        *float64
	Unit         *string
}

func (QuotaOperationPredicate) Matches

func (p QuotaOperationPredicate) Matches(input Quota) bool

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 ResourceSku

type ResourceSku struct {
	ApiVersions  *[]string                  `json:"apiVersions,omitempty"`
	Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
	Capacity     *ResourceSkuCapacity       `json:"capacity,omitempty"`
	Costs        *[]ResourceSkuCosts        `json:"costs,omitempty"`
	Family       *string                    `json:"family,omitempty"`
	Kind         *string                    `json:"kind,omitempty"`
	Locations    *[]string                  `json:"locations,omitempty"`
	Name         *string                    `json:"name,omitempty"`
	ResourceType *string                    `json:"resourceType,omitempty"`
	Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"`
	Size         *string                    `json:"size,omitempty"`
	Tier         *string                    `json:"tier,omitempty"`
}

type ResourceSkuCapabilities

type ResourceSkuCapabilities struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type ResourceSkuCapacity

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

type ResourceSkuCapacityScaleType

type ResourceSkuCapacityScaleType string
const (
	ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic"
	ResourceSkuCapacityScaleTypeManual    ResourceSkuCapacityScaleType = "Manual"
	ResourceSkuCapacityScaleTypeNone      ResourceSkuCapacityScaleType = "None"
)

type ResourceSkuCosts

type ResourceSkuCosts struct {
	ExtendedUnit *string `json:"extendedUnit,omitempty"`
	MeterID      *string `json:"meterID,omitempty"`
	Quantity     *int64  `json:"quantity,omitempty"`
}

type ResourceSkuOperationPredicate

type ResourceSkuOperationPredicate struct {
	Family       *string
	Kind         *string
	Name         *string
	ResourceType *string
	Size         *string
	Tier         *string
}

func (ResourceSkuOperationPredicate) Matches

type ResourceSkuRestrictions

type ResourceSkuRestrictions struct {
	ReasonCode *ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
	Type       *ResourceSkuRestrictionsType       `json:"type,omitempty"`
	Values     *[]string                          `json:"values,omitempty"`
}

type ResourceSkuRestrictionsReasonCode

type ResourceSkuRestrictionsReasonCode string
const (
	ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
	ResourceSkuRestrictionsReasonCodeQuotaId                     ResourceSkuRestrictionsReasonCode = "QuotaId"
)

type ResourceSkuRestrictionsType

type ResourceSkuRestrictionsType string
const (
	ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "location"
)

type ResourceSkusListSkusCompleteResult

type ResourceSkusListSkusCompleteResult struct {
	Items []ResourceSku
}

type ResourceSkusListSkusOperationResponse

type ResourceSkusListSkusOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ResourceSku
	// contains filtered or unexported fields
}

func (ResourceSkusListSkusOperationResponse) HasMore

func (ResourceSkusListSkusOperationResponse) LoadMore

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"
)

type ServiceScalability

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

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 ServicesGetOperationResponse

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

type ServicesListByResourceGroupCompleteResult

type ServicesListByResourceGroupCompleteResult struct {
	Items []DataMigrationService
}

type ServicesListByResourceGroupOperationResponse

type ServicesListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DataMigrationService
	// contains filtered or unexported fields
}

func (ServicesListByResourceGroupOperationResponse) HasMore

func (ServicesListByResourceGroupOperationResponse) LoadMore

type ServicesListCompleteResult

type ServicesListCompleteResult struct {
	Items []DataMigrationService
}

type ServicesListOperationResponse

type ServicesListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DataMigrationService
	// contains filtered or unexported fields
}

func (ServicesListOperationResponse) HasMore

func (r ServicesListOperationResponse) HasMore() bool

func (ServicesListOperationResponse) LoadMore

type ServicesListSkusCompleteResult

type ServicesListSkusCompleteResult struct {
	Items []AvailableServiceSku
}

type ServicesListSkusOperationResponse

type ServicesListSkusOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]AvailableServiceSku
	// contains filtered or unexported fields
}

func (ServicesListSkusOperationResponse) HasMore

func (ServicesListSkusOperationResponse) LoadMore

type TaskId

type TaskId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
	ProjectName       string
	TaskName          string
}

TaskId is a struct representing the Resource ID for a Task

func NewTaskID

func NewTaskID(subscriptionId string, resourceGroupName string, serviceName string, projectName string, taskName string) TaskId

NewTaskID returns a new TaskId struct

func ParseTaskID

func ParseTaskID(input string) (*TaskId, error)

ParseTaskID parses 'input' into a TaskId

func ParseTaskIDInsensitively

func ParseTaskIDInsensitively(input string) (*TaskId, error)

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

func (TaskId) ID

func (id TaskId) ID() string

ID returns the formatted Task ID

func (TaskId) Segments

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

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

func (TaskId) String

func (id TaskId) String() string

String returns a human-readable description of this Task ID

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"
)

type TasksGetOperationOptions

type TasksGetOperationOptions struct {
	Expand *string
}

func DefaultTasksGetOperationOptions

func DefaultTasksGetOperationOptions() TasksGetOperationOptions

type TasksGetOperationResponse

type TasksGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *ProjectTask
}

type TasksListCompleteResult

type TasksListCompleteResult struct {
	Items []ProjectTask
}

type TasksListOperationOptions

type TasksListOperationOptions struct {
	TaskType *string
}

func DefaultTasksListOperationOptions

func DefaultTasksListOperationOptions() TasksListOperationOptions

type TasksListOperationResponse

type TasksListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ProjectTask
	// contains filtered or unexported fields
}

func (TasksListOperationResponse) HasMore

func (r TasksListOperationResponse) HasMore() bool

func (TasksListOperationResponse) LoadMore

type UsagesListCompleteResult

type UsagesListCompleteResult struct {
	Items []Quota
}

type UsagesListOperationResponse

type UsagesListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Quota
	// contains filtered or unexported fields
}

func (UsagesListOperationResponse) HasMore

func (r UsagesListOperationResponse) HasMore() bool

func (UsagesListOperationResponse) LoadMore

Jump to

Keyboard shortcuts

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