azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices Index | Files | Directories

package analysisservices

import "github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices"

Package analysisservices implements the Azure ARM Analysisservices service API version 2017-08-01.

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

Package Files

client.go models.go operations.go servers.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type BaseClient Uses

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

BaseClient is the base client for Analysisservices.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CheckServerNameAvailabilityParameters Uses

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 Uses

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 ConnectionMode Uses

type ConnectionMode string

ConnectionMode enumerates the values for connection mode.

const (
    // All ...
    All ConnectionMode = "All"
    // ReadOnly ...
    ReadOnly ConnectionMode = "ReadOnly"
)

func PossibleConnectionModeValues Uses

func PossibleConnectionModeValues() []ConnectionMode

PossibleConnectionModeValues returns an array of possible values for the ConnectionMode const type.

type ErrorResponse Uses

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 GatewayDetails Uses

type GatewayDetails struct {
    // GatewayResourceID - Gateway resource to be associated with the server.
    GatewayResourceID *string `json:"gatewayResourceId,omitempty"`
    // GatewayObjectID - READ-ONLY; Gateway object id from in the DMTS cluster for the gateway resource.
    GatewayObjectID *string `json:"gatewayObjectId,omitempty"`
    // DmtsClusterURI - READ-ONLY; Uri of the DMTS cluster.
    DmtsClusterURI *string `json:"dmtsClusterUri,omitempty"`
}

GatewayDetails the gateway details.

type GatewayError Uses

type GatewayError struct {
    // Code - Error code of list gateway.
    Code *string `json:"code,omitempty"`
    // Message - Error message of list gateway.
    Message *string `json:"message,omitempty"`
}

GatewayError detail of gateway errors.

type GatewayListStatusError Uses

type GatewayListStatusError struct {
    // Error - Error of the list gateway status.
    Error *GatewayError `json:"error,omitempty"`
}

GatewayListStatusError status of gateway is error.

type GatewayListStatusLive Uses

type GatewayListStatusLive struct {
    autorest.Response `json:"-"`
    // Status - Live message of list gateway. Possible values include: 'Live'
    Status Status `json:"status,omitempty"`
}

GatewayListStatusLive status of gateway is live.

type IPv4FirewallRule Uses

type IPv4FirewallRule struct {
    // FirewallRuleName - The rule name.
    FirewallRuleName *string `json:"firewallRuleName,omitempty"`
    // RangeStart - The start range of IPv4.
    RangeStart *string `json:"rangeStart,omitempty"`
    // RangeEnd - The end range of IPv4.
    RangeEnd *string `json:"rangeEnd,omitempty"`
}

IPv4FirewallRule the detail of firewall rule.

type IPv4FirewallSettings Uses

type IPv4FirewallSettings struct {
    // FirewallRules - An array of firewall rules.
    FirewallRules *[]IPv4FirewallRule `json:"firewallRules,omitempty"`
    // EnablePowerBIService - The indicator of enabling PBI service.
    EnablePowerBIService *bool `json:"enablePowerBIService,omitempty"`
}

IPv4FirewallSettings an array of firewall rules.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The object that represents the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation a Consumption REST API operation.

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - READ-ONLY; Service provider: Microsoft.Consumption.
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; Resource on which the operation is performed: UsageDetail, etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - READ-ONLY; Operation type: Read, write, delete, etc.
    Operation *string `json:"operation,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of analysis services operations supported by the Microsoft.AnalysisServices resource provider.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - READ-ONLY; URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

type OperationListResultIterator struct {
    // contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext Uses

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage Uses

type OperationListResultPage struct {
    // contains filtered or unexported fields
}

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext Uses

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationStatus Uses

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 OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient 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 NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available consumption REST API operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

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

func (OperationsClient) ListSender Uses

func (client OperationsClient) 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.

type ProvisioningState Uses

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 Uses

func PossibleProvisioningStateValues() []ProvisioningState

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

type Resource Uses

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 Uses

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

MarshalJSON is the custom marshaler for Resource.

type ResourceSku Uses

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"`
    // Capacity - The number of instances in the read only query pool.
    Capacity *int32 `json:"capacity,omitempty"`
}

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

type Server Uses

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 Uses

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

MarshalJSON is the custom marshaler for Server.

func (*Server) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Server struct.

type ServerAdministrators Uses

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

ServerAdministrators an array of administrator user identities.

type ServerMutableProperties Uses

type ServerMutableProperties struct {
    // AsAdministrators - A collection of AS server administrators
    AsAdministrators *ServerAdministrators `json:"asAdministrators,omitempty"`
    // BackupBlobContainerURI - The SAS container URI to the backup container.
    BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"`
    // GatewayDetails - The gateway details configured for the AS server.
    GatewayDetails *GatewayDetails `json:"gatewayDetails,omitempty"`
    // IPV4FirewallSettings - The firewall settings for the AS server.
    IPV4FirewallSettings *IPv4FirewallSettings `json:"ipV4FirewallSettings,omitempty"`
    // QuerypoolConnectionMode - How the read-write server's participation in the query pool is controlled.<br/>It can have the following values: <ul><li>readOnly - indicates that the read-write server is intended not to participate in query operations</li><li>all - indicates that the read-write server can participate in query operations</li></ul>Specifying readOnly when capacity is 1 results in error. Possible values include: 'All', 'ReadOnly'
    QuerypoolConnectionMode ConnectionMode `json:"querypoolConnectionMode,omitempty"`
}

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

