analysisservices

package
v67.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/analysisservices/armanalysisservices(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/analysisservices/armanalysisservices). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package analysisservices implements the Azure ARM Analysisservices service API version 2016-05-16.

The Azure Analysis Services Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Analysis Services servers

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Analysisservices
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Analysisservices.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CheckServerNameAvailabilityParameters

type CheckServerNameAvailabilityParameters struct {
	// Name - Name for checking availability.
	Name *string `json:"name,omitempty"`
	// Type - The resource type of azure analysis services.
	Type *string `json:"type,omitempty"`
}

CheckServerNameAvailabilityParameters details of server name request body.

type CheckServerNameAvailabilityResult

type CheckServerNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	// NameAvailable - Indicator of available of the server name.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - The reason of unavailability.
	Reason *string `json:"reason,omitempty"`
	// Message - The detailed message of the request unavailability.
	Message *string `json:"message,omitempty"`
}

CheckServerNameAvailabilityResult the checking result of server name availability.

type ErrorResponse

type ErrorResponse struct {
	// Code - Error code
	Code *string `json:"code,omitempty"`
	// Message - Error message indicating why the operation failed.
	Message *string `json:"message,omitempty"`
}

ErrorResponse describes the format of Error response.

type OperationStatus

type OperationStatus struct {
	autorest.Response `json:"-"`
	// ID - The operation Id.
	ID *string `json:"id,omitempty"`
	// Name - The operation name.
	Name *string `json:"name,omitempty"`
	// StartTime - The start time of the operation.
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - The end time of the operation.
	EndTime *string `json:"endTime,omitempty"`
	// Status - The status of the operation.
	Status *string `json:"status,omitempty"`
	// Error - The error detail of the operation if any.
	Error *ErrorResponse `json:"error,omitempty"`
}

OperationStatus the status of operation.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Deleting ...
	Deleting ProvisioningState = "Deleting"
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Paused ...
	Paused ProvisioningState = "Paused"
	// Pausing ...
	Pausing ProvisioningState = "Pausing"
	// Preparing ...
	Preparing ProvisioningState = "Preparing"
	// Provisioning ...
	Provisioning ProvisioningState = "Provisioning"
	// Resuming ...
	Resuming ProvisioningState = "Resuming"
	// Scaling ...
	Scaling ProvisioningState = "Scaling"
	// Succeeded ...
	Succeeded ProvisioningState = "Succeeded"
	// Suspended ...
	Suspended ProvisioningState = "Suspended"
	// Suspending ...
	Suspending ProvisioningState = "Suspending"
	// Updating ...
	Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; An identifier that represents the Analysis Services resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the Analysis Services resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the Analysis Services resource.
	Type *string `json:"type,omitempty"`
	// Location - Location of the Analysis Services resource.
	Location *string `json:"location,omitempty"`
	// Sku - The SKU of the Analysis Services resource.
	Sku *ResourceSku `json:"sku,omitempty"`
	// Tags - Key-value pairs of additional resource provisioning properties.
	Tags map[string]*string `json:"tags"`
}

Resource represents an instance of an Analysis Services resource.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceSku

type ResourceSku struct {
	// Name - Name of the SKU level.
	Name *string `json:"name,omitempty"`
	// Tier - The name of the Azure pricing tier to which the SKU applies. Possible values include: 'Development', 'Basic', 'Standard'
	Tier SkuTier `json:"tier,omitempty"`
}

ResourceSku represents the SKU name and Azure pricing tier for Analysis Services resource.

type Server

type Server struct {
	autorest.Response `json:"-"`
	// ServerProperties - Properties of the provision operation request.
	*ServerProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; An identifier that represents the Analysis Services resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the Analysis Services resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the Analysis Services resource.
	Type *string `json:"type,omitempty"`
	// Location - Location of the Analysis Services resource.
	Location *string `json:"location,omitempty"`
	// Sku - The SKU of the Analysis Services resource.
	Sku *ResourceSku `json:"sku,omitempty"`
	// Tags - Key-value pairs of additional resource provisioning properties.
	Tags map[string]*string `json:"tags"`
}

