analysisservices

package
v10.3.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 BackupConfiguration

type BackupConfiguration struct {
	StorageAccount *string `json:"storageAccount,omitempty"`
	BlobContainer  *string `json:"blobContainer,omitempty"`
	AccessKey      *string `json:"accessKey,omitempty"`
}

BackupConfiguration is an object that represents backup configurations

type ManagementClient

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

ManagementClient is the base client for Analysisservices.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Deleting specifies the deleting state for provisioning state.
	Deleting ProvisioningState = "Deleting"
	// Failed specifies the failed state for provisioning state.
	Failed ProvisioningState = "Failed"
	// Paused specifies the paused state for provisioning state.
	Paused ProvisioningState = "Paused"
	// Pausing specifies the pausing state for provisioning state.
	Pausing ProvisioningState = "Pausing"
	// Preparing specifies the preparing state for provisioning state.
	Preparing ProvisioningState = "Preparing"
	// Provisioning specifies the provisioning state for provisioning state.
	Provisioning ProvisioningState = "Provisioning"
	// Resuming specifies the resuming state for provisioning state.
	Resuming ProvisioningState = "Resuming"
	// Scaling specifies the scaling state for provisioning state.
	Scaling ProvisioningState = "Scaling"
	// Succeeded specifies the succeeded state for provisioning state.
	Succeeded ProvisioningState = "Succeeded"
	// Suspended specifies the suspended state for provisioning state.
	Suspended ProvisioningState = "Suspended"
	// Suspending specifies the suspending state for provisioning state.
	Suspending ProvisioningState = "Suspending"
	// Updating specifies the updating state for provisioning state.
	Updating ProvisioningState = "Updating"
)

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Sku      *ResourceSku        `json:"sku,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is represents an instance of an Analysis Services resource.

type ResourceSku

type ResourceSku struct {
	Name SkuName `json:"name,omitempty"`
	Tier SkuTier `json:"tier,omitempty"`
}

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

type Server

type Server struct {
	autorest.Response `json:"-"`
	ID                *string             `json:"id,omitempty"`
	Name              *string             `json:"name,omitempty"`
	Type              *string             `json:"type,omitempty"`
	Location          *string             `json:"location,omitempty"`
	Sku               *ResourceSku        `json:"sku,omitempty"`
	Tags              *map[string]*string `json:"tags,omitempty"`
	*ServerProperties `json:"properties,omitempty"`
}

Server is represents an instance of an Analysis Services resource.

type ServerAdministrators

type ServerAdministrators struct {
	Members *[]string `json:"members,omitempty"`
}

ServerAdministrators is an array of administrator user identities

type ServerMutableProperties

type ServerMutableProperties struct {
	AsAdministrators    *ServerAdministrators `json:"asAdministrators,omitempty"`
	BackupConfiguration *BackupConfiguration  `json:"backupConfiguration,omitempty"`
}

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

type ServerProperties

type ServerProperties struct {
	AsAdministrators    *ServerAdministrators `json:"asAdministrators,omitempty"`
	BackupConfiguration *BackupConfiguration  `json:"backupConfiguration,omitempty"`
	State               State                 `json:"state,omitempty"`
	ProvisioningState   ProvisioningState     `json:"provisioningState,omitempty"`
	ServerFullName      *string               `json:"serverFullName,omitempty"`
}

ServerProperties is properties of Analysis Services resource.

type ServerUpdateParameters

type ServerUpdateParameters struct {
	Sku                      *ResourceSku        `json:"sku,omitempty"`
	Tags                     *map[string]*string `json:"tags,omitempty"`
	*ServerMutableProperties `json:"properties,omitempty"`
}

ServerUpdateParameters is provision request specification

type Servers

type Servers struct {
	autorest.Response `json:"-"`
	Value             *[]Server `json:"value,omitempty"`
}

Servers is an array of Analysis Services resources.

type ServersClient

type ServersClient struct {
	ManagementClient
}

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.

func (ServersClient) Create

func (client ServersClient) Create(resourceGroupName string, serverName string, serverParameters Server, cancel <-chan struct{}) (<-chan Server, <-chan error)

Create provisions the specified Analysis Services server based on the configuration specified in the request. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is 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 is the name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63. serverParameters is contains the information used to provision the Analysis Services server.

func (ServersClient) CreatePreparer

func (client ServersClient) CreatePreparer(resourceGroupName string, serverName string, serverParameters Server, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified Analysis Services server. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is 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 is 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(resourceGroupName string, serverName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, serverName string) (result Server, err error)

GetDetails gets details about the specified Analysis Services server.

resourceGroupName is 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 is 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(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() (result Servers, err error)

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

func (ServersClient) ListByResourceGroup

func (client ServersClient) ListByResourceGroup(resourceGroupName string) (result Servers, err error)

ListByResourceGroup gets all the Analysis Services servers for the given resource group.

resourceGroupName is 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(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) ListPreparer

func (client ServersClient) ListPreparer() (*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) Resume

func (client ServersClient) Resume(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Resume resumes operation of the specified Analysis Services server instance. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is 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 is 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(resourceGroupName string, serverName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, serverName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Suspend supends operation of the specified Analysis Services server instance. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is 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 is 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(resourceGroupName string, serverName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, serverName string, serverUpdateParameters ServerUpdateParameters) (result Server, err error)

Update updates the current state of the specified Analysis Services server.

resourceGroupName is 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 is the name of the Analysis Services server. It must be at least 3 characters in length, and no more than 63. serverUpdateParameters is request object that contains the updated information for the server.

func (ServersClient) UpdatePreparer

func (client ServersClient) UpdatePreparer(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) (*http.Response, error)

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

type SkuName

type SkuName string

SkuName enumerates the values for sku name.

const (
	// B1 specifies the b1 state for sku name.
	B1 SkuName = "B1"
	// B2 specifies the b2 state for sku name.
	B2 SkuName = "B2"
	// D1 specifies the d1 state for sku name.
	D1 SkuName = "D1"
	// S0 specifies the s0 state for sku name.
	S0 SkuName = "S0"
	// S1 specifies the s1 state for sku name.
	S1 SkuName = "S1"
	// S2 specifies the s2 state for sku name.
	S2 SkuName = "S2"
	// S4 specifies the s4 state for sku name.
	S4 SkuName = "S4"
)

type SkuTier

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
	// Basic specifies the basic state for sku tier.
	Basic SkuTier = "Basic"
	// Development specifies the development state for sku tier.
	Development SkuTier = "Development"
	// Standard specifies the standard state for sku tier.
	Standard SkuTier = "Standard"
)

type State

type State string

State enumerates the values for state.

const (
	// StateDeleting specifies the state deleting state for state.
	StateDeleting State = "Deleting"
	// StateFailed specifies the state failed state for state.
	StateFailed State = "Failed"
	// StatePaused specifies the state paused state for state.
	StatePaused State = "Paused"
	// StatePausing specifies the state pausing state for state.
	StatePausing State = "Pausing"
	// StatePreparing specifies the state preparing state for state.
	StatePreparing State = "Preparing"
	// StateProvisioning specifies the state provisioning state for state.
	StateProvisioning State = "Provisioning"
	// StateResuming specifies the state resuming state for state.
	StateResuming State = "Resuming"
	// StateScaling specifies the state scaling state for state.
	StateScaling State = "Scaling"
	// StateSucceeded specifies the state succeeded state for state.
	StateSucceeded State = "Succeeded"
	// StateSuspended specifies the state suspended state for state.
	StateSuspended State = "Suspended"
	// StateSuspending specifies the state suspending state for state.
	StateSuspending State = "Suspending"
	// StateUpdating specifies the state updating state for state.
	StateUpdating State = "Updating"
)

Jump to

Keyboard shortcuts

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