analysisservices

package
v7.0.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: Apache-2.0 Imports: 5 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 (
	// APIVersion is the version of the Analysisservices
	APIVersion = "2016-05-16"

	// 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 ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	APIVersion     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 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"`
}

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

type ServerProperties

type ServerProperties struct {
	AsAdministrators  *ServerAdministrators `json:"asAdministrators,omitempty"`
	ProvisioningState *string               `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 ServersOperationsClient

type ServersOperationsClient struct {
	ManagementClient
}

ServersOperationsClient 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 NewServersOperationsClient

func NewServersOperationsClient(subscriptionID string) ServersOperationsClient

NewServersOperationsClient creates an instance of the ServersOperationsClient client.

func NewServersOperationsClientWithBaseURI

func NewServersOperationsClientWithBaseURI(baseURI string, subscriptionID string) ServersOperationsClient

NewServersOperationsClientWithBaseURI creates an instance of the ServersOperationsClient client.

func (ServersOperationsClient) Create

func (client ServersOperationsClient) Create(resourceGroupName string, serverName string, serverParameters Server, cancel <-chan struct{}) (result autorest.Response, err 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 (ServersOperationsClient) CreatePreparer

func (client ServersOperationsClient) CreatePreparer(resourceGroupName string, serverName string, serverParameters Server, cancel <-chan struct{}) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ServersOperationsClient) CreateResponder

func (client ServersOperationsClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (ServersOperationsClient) CreateSender

func (client ServersOperationsClient) 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 (ServersOperationsClient) Delete

func (client ServersOperationsClient) Delete(resourceGroupName string, serverName string, cancel <-chan struct{}) (result autorest.Response, err 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 (ServersOperationsClient) DeletePreparer

func (client ServersOperationsClient) DeletePreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServersOperationsClient) DeleteResponder

func (client ServersOperationsClient) 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 (ServersOperationsClient) DeleteSender

func (client ServersOperationsClient) 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 (ServersOperationsClient) GetDetails

func (client ServersOperationsClient) 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 (ServersOperationsClient) GetDetailsPreparer

func (client ServersOperationsClient) GetDetailsPreparer(resourceGroupName string, serverName string) (*http.Request, error)

GetDetailsPreparer prepares the GetDetails request.

func (ServersOperationsClient) GetDetailsResponder

func (client ServersOperationsClient) 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 (ServersOperationsClient) GetDetailsSender

func (client ServersOperationsClient) 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 (ServersOperationsClient) List

func (client ServersOperationsClient) List() (result Servers, err error)

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

func (ServersOperationsClient) ListByResourceGroup

func (client ServersOperationsClient) 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 (ServersOperationsClient) ListByResourceGroupPreparer

func (client ServersOperationsClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServersOperationsClient) ListByResourceGroupResponder

func (client ServersOperationsClient) 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 (ServersOperationsClient) ListByResourceGroupSender

func (client ServersOperationsClient) 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 (ServersOperationsClient) ListPreparer

func (client ServersOperationsClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (ServersOperationsClient) ListResponder

func (client ServersOperationsClient) 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 (ServersOperationsClient) ListSender

func (client ServersOperationsClient) 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 (ServersOperationsClient) Resume

func (client ServersOperationsClient) Resume(resourceGroupName string, serverName string, cancel <-chan struct{}) (result autorest.Response, err 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 (ServersOperationsClient) ResumePreparer

func (client ServersOperationsClient) ResumePreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (ServersOperationsClient) ResumeResponder

func (client ServersOperationsClient) 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 (ServersOperationsClient) ResumeSender

func (client ServersOperationsClient) 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 (ServersOperationsClient) Suspend

func (client ServersOperationsClient) Suspend(resourceGroupName string, serverName string, cancel <-chan struct{}) (result autorest.Response, err 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 (ServersOperationsClient) SuspendPreparer

func (client ServersOperationsClient) SuspendPreparer(resourceGroupName string, serverName string, cancel <-chan struct{}) (*http.Request, error)

SuspendPreparer prepares the Suspend request.

func (ServersOperationsClient) SuspendResponder

func (client ServersOperationsClient) 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 (ServersOperationsClient) SuspendSender

func (client ServersOperationsClient) 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 (ServersOperationsClient) Update

func (client ServersOperationsClient) 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 (ServersOperationsClient) UpdatePreparer

func (client ServersOperationsClient) UpdatePreparer(resourceGroupName string, serverName string, serverUpdateParameters ServerUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServersOperationsClient) UpdateResponder

func (client ServersOperationsClient) 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 (ServersOperationsClient) UpdateSender

func (client ServersOperationsClient) 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 (
	// D1 specifies the d1 state for sku name.
	D1 SkuName = "D1"
	// 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 (
	// Development specifies the development state for sku tier.
	Development SkuTier = "Development"
	// Standard specifies the standard state for sku tier.
	Standard SkuTier = "Standard"
)

Jump to

Keyboard shortcuts

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