Server represents an instance of an Analysis Services resource.

func (Server) MarshalJSON

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

MarshalJSON is the custom marshaler for Server.

func (*Server) UnmarshalJSON

func (s *Server) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Server struct.

type ServerAdministrators

type ServerAdministrators struct {
	// Members - An array of administrator user identities.
	Members *[]string `json:"members,omitempty"`
}

ServerAdministrators an array of administrator user identities

type ServerMutableProperties

type ServerMutableProperties struct {
	// AsAdministrators - A collection of AS server administrators
	AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"`
	// BackupBlobContainerURI - The container URI of backup blob.
	BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"`
}

ServerMutableProperties an object that represents a set of mutable Analysis Services resource properties.

type ServerProperties

type ServerProperties struct {
	// State - READ-ONLY; The current state of Analysis Services resource. The state is to indicate more states outside of resource provisioning. Possible values include: 'StateDeleting', 'StateSucceeded', 'StateFailed', 'StatePaused', 'StateSuspended', 'StateProvisioning', 'StateUpdating', 'StateSuspending', 'StatePausing', 'StateResuming', 'StatePreparing', 'StateScaling'
	State State `json:"state,omitempty"`
	// ProvisioningState - READ-ONLY; The current deployment state of Analysis Services resource. The provisioningState is to indicate states for resource provisioning. Possible values include: 'Deleting', 'Succeeded', 'Failed', 'Paused', 'Suspended', 'Provisioning', 'Updating', 'Suspending', 'Pausing', 'Resuming', 'Preparing', 'Scaling'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ServerFullName - READ-ONLY; The full name of the Analysis Services resource.
	ServerFullName *string `json:"serverFullName,omitempty"`
	// AsAdministrators - A collection of AS server administrators
	AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"`
	// BackupBlobContainerURI - The container URI of backup blob.
	BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"`
}

ServerProperties properties of Analysis Services resource.

func (ServerProperties) MarshalJSON