type ServerProperties Uses

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 SAS container URI to the backup container.
    BackupBlobContainerURI *string `json:"backupBlobContainerUri,omitempty"`
    // GatewayDetails - The gateway details configured for the AS server.
    GatewayDetails *GatewayDetails `json:"gatewayDetails,omitempty"`
    // IPV4FirewallSettings - The firewall settings for the AS server.
    IPV4FirewallSettings *IPv4FirewallSettings `json:"ipV4FirewallSettings,omitempty"`
    // QuerypoolConnectionMode - How the read-write server's participation in the query pool is controlled.<br/>It can have the following values: <ul><li>readOnly - indicates that the read-write server is intended not to participate in query operations</li><li>all - indicates that the read-write server can participate in query operations</li></ul>Specifying readOnly when capacity is 1 results in error. Possible values include: 'All', 'ReadOnly'
    QuerypoolConnectionMode ConnectionMode `json:"querypoolConnectionMode,omitempty"`
}

ServerProperties properties of Analysis Services resource.

type ServerUpdateParameters Uses

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 Uses

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

MarshalJSON is the custom marshaler for ServerUpdateParameters.

func (*ServerUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ServerUpdateParameters struct.

type Servers Uses

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 Uses

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 Uses

func NewServersClient(subscriptionID string) ServersClient

NewServersClient creates an instance of the ServersClient client.

func NewServersClientWithBaseURI Uses

func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient

NewServersClientWithBaseURI creates an instance of the ServersClient client.

func (ServersClient) CheckNameAvailability Uses

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 Uses

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ServersClient) CheckNameAvailabilityResponder Uses

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 Uses

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 Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (ServersClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ServersClient) DeleteResponder Uses

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 Uses

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) DissociateGateway Uses

func (client ServersClient) DissociateGateway(ctx context.Context, resourceGroupName string, serverName string) (result autorest.Response, err error)

DissociateGateway dissociates a Unified Gateway associated with the 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) DissociateGatewayPreparer Uses

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

DissociateGatewayPreparer prepares the DissociateGateway request.

func (ServersClient) DissociateGatewayResponder Uses

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

DissociateGatewayResponder handles the response to the DissociateGateway request. The method always closes the http.Response Body.

func (ServersClient) DissociateGatewaySender Uses

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

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

func (ServersClient) GetDetails Uses

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 Uses

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

GetDetailsPreparer prepares the GetDetails request.

func (ServersClient) GetDetailsResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServersClient) ListByResourceGroupResponder Uses

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 Uses

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) ListGatewayStatus Uses

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

ListGatewayStatus return the gateway status 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.

func (ServersClient) ListGatewayStatusPreparer Uses

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

ListGatewayStatusPreparer prepares the ListGatewayStatus request.

func (ServersClient) ListGatewayStatusResponder Uses

func (client ServersClient) ListGatewayStatusResponder(resp *http.Response) (result GatewayListStatusLive, err error)

ListGatewayStatusResponder handles the response to the ListGatewayStatus request. The method always closes the http.Response Body.

func (ServersClient) ListGatewayStatusSender Uses

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

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

func (ServersClient) ListOperationResults Uses

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 Uses

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

ListOperationResultsPreparer prepares the ListOperationResults request.

func (ServersClient) ListOperationResultsResponder Uses

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 Uses

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 Uses

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 Uses

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

ListOperationStatusesPreparer prepares the ListOperationStatuses request.

func (ServersClient) ListOperationStatusesResponder Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ServersClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

ListSkusForExistingPreparer prepares the ListSkusForExisting request.

func (ServersClient) ListSkusForExistingResponder Uses

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 Uses

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 Uses

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

ListSkusForNew lists eligible SKUs for Analysis Services resource provider.

func (ServersClient) ListSkusForNewPreparer Uses

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

ListSkusForNewPreparer prepares the ListSkusForNew request.

func (ServersClient) ListSkusForNewResponder Uses

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 Uses

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 Uses

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 Uses

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

ResumePreparer prepares the Resume request.

func (ServersClient) ResumeResponder Uses

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 Uses

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 Uses

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 Uses

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

SuspendPreparer prepares the Suspend request.

func (ServersClient) SuspendResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (ServersClient) UpdateResponder Uses

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 Uses

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 Uses

type ServersCreateFuture struct {
    azure.Future
}

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

func (*ServersCreateFuture) Result Uses

func (future *ServersCreateFuture) Result(client ServersClient) (s Server, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServersDeleteFuture Uses

type ServersDeleteFuture struct {
    azure.Future
}

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

func (*ServersDeleteFuture) Result Uses

func (future *ServersDeleteFuture) Result(client ServersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServersResumeFuture Uses

type ServersResumeFuture struct {
    azure.Future
}

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

func (*ServersResumeFuture) Result Uses

func (future *ServersResumeFuture) Result(client ServersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServersSuspendFuture Uses

type ServersSuspendFuture struct {
    azure.Future
}

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

func (*ServersSuspendFuture) Result Uses

func (future *ServersSuspendFuture) Result(client ServersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServersUpdateFuture Uses

type ServersUpdateFuture struct {
    azure.Future
}

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

func (*ServersUpdateFuture) Result Uses

func (future *ServersUpdateFuture) Result(client ServersClient) (s Server, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SkuDetailsForExistingResource Uses

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 Uses

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 Uses

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 Uses

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 Uses

func PossibleSkuTierValues() []SkuTier

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

type State Uses

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 Uses

func PossibleStateValues() []State

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

type Status Uses

type Status string

Status enumerates the values for status.

const (
    // Live ...
    Live Status = "Live"
)

func PossibleStatusValues Uses

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

Directories

PathSynopsis
analysisservicesapi

Package analysisservices imports 9 packages (graph) and is imported by 4 packages. Updated 2019-07-30. Refresh now. Tools for package owners.