servers

package
v0.20220622.1092028 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MPL-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForConnectionMode

func PossibleValuesForConnectionMode() []string

func PossibleValuesForManagedMode

func PossibleValuesForManagedMode() []int64

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForServerMonitorMode

func PossibleValuesForServerMonitorMode() []int64

func PossibleValuesForSkuTier

func PossibleValuesForSkuTier() []string

func PossibleValuesForState

func PossibleValuesForState() []string

func PossibleValuesForStatus

func PossibleValuesForStatus() []int64

func ValidateLocationID

func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateServerID

func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)

ValidateServerID checks that 'input' can be parsed as a Server ID

Types

type AnalysisServicesServer

type AnalysisServicesServer struct {
	Id         *string                           `json:"id,omitempty"`
	Location   string                            `json:"location"`
	Name       *string                           `json:"name,omitempty"`
	Properties *AnalysisServicesServerProperties `json:"properties,omitempty"`
	Sku        ResourceSku                       `json:"sku"`
	Tags       *map[string]string                `json:"tags,omitempty"`
	Type       *string                           `json:"type,omitempty"`
}

type AnalysisServicesServerMutableProperties

type AnalysisServicesServerMutableProperties struct {
	AsAdministrators        *ServerAdministrators `json:"asAdministrators,omitempty"`
	BackupBlobContainerUri  *string               `json:"backupBlobContainerUri,omitempty"`
	GatewayDetails          *GatewayDetails       `json:"gatewayDetails,omitempty"`
	IpV4FirewallSettings    *IPv4FirewallSettings `json:"ipV4FirewallSettings,omitempty"`
	ManagedMode             *ManagedMode          `json:"managedMode,omitempty"`
	QuerypoolConnectionMode *ConnectionMode       `json:"querypoolConnectionMode,omitempty"`
	ServerMonitorMode       *ServerMonitorMode    `json:"serverMonitorMode,omitempty"`
}

type AnalysisServicesServerProperties

type AnalysisServicesServerProperties struct {
	AsAdministrators        *ServerAdministrators `json:"asAdministrators,omitempty"`
	BackupBlobContainerUri  *string               `json:"backupBlobContainerUri,omitempty"`
	GatewayDetails          *GatewayDetails       `json:"gatewayDetails,omitempty"`
	IpV4FirewallSettings    *IPv4FirewallSettings `json:"ipV4FirewallSettings,omitempty"`
	ManagedMode             *ManagedMode          `json:"managedMode,omitempty"`
	ProvisioningState       *ProvisioningState    `json:"provisioningState,omitempty"`
	QuerypoolConnectionMode *ConnectionMode       `json:"querypoolConnectionMode,omitempty"`
	ServerFullName          *string               `json:"serverFullName,omitempty"`
	ServerMonitorMode       *ServerMonitorMode    `json:"serverMonitorMode,omitempty"`
	Sku                     *ResourceSku          `json:"sku,omitempty"`
	State                   *State                `json:"state,omitempty"`
}

type AnalysisServicesServerUpdateParameters

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

type AnalysisServicesServers

type AnalysisServicesServers struct {
	Value []AnalysisServicesServer `json:"value"`
}

type CheckNameAvailabilityOperationResponse

type CheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	Model        *CheckServerNameAvailabilityResult
}

type CheckServerNameAvailabilityParameters

type CheckServerNameAvailabilityParameters struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type CheckServerNameAvailabilityResult

type CheckServerNameAvailabilityResult struct {
	Message       *string `json:"message,omitempty"`
	NameAvailable *bool   `json:"nameAvailable,omitempty"`
	Reason        *string `json:"reason,omitempty"`
}

type ConnectionMode

type ConnectionMode string
const (
	ConnectionModeAll      ConnectionMode = "All"
	ConnectionModeReadOnly ConnectionMode = "ReadOnly"
)

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DissociateGatewayOperationResponse

type DissociateGatewayOperationResponse struct {
	HttpResponse *http.Response
}

type GatewayDetails

type GatewayDetails struct {
	DmtsClusterUri    *string `json:"dmtsClusterUri,omitempty"`
	GatewayObjectId   *string `json:"gatewayObjectId,omitempty"`
	GatewayResourceId *string `json:"gatewayResourceId,omitempty"`
}

type GatewayListStatusLive

type GatewayListStatusLive struct {
	Status *Status `json:"status,omitempty"`
}

type GetDetailsOperationResponse

type GetDetailsOperationResponse struct {
	HttpResponse *http.Response
	Model        *AnalysisServicesServer
}

type IPv4FirewallRule

type IPv4FirewallRule struct {
	FirewallRuleName *string `json:"firewallRuleName,omitempty"`
	RangeEnd         *string `json:"rangeEnd,omitempty"`
	RangeStart       *string `json:"rangeStart,omitempty"`
}

type IPv4FirewallSettings

type IPv4FirewallSettings struct {
	EnablePowerBIService *bool               `json:"enablePowerBIService,omitempty"`
	FirewallRules        *[]IPv4FirewallRule `json:"firewallRules,omitempty"`
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *AnalysisServicesServers
}

type ListGatewayStatusOperationResponse

type ListGatewayStatusOperationResponse struct {
	HttpResponse *http.Response
	Model        *GatewayListStatusLive
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *AnalysisServicesServers
}