func (sp ServerProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerProperties.

type ServerUpdateParameters

type ServerUpdateParameters struct {
	// Sku - The SKU of the Analysis Services resource.
	Sku *ResourceSku `json:"sku,omitempty"`
	// Tags - Key-value pairs of additional provisioning properties.
	Tags map[string]*string `json:"tags"`
	// ServerMutableProperties - Properties of the provision operation request.
	*ServerMutableProperties `json:"properties,omitempty"`
}

ServerUpdateParameters provision request specification

func (ServerUpdateParameters) MarshalJSON

func (sup ServerUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServerUpdateParameters.

func (*ServerUpdateParameters) UnmarshalJSON

func (sup *ServerUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServerUpdateParameters struct.

type Servers

type Servers struct {
	autorest.Response `json:"-"`
	// Value - An array of Analysis Services resources.
	Value *[]Server `json:"value,omitempty"`
}

Servers an array of Analysis Services resources.

type ServersClient

type ServersClient struct {
	BaseClient
}

ServersClient is the the Azure Analysis Services Web API provides a RESTful set of web services that enables users to create, retrieve, update, and delete Analysis Services servers

func NewServersClient

func NewServersClient(subscriptionID string) ServersClient

NewServersClient creates an instance of the ServersClient client.

func NewServersClientWithBaseURI

func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient

NewServersClientWithBaseURI creates an instance of the ServersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServersClient) CheckNameAvailability

func (client ServersClient) CheckNameAvailability(ctx context.Context, location string, serverParameters CheckServerNameAvailabilityParameters) (result CheckServerNameAvailabilityResult, err error)

CheckNameAvailability check the name availability in the target location. Parameters: location - the region name which the operation will lookup into. serverParameters - contains the information used to provision the Analysis Services server.

func (ServersClient) CheckNameAvailabilityPreparer

func (client ServersClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, serverParameters CheckServerNameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ServersClient) CheckNameAvailabilityResponder

func (client ServersClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckServerNameAvailabilityResult, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (ServersClient) CheckNameAvailabilitySender

func (client ServersClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Create

func (client ServersClient) Create(ctx context.Context, resourceGroupName string, serverName string, serverParameters Server) (result ServersCreateFuture, err error)

Create provisions the specified Analysis Services server based on the configuration specified in the request. Parameters: resourceGroupName - the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName - the name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63. serverParameters - contains the information used to provision the Analysis Services server.

func (ServersClient) CreatePreparer

func (client ServersClient) CreatePreparer(ctx context.Context, resourceGroupName string, serverName string, serverParameters Server) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ServersClient) CreateResponder

func (client ServersClient) CreateResponder(resp *http.Response) (result Server, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ServersClient) CreateSender

func (client ServersClient) CreateSender(req *http.Request) (future ServersCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Delete

func (client ServersClient) Delete(ctx context.Context, resourceGroupName string, serverName string) (result ServersDeleteFuture, err error)

Delete deletes the specified Analysis Services server. Parameters: resourceGroupName - the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.

func (ServersClient) DeletePreparer

func (client ServersClient) DeletePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServersClient) DeleteResponder

func (client ServersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ServersClient) DeleteSender

func (client ServersClient) DeleteSender(req *http.Request) (future ServersDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ServersClient) GetDetails

func (client ServersClient) GetDetails(ctx context.Context, resourceGroupName string, serverName string) (result Server, err error)

GetDetails gets details about the specified Analysis Services server. Parameters: resourceGroupName - the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName - the name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63.

func (ServersClient) GetDetailsPreparer

func (client ServersClient) GetDetailsPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

GetDetailsPreparer prepares the GetDetails request.

func (ServersClient) GetDetailsResponder

func (client ServersClient) GetDetailsResponder(resp *http.Response) (result Server, err error)

GetDetailsResponder handles the response to the GetDetails request. The method always closes the http.Response Body.

func (ServersClient) GetDetailsSender

func (client ServersClient) GetDetailsSender(req *http.Request) (*http.Response, error)

GetDetailsSender sends the GetDetails request. The method will close the http.Response Body if it receives an error.

func (ServersClient) List

func (client ServersClient) List(ctx context.Context) (result Servers, err error)

List lists all the Analysis Services servers for the given subscription.

func (ServersClient) ListByResourceGroup

func (client ServersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result Servers, err error)

ListByResourceGroup gets all the Analysis Services servers for the given resource group. Parameters: resourceGroupName - the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90.

func (ServersClient) ListByResourceGroupPreparer

func (client ServersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServersClient) ListByResourceGroupResponder

func (client ServersClient) ListByResourceGroupResponder(resp *http.Response) (result Servers, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ServersClient) ListByResourceGroupSender

func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ServersClient) ListOperationResults

func (client ServersClient) ListOperationResults(ctx context.Context, location string, operationID string) (result autorest.Response, err error)

ListOperationResults list the result of the specified operation. Parameters: location - the region name which the operation will lookup into. operationID - the target operation Id.

func (ServersClient) ListOperationResultsPreparer

func (client ServersClient) ListOperationResultsPreparer(ctx context.Context, location string, operationID string) (*http.Request, error)

ListOperationResultsPreparer prepares the ListOperationResults request.

func (ServersClient) ListOperationResultsResponder

func (client ServersClient) ListOperationResultsResponder(resp *http.Response) (result autorest.Response, err error)

ListOperationResultsResponder handles the response to the ListOperationResults request. The method always closes the http.Response Body.

func (ServersClient) ListOperationResultsSender

func (client ServersClient) ListOperationResultsSender(req *http.Request) (*http.Response, error)

ListOperationResultsSender sends the ListOperationResults request. The method will close the http.Response Body if it receives an error.

func (ServersClient) ListOperationStatuses

func (client ServersClient) ListOperationStatuses(ctx context.Context, location string, operationID string) (result OperationStatus, err error)

ListOperationStatuses list the status of operation. Parameters: location - the region name which the operation will lookup into. operationID - the target operation Id.

func (ServersClient) ListOperationStatusesPreparer

func (client ServersClient) ListOperationStatusesPreparer(ctx context.Context, location string, operationID string) (*http.Request, error)

ListOperationStatusesPreparer prepares the ListOperationStatuses request.

func (ServersClient) ListOperationStatusesResponder

func (client ServersClient) ListOperationStatusesResponder(resp *http.Response) (result OperationStatus, err error)

ListOperationStatusesResponder handles the response to the ListOperationStatuses request. The method always closes the http.Response Body.

func (ServersClient) ListOperationStatusesSender

func (client ServersClient) ListOperationStatusesSender(req *http.Request) (*http.Response, error)

ListOperationStatusesSender sends the ListOperationStatuses request. The method will close the http.Response Body if it receives an error.

func (ServersClient) ListPreparer

func (client ServersClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ServersClient) ListResponder

func (client ServersClient) ListResponder(resp *http.Response) (result Servers, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ServersClient) ListSender

func (client ServersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ServersClient) ListSkusForExisting

func (client ServersClient) ListSkusForExisting(ctx context.Context, resourceGroupName string, serverName string) (result SkuEnumerationForExistingResourceResult, err error)

ListSkusForExisting lists eligible SKUs for an Analysis Services resource. Parameters: resourceGroupName - the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.

func (ServersClient) ListSkusForExistingPreparer

func (client ServersClient) ListSkusForExistingPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ListSkusForExistingPreparer prepares the ListSkusForExisting request.

func (ServersClient) ListSkusForExistingResponder

func (client ServersClient) ListSkusForExistingResponder(resp *http.Response) (result SkuEnumerationForExistingResourceResult, err error)

ListSkusForExistingResponder handles the response to the ListSkusForExisting request. The method always closes the http.Response Body.

func (ServersClient) ListSkusForExistingSender

func (client ServersClient) ListSkusForExistingSender(req *http.Request) (*http.Response, error)

ListSkusForExistingSender sends the ListSkusForExisting request. The method will close the http.Response Body if it receives an error.

func (ServersClient) ListSkusForNew

func (client ServersClient) ListSkusForNew(ctx context.Context) (result SkuEnumerationForNewResourceResult, err error)

ListSkusForNew lists eligible SKUs for Analysis Services resource provider.

func (ServersClient) ListSkusForNewPreparer

func (client ServersClient) ListSkusForNewPreparer(ctx context.Context) (*http.Request, error)

ListSkusForNewPreparer prepares the ListSkusForNew request.

func (ServersClient) ListSkusForNewResponder

func (client ServersClient) ListSkusForNewResponder(resp *http.Response) (result SkuEnumerationForNewResourceResult, err error)

ListSkusForNewResponder handles the response to the ListSkusForNew request. The method always closes the http.Response Body.

func (ServersClient) ListSkusForNewSender

func (client ServersClient) ListSkusForNewSender(req *http.Request) (*http.Response, error)

ListSkusForNewSender sends the ListSkusForNew request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Resume

func (client ServersClient) Resume(ctx context.Context, resourceGroupName string, serverName string) (result ServersResumeFuture, err error)

Resume resumes operation of the specified Analysis Services server instance. Parameters: resourceGroupName - the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.

func (ServersClient) ResumePreparer

func (client ServersClient) ResumePreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (ServersClient) ResumeResponder

func (client ServersClient) ResumeResponder(resp *http.Response) (result autorest.Response, err error)

ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.

func (ServersClient) ResumeSender

func (client ServersClient) ResumeSender(req *http.Request) (future ServersResumeFuture, err error)

ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Suspend

func (client ServersClient) Suspend(ctx context.Context, resourceGroupName string, serverName string) (result ServersSuspendFuture, err error)

Suspend suspends operation of the specified Analysis Services server instance. Parameters: resourceGroupName - the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63.

func (ServersClient) SuspendPreparer

func (client ServersClient) SuspendPreparer(ctx context.Context, resourceGroupName string, serverName string) (*http.Request, error)

SuspendPreparer prepares the Suspend request.

func (ServersClient) SuspendResponder

func (client ServersClient) SuspendResponder(resp *http.Response) (result autorest.Response, err error)

SuspendResponder handles the response to the Suspend request. The method always closes the http.Response Body.

func (ServersClient) SuspendSender

func (client ServersClient) SuspendSender(req *http.Request) (future ServersSuspendFuture, err error)

SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.

func (ServersClient) Update

func (client ServersClient) Update(ctx context.Context, resourceGroupName string, serverName string, serverUpdateParameters ServerUpdateParameters) (result ServersUpdateFuture, err error)

Update updates the current state of the specified Analysis Services server. Parameters: resourceGroupName - the name of the Azure Resource group of which a given Analysis Services server is part. This name must be at least 1 character in length, and no more than 90. serverName - the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63. serverUpdateParameters - request object that contains the updated information for the server.

func (ServersClient) UpdatePreparer

func (client ServersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serverName string, serverUpdateParameters ServerUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServersClient) UpdateResponder

func (client ServersClient) UpdateResponder(resp *http.Response) (result Server, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ServersClient) UpdateSender

func (client ServersClient) UpdateSender(req *http.Request) (future ServersUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ServersCreateFuture

type ServersCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServersClient) (Server, error)
}

ServersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersCreateFuture) UnmarshalJSON

