Documentation ¶
Index ¶
- func PossibleValuesForCommandState() []string
- func PossibleValuesForNameCheckFailureReason() []string
- func PossibleValuesForProjectProvisioningState() []string
- func PossibleValuesForProjectSourcePlatform() []string
- func PossibleValuesForProjectTargetPlatform() []string
- func PossibleValuesForResourceSkuCapacityScaleType() []string
- func PossibleValuesForResourceSkuRestrictionsReasonCode() []string
- func PossibleValuesForResourceSkuRestrictionsType() []string
- func PossibleValuesForServiceProvisioningState() []string
- func PossibleValuesForServiceScalability() []string
- func PossibleValuesForTaskState() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTaskID(input interface{}, key string) (warnings []string, errors []error)
- type AvailableServiceSku
- type AvailableServiceSkuCapacity
- type AvailableServiceSkuOperationPredicate
- type AvailableServiceSkuSku
- type CommandProperties
- type CommandState
- type ConnectionInfo
- type DataMigrationService
- type DataMigrationServiceOperationPredicate
- type DataMigrationServiceProperties
- type DatabaseInfo
- type LocationId
- type NameAvailabilityRequest
- type NameAvailabilityResponse
- type NameCheckFailureReason
- type ODataError
- type Project
- type ProjectId
- type ProjectOperationPredicate
- type ProjectProperties
- type ProjectProvisioningState
- type ProjectSourcePlatform
- type ProjectTargetPlatform
- type ProjectTask
- type ProjectTaskOperationPredicate
- type ProjectTaskProperties
- type ProjectsCreateOrUpdateOperationResponse
- type ProjectsDeleteOperationOptions
- type ProjectsDeleteOperationResponse
- type ProjectsGetOperationResponse
- type ProjectsListByResourceGroupCompleteResult
- type ProjectsListByResourceGroupCustomPager
- type ProjectsListByResourceGroupOperationResponse
- type ProjectsUpdateOperationResponse
- type Quota
- type QuotaName
- type QuotaOperationPredicate
- type ResourceGroupId
- type ResourceSku
- type ResourceSkuCapabilities
- type ResourceSkuCapacity
- type ResourceSkuCapacityScaleType
- type ResourceSkuCosts
- type ResourceSkuOperationPredicate
- type ResourceSkuRestrictions
- type ResourceSkuRestrictionsReasonCode
- type ResourceSkuRestrictionsType
- type ResourceSkusListSkusCompleteResult
- type ResourceSkusListSkusCustomPager
- type ResourceSkusListSkusOperationResponse
- type ServiceId
- type ServiceProvisioningState
- type ServiceScalability
- type ServiceSku
- type ServicesCheckNameAvailabilityOperationResponse
- type ServicesCreateOrUpdateOperationResponse
- type ServicesDeleteOperationOptions
- type ServicesDeleteOperationResponse
- type ServicesGetOperationResponse
- type ServicesListByResourceGroupCompleteResult
- type ServicesListByResourceGroupCustomPager
- type ServicesListByResourceGroupOperationResponse
- type ServicesListCompleteResult
- type ServicesListCustomPager
- type ServicesListOperationResponse
- type ServicesListSkusCompleteResult
- type ServicesListSkusCustomPager
- type ServicesListSkusOperationResponse
- type ServicesUpdateOperationResponse
- type StandardOperationClient
- func (c StandardOperationClient) ProjectsCreateOrUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsCreateOrUpdateOperationResponse, err error)
- func (c StandardOperationClient) ProjectsDelete(ctx context.Context, id ProjectId, options ProjectsDeleteOperationOptions) (result ProjectsDeleteOperationResponse, err error)
- func (c StandardOperationClient) ProjectsGet(ctx context.Context, id ProjectId) (result ProjectsGetOperationResponse, err error)
- func (c StandardOperationClient) ProjectsListByResourceGroup(ctx context.Context, id ServiceId) (result ProjectsListByResourceGroupOperationResponse, err error)
- func (c StandardOperationClient) ProjectsListByResourceGroupComplete(ctx context.Context, id ServiceId) (ProjectsListByResourceGroupCompleteResult, error)
- func (c StandardOperationClient) ProjectsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ProjectOperationPredicate) (result ProjectsListByResourceGroupCompleteResult, err error)
- func (c StandardOperationClient) ProjectsUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsUpdateOperationResponse, err error)
- func (c StandardOperationClient) ResourceSkusListSkus(ctx context.Context, id commonids.SubscriptionId) (result ResourceSkusListSkusOperationResponse, err error)
- func (c StandardOperationClient) ResourceSkusListSkusComplete(ctx context.Context, id commonids.SubscriptionId) (ResourceSkusListSkusCompleteResult, error)
- func (c StandardOperationClient) ResourceSkusListSkusCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ResourceSkusListSkusCompleteResult, err error)
- func (c StandardOperationClient) ServicesCheckNameAvailability(ctx context.Context, id LocationId, input NameAvailabilityRequest) (result ServicesCheckNameAvailabilityOperationResponse, err error)
- func (c StandardOperationClient) ServicesCreateOrUpdate(ctx context.Context, id ServiceId, input DataMigrationService) (result ServicesCreateOrUpdateOperationResponse, err error)
- func (c StandardOperationClient) ServicesCreateOrUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error
- func (c StandardOperationClient) ServicesDelete(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) (result ServicesDeleteOperationResponse, err error)
- func (c StandardOperationClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) error
- func (c StandardOperationClient) ServicesGet(ctx context.Context, id ServiceId) (result ServicesGetOperationResponse, err error)
- func (c StandardOperationClient) ServicesList(ctx context.Context, id commonids.SubscriptionId) (result ServicesListOperationResponse, err error)
- func (c StandardOperationClient) ServicesListByResourceGroup(ctx context.Context, id ResourceGroupId) (result ServicesListByResourceGroupOperationResponse, err error)
- func (c StandardOperationClient) ServicesListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ServicesListByResourceGroupCompleteResult, error)
- func (c StandardOperationClient) ServicesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, ...) (result ServicesListByResourceGroupCompleteResult, err error)
- func (c StandardOperationClient) ServicesListComplete(ctx context.Context, id commonids.SubscriptionId) (ServicesListCompleteResult, error)
- func (c StandardOperationClient) ServicesListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ServicesListCompleteResult, err error)
- func (c StandardOperationClient) ServicesListSkus(ctx context.Context, id ServiceId) (result ServicesListSkusOperationResponse, err error)
- func (c StandardOperationClient) ServicesListSkusComplete(ctx context.Context, id ServiceId) (ServicesListSkusCompleteResult, error)
- func (c StandardOperationClient) ServicesListSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (result ServicesListSkusCompleteResult, err error)
- func (c StandardOperationClient) ServicesUpdate(ctx context.Context, id ServiceId, input DataMigrationService) (result ServicesUpdateOperationResponse, err error)
- func (c StandardOperationClient) ServicesUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error
- func (c StandardOperationClient) TasksCreateOrUpdate(ctx context.Context, id TaskId, input ProjectTask) (result TasksCreateOrUpdateOperationResponse, err error)
- func (c StandardOperationClient) TasksDelete(ctx context.Context, id TaskId, options TasksDeleteOperationOptions) (result TasksDeleteOperationResponse, err error)
- func (c StandardOperationClient) TasksGet(ctx context.Context, id TaskId, options TasksGetOperationOptions) (result TasksGetOperationResponse, err error)
- func (c StandardOperationClient) TasksList(ctx context.Context, id ProjectId, options TasksListOperationOptions) (result TasksListOperationResponse, err error)
- func (c StandardOperationClient) TasksListComplete(ctx context.Context, id ProjectId, options TasksListOperationOptions) (TasksListCompleteResult, error)
- func (c StandardOperationClient) TasksListCompleteMatchingPredicate(ctx context.Context, id ProjectId, options TasksListOperationOptions, ...) (result TasksListCompleteResult, err error)
- func (c StandardOperationClient) TasksUpdate(ctx context.Context, id TaskId, input ProjectTask) (result TasksUpdateOperationResponse, err error)
- func (c StandardOperationClient) UsagesList(ctx context.Context, id LocationId) (result UsagesListOperationResponse, err error)
- func (c StandardOperationClient) UsagesListComplete(ctx context.Context, id LocationId) (UsagesListCompleteResult, error)
- func (c StandardOperationClient) UsagesListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate QuotaOperationPredicate) (result UsagesListCompleteResult, err error)
- type TaskId
- type TaskState
- type TasksCreateOrUpdateOperationResponse
- type TasksDeleteOperationOptions
- type TasksDeleteOperationResponse
- type TasksGetOperationOptions
- type TasksGetOperationResponse
- type TasksListCompleteResult
- type TasksListCustomPager
- type TasksListOperationOptions
- type TasksListOperationResponse
- type TasksUpdateOperationResponse
- type UsagesListCompleteResult
- type UsagesListCustomPager
- type UsagesListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCommandState ¶
func PossibleValuesForCommandState() []string
func PossibleValuesForNameCheckFailureReason ¶
func PossibleValuesForNameCheckFailureReason() []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 ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateProjectID ¶
ValidateProjectID checks that 'input' can be parsed as a Project ID
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateTaskID ¶
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 ¶
func (p AvailableServiceSkuOperationPredicate) Matches(input AvailableServiceSku) bool
type AvailableServiceSkuSku ¶
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 ConnectionInfo ¶
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 ¶
func (p DataMigrationServiceOperationPredicate) Matches(input DataMigrationService) bool
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 LocationId ¶
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) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
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 NameAvailabilityRequest ¶
type NameAvailabilityResponse ¶
type NameAvailabilityResponse struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *NameCheckFailureReason `json:"reason,omitempty"` }
type NameCheckFailureReason ¶
type NameCheckFailureReason string
const ( NameCheckFailureReasonAlreadyExists NameCheckFailureReason = "AlreadyExists" NameCheckFailureReasonInvalid NameCheckFailureReason = "Invalid" )
func (*NameCheckFailureReason) UnmarshalJSON ¶
func (s *NameCheckFailureReason) UnmarshalJSON(bytes []byte) error
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 ¶
ParseProjectID parses 'input' into a ProjectId
func ParseProjectIDInsensitively ¶
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) FromParseResult ¶
func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error
func (ProjectId) Segments ¶
func (id ProjectId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Project ID
type ProjectOperationPredicate ¶
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" )
func (*ProjectProvisioningState) UnmarshalJSON ¶
func (s *ProjectProvisioningState) UnmarshalJSON(bytes []byte) error
type ProjectSourcePlatform ¶
type ProjectSourcePlatform string
const ( ProjectSourcePlatformSQL ProjectSourcePlatform = "SQL" ProjectSourcePlatformUnknown ProjectSourcePlatform = "Unknown" )
func (*ProjectSourcePlatform) UnmarshalJSON ¶
func (s *ProjectSourcePlatform) UnmarshalJSON(bytes []byte) error
type ProjectTargetPlatform ¶
type ProjectTargetPlatform string
const ( ProjectTargetPlatformSQLDB ProjectTargetPlatform = "SQLDB" ProjectTargetPlatformUnknown ProjectTargetPlatform = "Unknown" )
func (*ProjectTargetPlatform) UnmarshalJSON ¶
func (s *ProjectTargetPlatform) UnmarshalJSON(bytes []byte) error
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 ¶
func (ProjectTaskOperationPredicate) Matches ¶
func (p ProjectTaskOperationPredicate) Matches(input ProjectTask) bool
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 ProjectsDeleteOperationOptions ¶
type ProjectsDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultProjectsDeleteOperationOptions ¶
func DefaultProjectsDeleteOperationOptions() ProjectsDeleteOperationOptions
func (ProjectsDeleteOperationOptions) ToHeaders ¶
func (o ProjectsDeleteOperationOptions) ToHeaders() *client.Headers
func (ProjectsDeleteOperationOptions) ToOData ¶
func (o ProjectsDeleteOperationOptions) ToOData() *odata.Query
func (ProjectsDeleteOperationOptions) ToQuery ¶
func (o ProjectsDeleteOperationOptions) ToQuery() *client.QueryParams
type ProjectsListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ProjectsListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ProjectsListByResourceGroupCustomPager) NextPageLink() *odata.Link
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 ¶
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) FromParseResult ¶
func (id *ResourceGroupId) FromParseResult(input resourceids.ParseResult) error
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 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" )
func (*ResourceSkuCapacityScaleType) UnmarshalJSON ¶
func (s *ResourceSkuCapacityScaleType) UnmarshalJSON(bytes []byte) error
type ResourceSkuCosts ¶
type ResourceSkuOperationPredicate ¶
type ResourceSkuOperationPredicate struct { Family *string Kind *string Name *string ResourceType *string Size *string Tier *string }
func (ResourceSkuOperationPredicate) Matches ¶
func (p ResourceSkuOperationPredicate) Matches(input ResourceSku) bool
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" )
func (*ResourceSkuRestrictionsReasonCode) UnmarshalJSON ¶
func (s *ResourceSkuRestrictionsReasonCode) UnmarshalJSON(bytes []byte) error
type ResourceSkuRestrictionsType ¶
type ResourceSkuRestrictionsType string
const (
ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "location"
)
func (*ResourceSkuRestrictionsType) UnmarshalJSON ¶
func (s *ResourceSkuRestrictionsType) UnmarshalJSON(bytes []byte) error
type ResourceSkusListSkusCompleteResult ¶
type ResourceSkusListSkusCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceSku }
type ResourceSkusListSkusCustomPager ¶ added in v0.20240628.1153531
func (*ResourceSkusListSkusCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ResourceSkusListSkusCustomPager) NextPageLink() *odata.Link
type ResourceSkusListSkusOperationResponse ¶
type ResourceSkusListSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceSku }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
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) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise 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 ¶
func (s *ServiceProvisioningState) UnmarshalJSON(bytes []byte) error
type ServiceScalability ¶
type ServiceScalability string
const ( ServiceScalabilityAutomatic ServiceScalability = "automatic" ServiceScalabilityManual ServiceScalability = "manual" ServiceScalabilityNone ServiceScalability = "none" )
func (*ServiceScalability) UnmarshalJSON ¶
func (s *ServiceScalability) UnmarshalJSON(bytes []byte) error
type ServiceSku ¶
type ServicesCheckNameAvailabilityOperationResponse ¶
type ServicesCheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NameAvailabilityResponse }
type ServicesDeleteOperationOptions ¶
type ServicesDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultServicesDeleteOperationOptions ¶
func DefaultServicesDeleteOperationOptions() ServicesDeleteOperationOptions
func (ServicesDeleteOperationOptions) ToHeaders ¶
func (o ServicesDeleteOperationOptions) ToHeaders() *client.Headers
func (ServicesDeleteOperationOptions) ToOData ¶
func (o ServicesDeleteOperationOptions) ToOData() *odata.Query
func (ServicesDeleteOperationOptions) ToQuery ¶
func (o ServicesDeleteOperationOptions) ToQuery() *client.QueryParams
type ServicesGetOperationResponse ¶
type ServicesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DataMigrationService }
type ServicesListByResourceGroupCompleteResult ¶
type ServicesListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []DataMigrationService }
type ServicesListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ServicesListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ServicesListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ServicesListByResourceGroupOperationResponse ¶
type ServicesListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataMigrationService }
type ServicesListCompleteResult ¶
type ServicesListCompleteResult struct { LatestHttpResponse *http.Response Items []DataMigrationService }
type ServicesListCustomPager ¶ added in v0.20240628.1153531
func (*ServicesListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ServicesListCustomPager) NextPageLink() *odata.Link
type ServicesListOperationResponse ¶
type ServicesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DataMigrationService }
type ServicesListSkusCompleteResult ¶
type ServicesListSkusCompleteResult struct { LatestHttpResponse *http.Response Items []AvailableServiceSku }
type ServicesListSkusCustomPager ¶ added in v0.20240628.1153531
func (*ServicesListSkusCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ServicesListSkusCustomPager) NextPageLink() *odata.Link
type ServicesListSkusOperationResponse ¶
type ServicesListSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AvailableServiceSku }
type StandardOperationClient ¶
type StandardOperationClient struct {
Client *resourcemanager.Client
}
func NewStandardOperationClientWithBaseURI ¶
func NewStandardOperationClientWithBaseURI(sdkApi sdkEnv.Api) (*StandardOperationClient, error)
func (StandardOperationClient) ProjectsCreateOrUpdate ¶
func (c StandardOperationClient) ProjectsCreateOrUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsCreateOrUpdateOperationResponse, err error)
ProjectsCreateOrUpdate ...
func (StandardOperationClient) ProjectsDelete ¶
func (c StandardOperationClient) ProjectsDelete(ctx context.Context, id ProjectId, options ProjectsDeleteOperationOptions) (result ProjectsDeleteOperationResponse, err error)
ProjectsDelete ...
func (StandardOperationClient) ProjectsGet ¶
func (c StandardOperationClient) ProjectsGet(ctx context.Context, id ProjectId) (result ProjectsGetOperationResponse, err error)
ProjectsGet ...
func (StandardOperationClient) ProjectsListByResourceGroup ¶
func (c StandardOperationClient) ProjectsListByResourceGroup(ctx context.Context, id ServiceId) (result ProjectsListByResourceGroupOperationResponse, err error)
ProjectsListByResourceGroup ...
func (StandardOperationClient) ProjectsListByResourceGroupComplete ¶
func (c StandardOperationClient) ProjectsListByResourceGroupComplete(ctx context.Context, id ServiceId) (ProjectsListByResourceGroupCompleteResult, error)
ProjectsListByResourceGroupComplete retrieves all the results into a single object
func (StandardOperationClient) ProjectsListByResourceGroupCompleteMatchingPredicate ¶
func (c StandardOperationClient) ProjectsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ProjectOperationPredicate) (result ProjectsListByResourceGroupCompleteResult, err error)
ProjectsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandardOperationClient) ProjectsUpdate ¶
func (c StandardOperationClient) ProjectsUpdate(ctx context.Context, id ProjectId, input Project) (result ProjectsUpdateOperationResponse, err error)
ProjectsUpdate ...
func (StandardOperationClient) ResourceSkusListSkus ¶
func (c StandardOperationClient) ResourceSkusListSkus(ctx context.Context, id commonids.SubscriptionId) (result ResourceSkusListSkusOperationResponse, err error)
ResourceSkusListSkus ...
func (StandardOperationClient) ResourceSkusListSkusComplete ¶
func (c StandardOperationClient) ResourceSkusListSkusComplete(ctx context.Context, id commonids.SubscriptionId) (ResourceSkusListSkusCompleteResult, error)
ResourceSkusListSkusComplete retrieves all the results into a single object
func (StandardOperationClient) ResourceSkusListSkusCompleteMatchingPredicate ¶
func (c StandardOperationClient) ResourceSkusListSkusCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ResourceSkuOperationPredicate) (result ResourceSkusListSkusCompleteResult, err error)
ResourceSkusListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandardOperationClient) ServicesCheckNameAvailability ¶
func (c StandardOperationClient) ServicesCheckNameAvailability(ctx context.Context, id LocationId, input NameAvailabilityRequest) (result ServicesCheckNameAvailabilityOperationResponse, err error)
ServicesCheckNameAvailability ...
func (StandardOperationClient) ServicesCreateOrUpdate ¶
func (c StandardOperationClient) ServicesCreateOrUpdate(ctx context.Context, id ServiceId, input DataMigrationService) (result ServicesCreateOrUpdateOperationResponse, err error)
ServicesCreateOrUpdate ...
func (StandardOperationClient) ServicesCreateOrUpdateThenPoll ¶
func (c StandardOperationClient) ServicesCreateOrUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error
ServicesCreateOrUpdateThenPoll performs ServicesCreateOrUpdate then polls until it's completed
func (StandardOperationClient) ServicesDelete ¶
func (c StandardOperationClient) ServicesDelete(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) (result ServicesDeleteOperationResponse, err error)
ServicesDelete ...
func (StandardOperationClient) ServicesDeleteThenPoll ¶
func (c StandardOperationClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) error
ServicesDeleteThenPoll performs ServicesDelete then polls until it's completed
func (StandardOperationClient) ServicesGet ¶
func (c StandardOperationClient) ServicesGet(ctx context.Context, id ServiceId) (result ServicesGetOperationResponse, err error)
ServicesGet ...
func (StandardOperationClient) ServicesList ¶
func (c StandardOperationClient) ServicesList(ctx context.Context, id commonids.SubscriptionId) (result ServicesListOperationResponse, err error)
ServicesList ...
func (StandardOperationClient) ServicesListByResourceGroup ¶
func (c StandardOperationClient) ServicesListByResourceGroup(ctx context.Context, id ResourceGroupId) (result ServicesListByResourceGroupOperationResponse, err error)
ServicesListByResourceGroup ...
func (StandardOperationClient) ServicesListByResourceGroupComplete ¶
func (c StandardOperationClient) ServicesListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ServicesListByResourceGroupCompleteResult, error)
ServicesListByResourceGroupComplete retrieves all the results into a single object
func (StandardOperationClient) ServicesListByResourceGroupCompleteMatchingPredicate ¶
func (c StandardOperationClient) ServicesListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate DataMigrationServiceOperationPredicate) (result ServicesListByResourceGroupCompleteResult, err error)
ServicesListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandardOperationClient) ServicesListComplete ¶
func (c StandardOperationClient) ServicesListComplete(ctx context.Context, id commonids.SubscriptionId) (ServicesListCompleteResult, error)
ServicesListComplete retrieves all the results into a single object
func (StandardOperationClient) ServicesListCompleteMatchingPredicate ¶
func (c StandardOperationClient) ServicesListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DataMigrationServiceOperationPredicate) (result ServicesListCompleteResult, err error)
ServicesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandardOperationClient) ServicesListSkus ¶
func (c StandardOperationClient) ServicesListSkus(ctx context.Context, id ServiceId) (result ServicesListSkusOperationResponse, err error)
ServicesListSkus ...
func (StandardOperationClient) ServicesListSkusComplete ¶
func (c StandardOperationClient) ServicesListSkusComplete(ctx context.Context, id ServiceId) (ServicesListSkusCompleteResult, error)
ServicesListSkusComplete retrieves all the results into a single object
func (StandardOperationClient) ServicesListSkusCompleteMatchingPredicate ¶
func (c StandardOperationClient) ServicesListSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate AvailableServiceSkuOperationPredicate) (result ServicesListSkusCompleteResult, err error)
ServicesListSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandardOperationClient) ServicesUpdate ¶
func (c StandardOperationClient) ServicesUpdate(ctx context.Context, id ServiceId, input DataMigrationService) (result ServicesUpdateOperationResponse, err error)
ServicesUpdate ...
func (StandardOperationClient) ServicesUpdateThenPoll ¶
func (c StandardOperationClient) ServicesUpdateThenPoll(ctx context.Context, id ServiceId, input DataMigrationService) error
ServicesUpdateThenPoll performs ServicesUpdate then polls until it's completed
func (StandardOperationClient) TasksCreateOrUpdate ¶
func (c StandardOperationClient) TasksCreateOrUpdate(ctx context.Context, id TaskId, input ProjectTask) (result TasksCreateOrUpdateOperationResponse, err error)
TasksCreateOrUpdate ...
func (StandardOperationClient) TasksDelete ¶
func (c StandardOperationClient) TasksDelete(ctx context.Context, id TaskId, options TasksDeleteOperationOptions) (result TasksDeleteOperationResponse, err error)
TasksDelete ...
func (StandardOperationClient) TasksGet ¶
func (c StandardOperationClient) TasksGet(ctx context.Context, id TaskId, options TasksGetOperationOptions) (result TasksGetOperationResponse, err error)
TasksGet ...
func (StandardOperationClient) TasksList ¶
func (c StandardOperationClient) TasksList(ctx context.Context, id ProjectId, options TasksListOperationOptions) (result TasksListOperationResponse, err error)
TasksList ...
func (StandardOperationClient) TasksListComplete ¶
func (c StandardOperationClient) TasksListComplete(ctx context.Context, id ProjectId, options TasksListOperationOptions) (TasksListCompleteResult, error)
TasksListComplete retrieves all the results into a single object
func (StandardOperationClient) TasksListCompleteMatchingPredicate ¶
func (c StandardOperationClient) TasksListCompleteMatchingPredicate(ctx context.Context, id ProjectId, options TasksListOperationOptions, predicate ProjectTaskOperationPredicate) (result TasksListCompleteResult, err error)
TasksListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StandardOperationClient) TasksUpdate ¶
func (c StandardOperationClient) TasksUpdate(ctx context.Context, id TaskId, input ProjectTask) (result TasksUpdateOperationResponse, err error)
TasksUpdate ...
func (StandardOperationClient) UsagesList ¶
func (c StandardOperationClient) UsagesList(ctx context.Context, id LocationId) (result UsagesListOperationResponse, err error)
UsagesList ...
func (StandardOperationClient) UsagesListComplete ¶
func (c StandardOperationClient) UsagesListComplete(ctx context.Context, id LocationId) (UsagesListCompleteResult, error)
UsagesListComplete retrieves all the results into a single object
func (StandardOperationClient) UsagesListCompleteMatchingPredicate ¶
func (c StandardOperationClient) UsagesListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate QuotaOperationPredicate) (result UsagesListCompleteResult, err error)
UsagesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 ¶
ParseTaskID parses 'input' into a TaskId
func ParseTaskIDInsensitively ¶
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) FromParseResult ¶
func (id *TaskId) FromParseResult(input resourceids.ParseResult) error
func (TaskId) Segments ¶
func (id TaskId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise 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" )
func (*TaskState) UnmarshalJSON ¶
type TasksCreateOrUpdateOperationResponse ¶
type TasksCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProjectTask }
type TasksDeleteOperationOptions ¶
type TasksDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultTasksDeleteOperationOptions ¶
func DefaultTasksDeleteOperationOptions() TasksDeleteOperationOptions
func (TasksDeleteOperationOptions) ToHeaders ¶
func (o TasksDeleteOperationOptions) ToHeaders() *client.Headers
func (TasksDeleteOperationOptions) ToOData ¶
func (o TasksDeleteOperationOptions) ToOData() *odata.Query
func (TasksDeleteOperationOptions) ToQuery ¶
func (o TasksDeleteOperationOptions) ToQuery() *client.QueryParams
type TasksGetOperationOptions ¶
type TasksGetOperationOptions struct {
Expand *string
}
func DefaultTasksGetOperationOptions ¶
func DefaultTasksGetOperationOptions() TasksGetOperationOptions
func (TasksGetOperationOptions) ToHeaders ¶
func (o TasksGetOperationOptions) ToHeaders() *client.Headers
func (TasksGetOperationOptions) ToOData ¶
func (o TasksGetOperationOptions) ToOData() *odata.Query
func (TasksGetOperationOptions) ToQuery ¶
func (o TasksGetOperationOptions) ToQuery() *client.QueryParams
type TasksGetOperationResponse ¶
type TasksGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProjectTask }
type TasksListCompleteResult ¶
type TasksListCompleteResult struct { LatestHttpResponse *http.Response Items []ProjectTask }
type TasksListCustomPager ¶ added in v0.20240628.1153531
func (*TasksListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *TasksListCustomPager) NextPageLink() *odata.Link
type TasksListOperationOptions ¶
type TasksListOperationOptions struct {
TaskType *string
}
func DefaultTasksListOperationOptions ¶
func DefaultTasksListOperationOptions() TasksListOperationOptions
func (TasksListOperationOptions) ToHeaders ¶
func (o TasksListOperationOptions) ToHeaders() *client.Headers
func (TasksListOperationOptions) ToOData ¶
func (o TasksListOperationOptions) ToOData() *odata.Query
func (TasksListOperationOptions) ToQuery ¶
func (o TasksListOperationOptions) ToQuery() *client.QueryParams
type TasksListOperationResponse ¶
type TasksListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ProjectTask }
type TasksUpdateOperationResponse ¶
type TasksUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProjectTask }
type UsagesListCustomPager ¶ added in v0.20240628.1153531
func (*UsagesListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *UsagesListCustomPager) NextPageLink() *odata.Link
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_project.go
- id_resourcegroup.go
- id_service.go
- id_task.go
- method_projectscreateorupdate.go
- method_projectsdelete.go
- method_projectsget.go
- method_projectslistbyresourcegroup.go
- method_projectsupdate.go
- method_resourceskuslistskus.go
- method_serviceschecknameavailability.go
- method_servicescreateorupdate.go
- method_servicesdelete.go
- method_servicesget.go
- method_serviceslist.go
- method_serviceslistbyresourcegroup.go
- method_serviceslistskus.go
- method_servicesupdate.go
- method_taskscreateorupdate.go
- method_tasksdelete.go
- method_tasksget.go
- method_taskslist.go
- method_tasksupdate.go
- method_usageslist.go
- model_availableservicesku.go
- model_availableserviceskucapacity.go
- model_availableserviceskusku.go
- model_commandproperties.go
- model_connectioninfo.go
- model_databaseinfo.go
- model_datamigrationservice.go
- model_datamigrationserviceproperties.go
- model_nameavailabilityrequest.go
- model_nameavailabilityresponse.go
- model_odataerror.go
- model_project.go
- model_projectproperties.go
- model_projecttask.go
- model_projecttaskproperties.go
- model_quota.go
- model_quotaname.go
- model_resourcesku.go
- model_resourceskucapabilities.go
- model_resourceskucapacity.go
- model_resourceskucosts.go
- model_resourceskurestrictions.go
- model_servicesku.go
- predicates.go
- version.go