type ListSkusForExistingOperationResponse

type ListSkusForExistingOperationResponse struct {
	HttpResponse *http.Response
	Model        *SkuEnumerationForExistingResourceResult
}

type LocationId

type LocationId struct {
	SubscriptionId string
	Location       string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, location string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

func (id LocationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type ManagedMode

type ManagedMode int64
const (
	ManagedModeOne  ManagedMode = 1
	ManagedModeZero ManagedMode = 0
)

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStatePaused       ProvisioningState = "Paused"
	ProvisioningStatePausing      ProvisioningState = "Pausing"
	ProvisioningStatePreparing    ProvisioningState = "Preparing"
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	ProvisioningStateResuming     ProvisioningState = "Resuming"
	ProvisioningStateScaling      ProvisioningState = "Scaling"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateSuspended    ProvisioningState = "Suspended"
	ProvisioningStateSuspending   ProvisioningState = "Suspending"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

type ResourceSku

type ResourceSku struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Name     string   `json:"name"`
	Tier     *SkuTier `json:"tier,omitempty"`
}

type ResumeOperationResponse

type ResumeOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ServerAdministrators

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

type ServerId

type ServerId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServerName        string
}

ServerId is a struct representing the Resource ID for a Server

func NewServerID

func NewServerID(subscriptionId string, resourceGroupName string, serverName string) ServerId

NewServerID returns a new ServerId struct

func ParseServerID

func ParseServerID(input string) (*ServerId, error)

ParseServerID parses 'input' into a ServerId

func ParseServerIDInsensitively

func ParseServerIDInsensitively(input string) (*ServerId, error)

ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input

func (ServerId) ID

func (id ServerId) ID() string

ID returns the formatted Server ID

func (ServerId) Segments

func (id ServerId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Server ID

func (ServerId) String

func (id ServerId) String() string

String returns a human-readable description of this Server ID

type ServerMonitorMode

type ServerMonitorMode int64
const (
	ServerMonitorModeOne  ServerMonitorMode = 1
	ServerMonitorModeZero ServerMonitorMode = 0
)

type ServersClient

type ServersClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewServersClientWithBaseURI

func NewServersClientWithBaseURI(endpoint string) ServersClient

func (ServersClient) CheckNameAvailability

CheckNameAvailability ...

func (ServersClient) Create

Create ...

func (ServersClient) CreateThenPoll

func (c ServersClient) CreateThenPoll(ctx context.Context, id ServerId, input AnalysisServicesServer) error

CreateThenPoll performs Create then polls until it's completed

func (ServersClient) Delete

func (c ServersClient) Delete(ctx context.Context, id ServerId) (result DeleteOperationResponse, err error)

Delete ...

func (ServersClient) DeleteThenPoll

func (c ServersClient) DeleteThenPoll(ctx context.Context, id ServerId) error

DeleteThenPoll performs Delete then polls until it's completed

func (ServersClient) DissociateGateway

func (c ServersClient) DissociateGateway(ctx context.Context, id ServerId) (result DissociateGatewayOperationResponse, err error)

DissociateGateway ...

func (ServersClient) GetDetails

func (c ServersClient) GetDetails(ctx context.Context, id ServerId) (result GetDetailsOperationResponse, err error)

GetDetails ...

func (ServersClient) List

List ...

func (ServersClient) ListByResourceGroup

ListByResourceGroup ...

func (ServersClient) ListGatewayStatus

func (c ServersClient) ListGatewayStatus(ctx context.Context, id ServerId) (result ListGatewayStatusOperationResponse, err error)

ListGatewayStatus ...

func (ServersClient) ListSkusForExisting

func (c ServersClient) ListSkusForExisting(ctx context.Context, id ServerId) (result ListSkusForExistingOperationResponse, err error)

ListSkusForExisting ...

func (ServersClient) Resume

func (c ServersClient) Resume(ctx context.Context, id ServerId) (result ResumeOperationResponse, err error)

Resume ...

func (ServersClient) ResumeThenPoll

func (c ServersClient) ResumeThenPoll(ctx context.Context, id ServerId) error

ResumeThenPoll performs Resume then polls until it's completed

func (ServersClient) Suspend

func (c ServersClient) Suspend(ctx context.Context, id ServerId) (result SuspendOperationResponse, err error)

Suspend ...

func (ServersClient) SuspendThenPoll

func (c ServersClient) SuspendThenPoll(ctx context.Context, id ServerId) error

SuspendThenPoll performs Suspend then polls until it's completed

func (ServersClient) Update

Update ...

func (ServersClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type SkuDetailsForExistingResource

type SkuDetailsForExistingResource struct {
	ResourceType *string      `json:"resourceType,omitempty"`
	Sku          *ResourceSku `json:"sku,omitempty"`
}

type SkuEnumerationForExistingResourceResult

type SkuEnumerationForExistingResourceResult struct {
	Value *[]SkuDetailsForExistingResource `json:"value,omitempty"`
}

type SkuTier

type SkuTier string
const (
	SkuTierBasic       SkuTier = "Basic"
	SkuTierDevelopment SkuTier = "Development"
	SkuTierStandard    SkuTier = "Standard"
)

type State

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

type Status

type Status int64
const (
	StatusZero Status = 0
)

type SuspendOperationResponse

type SuspendOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

Jump to

Keyboard shortcuts

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