func (future *ServersCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServersDeleteFuture

type ServersDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServersClient) (autorest.Response, error)
}

ServersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersDeleteFuture) UnmarshalJSON

func (future *ServersDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServersResumeFuture

type ServersResumeFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServersClient) (autorest.Response, error)
}

ServersResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersResumeFuture) UnmarshalJSON

func (future *ServersResumeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServersSuspendFuture

type ServersSuspendFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServersClient) (autorest.Response, error)
}

ServersSuspendFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersSuspendFuture) UnmarshalJSON

func (future *ServersSuspendFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServersUpdateFuture

type ServersUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ServersClient) (Server, error)
}

ServersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServersUpdateFuture) UnmarshalJSON

func (future *ServersUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SkuDetailsForExistingResource

type SkuDetailsForExistingResource struct {
	// Sku - The SKU in SKU details for existing resources.
	Sku *ResourceSku `json:"sku,omitempty"`
}

SkuDetailsForExistingResource an object that represents SKU details for existing resources

type SkuEnumerationForExistingResourceResult

type SkuEnumerationForExistingResourceResult struct {
	autorest.Response `json:"-"`
	// Value - The collection of available SKUs for existing resources
	Value *[]SkuDetailsForExistingResource `json:"value,omitempty"`
}

SkuEnumerationForExistingResourceResult an object that represents enumerating SKUs for existing resources

type SkuEnumerationForNewResourceResult

type SkuEnumerationForNewResourceResult struct {
	autorest.Response `json:"-"`
	// Value - The collection of available SKUs for new resources
	Value *[]ResourceSku `json:"value,omitempty"`
}

SkuEnumerationForNewResourceResult an object that represents enumerating SKUs for new resources

type SkuTier

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
	// Basic ...
	Basic SkuTier = "Basic"
	// Development ...
	Development SkuTier = "Development"
	// Standard ...
	Standard SkuTier = "Standard"
)

func PossibleSkuTierValues

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type State

type State string

State enumerates the values for state.

const (
	// StateDeleting ...
	StateDeleting State = "Deleting"
	// StateFailed ...
	StateFailed State = "Failed"
	// StatePaused ...
	StatePaused State = "Paused"
	// StatePausing ...
	StatePausing State = "Pausing"
	// StatePreparing ...
	StatePreparing State = "Preparing"
	// StateProvisioning ...
	StateProvisioning State = "Provisioning"
	// StateResuming ...
	StateResuming State = "Resuming"
	// StateScaling ...
	StateScaling State = "Scaling"
	// StateSucceeded ...
	StateSucceeded State = "Succeeded"
	// StateSuspended ...
	StateSuspended State = "Suspended"
	// StateSuspending ...
	StateSuspending State = "Suspending"
	// StateUpdating ...
	StateUpdating State = "Updating"
)

func PossibleStateValues

func PossibleStateValues() []State

PossibleStateValues returns an array of possible values for the State const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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