azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/hanaonazure/mgmt/2017-11-03-preview/hanaonazure Index | Files | Directories

package hanaonazure

import "github.com/Azure/azure-sdk-for-go/services/preview/hanaonazure/mgmt/2017-11-03-preview/hanaonazure"

Package hanaonazure implements the Azure ARM Hanaonazure service API version 2017-11-03-preview.

HANA on Azure Client

Index

Package Files

client.go hanainstances.go models.go operations.go sapmonitors.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Hanaonazure
    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 Hanaonazure.

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

type Disk struct {
    // Name - The disk name.
    Name *string `json:"name,omitempty"`
    // DiskSizeGB - Specifies the size of an empty data disk in gigabytes.
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // Lun - READ-ONLY; Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
    Lun *int32 `json:"lun,omitempty"`
}

Disk specifies the disk information fo the HANA instance

type Display Uses

type Display struct {
    // Provider - READ-ONLY; The localized friendly form of the resource provider name. This form is also expected to include the publisher/company responsible. Use Title Casing. Begin with "Microsoft" for 1st party services.
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; The localized friendly form of the resource type related to this action/operation. This form should match the public documentation for the resource provider. Use Title Casing. For examples, refer to the “name” section.
    Resource *string `json:"resource,omitempty"`
    // Operation - READ-ONLY; The localized friendly name for the operation as shown to the user. This name should be concise (to fit in drop downs), but clear (self-documenting). Use Title Casing and include the entity/resource to which it applies.
    Operation *string `json:"operation,omitempty"`
    // Description - READ-ONLY; The localized friendly description for the operation as shown to the user. This description should be thorough, yet concise. It will be used in tool-tips and detailed views.
    Description *string `json:"description,omitempty"`
    // Origin - READ-ONLY; The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is 'user,system'
    Origin *string `json:"origin,omitempty"`
}

Display detailed HANA operation information

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

type HanaHardwareTypeNamesEnum string

HanaHardwareTypeNamesEnum enumerates the values for hana hardware type names enum.

const (
    // CiscoUCS ...
    CiscoUCS HanaHardwareTypeNamesEnum = "Cisco_UCS"
    // HPE ...
    HPE HanaHardwareTypeNamesEnum = "HPE"
)

func PossibleHanaHardwareTypeNamesEnumValues Uses

func PossibleHanaHardwareTypeNamesEnumValues() []HanaHardwareTypeNamesEnum

PossibleHanaHardwareTypeNamesEnumValues returns an array of possible values for the HanaHardwareTypeNamesEnum const type.

type HanaInstance Uses

type HanaInstance struct {
    autorest.Response `json:"-"`
    // HanaInstanceProperties - HANA instance properties
    *HanaInstanceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - READ-ONLY; Resource tags
    Tags map[string]*string `json:"tags"`
}

HanaInstance HANA instance info on Azure (ARM properties and HANA properties)

func (HanaInstance) MarshalJSON Uses

func (hi HanaInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HanaInstance.

func (*HanaInstance) UnmarshalJSON Uses

func (hi *HanaInstance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HanaInstance struct.

type HanaInstancePowerStateEnum Uses

type HanaInstancePowerStateEnum string

HanaInstancePowerStateEnum enumerates the values for hana instance power state enum.

const (
    // Restarting ...
    Restarting HanaInstancePowerStateEnum = "restarting"
    // Started ...
    Started HanaInstancePowerStateEnum = "started"
    // Starting ...
    Starting HanaInstancePowerStateEnum = "starting"
    // Stopped ...
    Stopped HanaInstancePowerStateEnum = "stopped"
    // Stopping ...
    Stopping HanaInstancePowerStateEnum = "stopping"
    // Unknown ...
    Unknown HanaInstancePowerStateEnum = "unknown"
)

func PossibleHanaInstancePowerStateEnumValues Uses

func PossibleHanaInstancePowerStateEnumValues() []HanaInstancePowerStateEnum

PossibleHanaInstancePowerStateEnumValues returns an array of possible values for the HanaInstancePowerStateEnum const type.

type HanaInstanceProperties Uses

type HanaInstanceProperties struct {
    // HardwareProfile - Specifies the hardware settings for the HANA instance.
    HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"`
    // StorageProfile - Specifies the storage settings for the HANA instance disks.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // OsProfile - Specifies the operating system settings for the HANA instance.
    OsProfile *OSProfile `json:"osProfile,omitempty"`
    // NetworkProfile - Specifies the network settings for the HANA instance.
    NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
    // HanaInstanceID - READ-ONLY; Specifies the HANA instance unique ID.
    HanaInstanceID *string `json:"hanaInstanceId,omitempty"`
    // PowerState - READ-ONLY; Resource power state. Possible values include: 'Starting', 'Started', 'Stopping', 'Stopped', 'Restarting', 'Unknown'
    PowerState HanaInstancePowerStateEnum `json:"powerState,omitempty"`
    // ProximityPlacementGroup - READ-ONLY; Resource proximity placement group
    ProximityPlacementGroup *string `json:"proximityPlacementGroup,omitempty"`
    // HwRevision - READ-ONLY; Hardware revision of a HANA instance
    HwRevision *string `json:"hwRevision,omitempty"`
    // PartnerNodeID - ARM ID of another HanaInstance that will share a network with this HanaInstance
    PartnerNodeID *string `json:"partnerNodeId,omitempty"`
    // ProvisioningState - READ-ONLY; State of provisioning of the HanaInstance. Possible values include: 'Accepted', 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'
    ProvisioningState HanaProvisioningStatesEnum `json:"provisioningState,omitempty"`
}

HanaInstanceProperties describes the properties of a HANA instance.

type HanaInstanceSizeNamesEnum Uses

type HanaInstanceSizeNamesEnum string

HanaInstanceSizeNamesEnum enumerates the values for hana instance size names enum.

const (
    // S112 ...
    S112 HanaInstanceSizeNamesEnum = "S112"
    // S144 ...
    S144 HanaInstanceSizeNamesEnum = "S144"
    // S144m ...
    S144m HanaInstanceSizeNamesEnum = "S144m"
    // S192 ...
    S192 HanaInstanceSizeNamesEnum = "S192"
    // S192m ...
    S192m HanaInstanceSizeNamesEnum = "S192m"
    // S192xm ...
    S192xm HanaInstanceSizeNamesEnum = "S192xm"
    // S224m ...
    S224m HanaInstanceSizeNamesEnum = "S224m"
    // S224o ...
    S224o HanaInstanceSizeNamesEnum = "S224o"
    // S224om ...
    S224om HanaInstanceSizeNamesEnum = "S224om"
    // S224oo ...
    S224oo HanaInstanceSizeNamesEnum = "S224oo"
    // S224oom ...
    S224oom HanaInstanceSizeNamesEnum = "S224oom"
    // S224ooo ...
    S224ooo HanaInstanceSizeNamesEnum = "S224ooo"
    // S224oxm ...
    S224oxm HanaInstanceSizeNamesEnum = "S224oxm"
    // S224oxxm ...
    S224oxxm HanaInstanceSizeNamesEnum = "S224oxxm"
    // S384 ...
    S384 HanaInstanceSizeNamesEnum = "S384"
    // S384m ...
    S384m HanaInstanceSizeNamesEnum = "S384m"
    // S384xm ...
    S384xm HanaInstanceSizeNamesEnum = "S384xm"
    // S384xxm ...
    S384xxm HanaInstanceSizeNamesEnum = "S384xxm"
    // S576m ...
    S576m HanaInstanceSizeNamesEnum = "S576m"
    // S576xm ...
    S576xm HanaInstanceSizeNamesEnum = "S576xm"
    // S72 ...
    S72 HanaInstanceSizeNamesEnum = "S72"
    // S72m ...
    S72m HanaInstanceSizeNamesEnum = "S72m"
    // S768 ...
    S768 HanaInstanceSizeNamesEnum = "S768"
    // S768m ...
    S768m HanaInstanceSizeNamesEnum = "S768m"
    // S768xm ...
    S768xm HanaInstanceSizeNamesEnum = "S768xm"
    // S96 ...
    S96 HanaInstanceSizeNamesEnum = "S96"
    // S960m ...
    S960m HanaInstanceSizeNamesEnum = "S960m"
)

func PossibleHanaInstanceSizeNamesEnumValues Uses

func PossibleHanaInstanceSizeNamesEnumValues() []HanaInstanceSizeNamesEnum

PossibleHanaInstanceSizeNamesEnumValues returns an array of possible values for the HanaInstanceSizeNamesEnum const type.

type HanaInstancesClient Uses

type HanaInstancesClient struct {
    BaseClient
}

HanaInstancesClient is the HANA on Azure Client

func NewHanaInstancesClient Uses

func NewHanaInstancesClient(subscriptionID string) HanaInstancesClient

NewHanaInstancesClient creates an instance of the HanaInstancesClient client.

func NewHanaInstancesClientWithBaseURI Uses

func NewHanaInstancesClientWithBaseURI(baseURI string, subscriptionID string) HanaInstancesClient

NewHanaInstancesClientWithBaseURI creates an instance of the HanaInstancesClient client.

func (HanaInstancesClient) Create Uses

func (client HanaInstancesClient) Create(ctx context.Context, resourceGroupName string, hanaInstanceName string, hanaInstanceParameter HanaInstance) (result HanaInstancesCreateFuture, err error)

Create creates a SAP HANA instance for the specified subscription, resource group, and instance name. Parameters: resourceGroupName - name of the resource group. hanaInstanceName - name of the SAP HANA on Azure instance. hanaInstanceParameter - request body representing a HanaInstance

func (HanaInstancesClient) CreatePreparer Uses

func (client HanaInstancesClient) CreatePreparer(ctx context.Context, resourceGroupName string, hanaInstanceName string, hanaInstanceParameter HanaInstance) (*http.Request, error)

CreatePreparer prepares the Create request.

func (HanaInstancesClient) CreateResponder Uses

func (client HanaInstancesClient) CreateResponder(resp *http.Response) (result HanaInstance, err error)

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

func (HanaInstancesClient) CreateSender Uses

func (client HanaInstancesClient) CreateSender(req *http.Request) (future HanaInstancesCreateFuture, err error)

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

func (HanaInstancesClient) Delete Uses

func (client HanaInstancesClient) Delete(ctx context.Context, resourceGroupName string, hanaInstanceName string) (result HanaInstancesDeleteFuture, err error)

Delete deletes a SAP HANA instance with the specified subscription, resource group, and instance name. Parameters: resourceGroupName - name of the resource group. hanaInstanceName - name of the SAP HANA on Azure instance.

func (HanaInstancesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (HanaInstancesClient) DeleteResponder Uses

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

func (client HanaInstancesClient) DeleteSender(req *http.Request) (future HanaInstancesDeleteFuture, err error)

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

func (HanaInstancesClient) Get Uses

func (client HanaInstancesClient) Get(ctx context.Context, resourceGroupName string, hanaInstanceName string) (result HanaInstance, err error)

Get gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name. Parameters: resourceGroupName - name of the resource group. hanaInstanceName - name of the SAP HANA on Azure instance.

func (HanaInstancesClient) GetPreparer Uses

func (client HanaInstancesClient) GetPreparer(ctx context.Context, resourceGroupName string, hanaInstanceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (HanaInstancesClient) GetResponder Uses

func (client HanaInstancesClient) GetResponder(resp *http.Response) (result HanaInstance, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (HanaInstancesClient) GetSender Uses

func (client HanaInstancesClient) GetSender(req *http.Request) (*http.Response, error)

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

func (HanaInstancesClient) List Uses

func (client HanaInstancesClient) List(ctx context.Context) (result HanaInstancesListResultPage, err error)

List gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.

func (HanaInstancesClient) ListByResourceGroup Uses

func (client HanaInstancesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result HanaInstancesListResultPage, err error)

ListByResourceGroup gets a list of SAP HANA instances in the specified subscription and the resource group. The operations returns various properties of each SAP HANA on Azure instance. Parameters: resourceGroupName - name of the resource group.

func (HanaInstancesClient) ListByResourceGroupComplete Uses

func (client HanaInstancesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result HanaInstancesListResultIterator, err error)

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

func (HanaInstancesClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (HanaInstancesClient) ListByResourceGroupResponder Uses

func (client HanaInstancesClient) ListByResourceGroupResponder(resp *http.Response) (result HanaInstancesListResult, err error)

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

func (HanaInstancesClient) ListByResourceGroupSender Uses

func (client HanaInstancesClient) 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 (HanaInstancesClient) ListComplete Uses

func (client HanaInstancesClient) ListComplete(ctx context.Context) (result HanaInstancesListResultIterator, err error)

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

func (HanaInstancesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (HanaInstancesClient) ListResponder Uses

func (client HanaInstancesClient) ListResponder(resp *http.Response) (result HanaInstancesListResult, err error)

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

func (HanaInstancesClient) ListSender Uses

func (client HanaInstancesClient) 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 (HanaInstancesClient) Restart Uses

func (client HanaInstancesClient) Restart(ctx context.Context, resourceGroupName string, hanaInstanceName string) (result HanaInstancesRestartFuture, err error)

Restart the operation to restart a SAP HANA instance. Parameters: resourceGroupName - name of the resource group. hanaInstanceName - name of the SAP HANA on Azure instance.

func (HanaInstancesClient) RestartPreparer Uses

func (client HanaInstancesClient) RestartPreparer(ctx context.Context, resourceGroupName string, hanaInstanceName string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (HanaInstancesClient) RestartResponder Uses

func (client HanaInstancesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (HanaInstancesClient) RestartSender Uses

func (client HanaInstancesClient) RestartSender(req *http.Request) (future HanaInstancesRestartFuture, err error)

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

func (HanaInstancesClient) Shutdown Uses

func (client HanaInstancesClient) Shutdown(ctx context.Context, resourceGroupName string, hanaInstanceName string) (result HanaInstancesShutdownFuture, err error)

Shutdown the operation to shutdown a SAP HANA instance. Parameters: resourceGroupName - name of the resource group. hanaInstanceName - name of the SAP HANA on Azure instance.

func (HanaInstancesClient) ShutdownPreparer Uses

func (client HanaInstancesClient) ShutdownPreparer(ctx context.Context, resourceGroupName string, hanaInstanceName string) (*http.Request, error)

ShutdownPreparer prepares the Shutdown request.

func (HanaInstancesClient) ShutdownResponder Uses

func (client HanaInstancesClient) ShutdownResponder(resp *http.Response) (result autorest.Response, err error)

ShutdownResponder handles the response to the Shutdown request. The method always closes the http.Response Body.

func (HanaInstancesClient) ShutdownSender Uses

func (client HanaInstancesClient) ShutdownSender(req *http.Request) (future HanaInstancesShutdownFuture, err error)

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

func (HanaInstancesClient) Start Uses

func (client HanaInstancesClient) Start(ctx context.Context, resourceGroupName string, hanaInstanceName string) (result HanaInstancesStartFuture, err error)

Start the operation to start a SAP HANA instance. Parameters: resourceGroupName - name of the resource group. hanaInstanceName - name of the SAP HANA on Azure instance.

func (HanaInstancesClient) StartPreparer Uses

func (client HanaInstancesClient) StartPreparer(ctx context.Context, resourceGroupName string, hanaInstanceName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (HanaInstancesClient) StartResponder Uses

func (client HanaInstancesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (HanaInstancesClient) StartSender Uses

func (client HanaInstancesClient) StartSender(req *http.Request) (future HanaInstancesStartFuture, err error)

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

func (HanaInstancesClient) Update Uses

func (client HanaInstancesClient) Update(ctx context.Context, resourceGroupName string, hanaInstanceName string, tagsParameter Tags) (result HanaInstance, err error)

Update patches the Tags field of a SAP HANA instance for the specified subscription, resource group, and instance name. Parameters: resourceGroupName - name of the resource group. hanaInstanceName - name of the SAP HANA on Azure instance. tagsParameter - request body that only contains the new Tags field

func (HanaInstancesClient) UpdatePreparer Uses

func (client HanaInstancesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hanaInstanceName string, tagsParameter Tags) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (HanaInstancesClient) UpdateResponder Uses

func (client HanaInstancesClient) UpdateResponder(resp *http.Response) (result HanaInstance, err error)

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

func (HanaInstancesClient) UpdateSender Uses

func (client HanaInstancesClient) 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 HanaInstancesCreateFuture Uses

type HanaInstancesCreateFuture struct {
    azure.Future
}

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

func (*HanaInstancesCreateFuture) Result Uses

func (future *HanaInstancesCreateFuture) Result(client HanaInstancesClient) (hi HanaInstance, err error)

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

type HanaInstancesDeleteFuture Uses

type HanaInstancesDeleteFuture struct {
    azure.Future
}

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

func (*HanaInstancesDeleteFuture) Result Uses

func (future *HanaInstancesDeleteFuture) Result(client HanaInstancesClient) (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 HanaInstancesListResult Uses

type HanaInstancesListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of SAP HANA on Azure instances.
    Value *[]HanaInstance `json:"value,omitempty"`
    // NextLink - The URL to get the next set of HANA instances.
    NextLink *string `json:"nextLink,omitempty"`
}

HanaInstancesListResult the response from the List HANA Instances operation.

func (HanaInstancesListResult) IsEmpty Uses

func (hilr HanaInstancesListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HanaInstancesListResultIterator Uses

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

HanaInstancesListResultIterator provides access to a complete listing of HanaInstance values.

func NewHanaInstancesListResultIterator Uses

func NewHanaInstancesListResultIterator(page HanaInstancesListResultPage) HanaInstancesListResultIterator

Creates a new instance of the HanaInstancesListResultIterator type.

func (*HanaInstancesListResultIterator) Next Uses

func (iter *HanaInstancesListResultIterator) 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 (*HanaInstancesListResultIterator) NextWithContext Uses

func (iter *HanaInstancesListResultIterator) 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 (HanaInstancesListResultIterator) NotDone Uses

func (iter HanaInstancesListResultIterator) NotDone() bool

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

func (HanaInstancesListResultIterator) Response Uses

func (iter HanaInstancesListResultIterator) Response() HanaInstancesListResult

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

func (HanaInstancesListResultIterator) Value Uses

func (iter HanaInstancesListResultIterator) Value() HanaInstance

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

type HanaInstancesListResultPage Uses

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

HanaInstancesListResultPage contains a page of HanaInstance values.

func NewHanaInstancesListResultPage Uses

func NewHanaInstancesListResultPage(getNextPage func(context.Context, HanaInstancesListResult) (HanaInstancesListResult, error)) HanaInstancesListResultPage

Creates a new instance of the HanaInstancesListResultPage type.

func (*HanaInstancesListResultPage) Next Uses

func (page *HanaInstancesListResultPage) 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 (*HanaInstancesListResultPage) NextWithContext Uses

func (page *HanaInstancesListResultPage) 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 (HanaInstancesListResultPage) NotDone Uses

func (page HanaInstancesListResultPage) NotDone() bool

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

func (HanaInstancesListResultPage) Response Uses

func (page HanaInstancesListResultPage) Response() HanaInstancesListResult

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

func (HanaInstancesListResultPage) Values Uses

func (page HanaInstancesListResultPage) Values() []HanaInstance

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

type HanaInstancesRestartFuture Uses

type HanaInstancesRestartFuture struct {
    azure.Future
}

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

func (*HanaInstancesRestartFuture) Result Uses

func (future *HanaInstancesRestartFuture) Result(client HanaInstancesClient) (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 HanaInstancesShutdownFuture Uses

type HanaInstancesShutdownFuture struct {
    azure.Future
}

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

func (*HanaInstancesShutdownFuture) Result Uses

func (future *HanaInstancesShutdownFuture) Result(client HanaInstancesClient) (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 HanaInstancesStartFuture Uses

type HanaInstancesStartFuture struct {
    azure.Future
}

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

func (*HanaInstancesStartFuture) Result Uses

func (future *HanaInstancesStartFuture) Result(client HanaInstancesClient) (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 HanaProvisioningStatesEnum Uses

type HanaProvisioningStatesEnum string

HanaProvisioningStatesEnum enumerates the values for hana provisioning states enum.

const (
    // Accepted ...
    Accepted HanaProvisioningStatesEnum = "Accepted"
    // Creating ...
    Creating HanaProvisioningStatesEnum = "Creating"
    // Deleting ...
    Deleting HanaProvisioningStatesEnum = "Deleting"
    // Failed ...
    Failed HanaProvisioningStatesEnum = "Failed"
    // Migrating ...
    Migrating HanaProvisioningStatesEnum = "Migrating"
    // Succeeded ...
    Succeeded HanaProvisioningStatesEnum = "Succeeded"
    // Updating ...
    Updating HanaProvisioningStatesEnum = "Updating"
)

func PossibleHanaProvisioningStatesEnumValues Uses

func PossibleHanaProvisioningStatesEnumValues() []HanaProvisioningStatesEnum

PossibleHanaProvisioningStatesEnumValues returns an array of possible values for the HanaProvisioningStatesEnum const type.

type HardwareProfile Uses

type HardwareProfile struct {
    // HardwareType - READ-ONLY; Name of the hardware type (vendor and/or their product name). Possible values include: 'CiscoUCS', 'HPE'
    HardwareType HanaHardwareTypeNamesEnum `json:"hardwareType,omitempty"`
    // HanaInstanceSize - READ-ONLY; Specifies the HANA instance SKU. Possible values include: 'S72m', 'S144m', 'S72', 'S144', 'S192', 'S192m', 'S192xm', 'S96', 'S112', 'S224m', 'S224o', 'S224om', 'S224oo', 'S224oom', 'S224ooo', 'S224oxm', 'S224oxxm', 'S384', 'S384m', 'S384xm', 'S384xxm', 'S576m', 'S576xm', 'S768', 'S768m', 'S768xm', 'S960m'
    HanaInstanceSize HanaInstanceSizeNamesEnum `json:"hanaInstanceSize,omitempty"`
}

HardwareProfile specifies the hardware settings for the HANA instance.

type IPAddress Uses

type IPAddress struct {
    // IPAddress - Specifies the IP address of the network interface.
    IPAddress *string `json:"ipAddress,omitempty"`
}

IPAddress specifies the IP address of the network interface.

type MonitoringDetails Uses

type MonitoringDetails struct {
    // HanaSubnet - ARM ID of an Azure Subnet with access to the HANA instance.
    HanaSubnet *string `json:"hanaSubnet,omitempty"`
    // HanaHostname - Hostname of the HANA Instance blade.
    HanaHostname *string `json:"hanaHostname,omitempty"`
    // HanaDbName - Name of the database itself.
    HanaDbName *string `json:"hanaDbName,omitempty"`
    // HanaDbSQLPort - The port number of the tenant DB. Used to connect to the DB.
    HanaDbSQLPort *int32 `json:"hanaDbSqlPort,omitempty"`
    // HanaDbUsername - Username for the HANA database to login to for monitoring
    HanaDbUsername *string `json:"hanaDbUsername,omitempty"`
    // HanaDbPassword - Password for the HANA database to login for monitoring
    HanaDbPassword *string `json:"hanaDbPassword,omitempty"`
}

MonitoringDetails details needed to monitor a Hana Instance

type NetworkProfile Uses

type NetworkProfile struct {
    // NetworkInterfaces - Specifies the network interfaces for the HANA instance.
    NetworkInterfaces *[]IPAddress `json:"networkInterfaces,omitempty"`
    // CircuitID - READ-ONLY; Specifies the circuit id for connecting to express route.
    CircuitID *string `json:"circuitId,omitempty"`
}

NetworkProfile specifies the network settings for the HANA instance disks.

type OSProfile Uses

type OSProfile struct {
    // ComputerName - Specifies the host OS name of the HANA instance.
    ComputerName *string `json:"computerName,omitempty"`
    // OsType - READ-ONLY; This property allows you to specify the type of the OS.
    OsType *string `json:"osType,omitempty"`
    // Version - READ-ONLY; Specifies version of operating system.
    Version *string `json:"version,omitempty"`
    // SSHPublicKey - Specifies the SSH public key used to access the operating system.
    SSHPublicKey *string `json:"sshPublicKey,omitempty"`
}

OSProfile specifies the operating system settings for the HANA instance.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; The name of the operation being performed on this particular object. This name should match the action name that appears in RBAC / the event service.
    Name *string `json:"name,omitempty"`
    // Display - Displayed HANA operation information
    Display *Display `json:"display,omitempty"`
}

Operation HANA operation information

type OperationList Uses

type OperationList struct {
    autorest.Response `json:"-"`
    // Value - List of HANA operations
    Value *[]Operation `json:"value,omitempty"`
}

OperationList list of HANA operations

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the HANA on Azure Client

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 OperationList, err error)

List gets a list of SAP HANA management operations.

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 OperationList, 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 Resource Uses

type Resource struct {
    // ID - READ-ONLY; Resource ID
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - READ-ONLY; Resource tags
    Tags map[string]*string `json:"tags"`
}

Resource the resource model definition.

func (Resource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Resource.

type SapMonitor Uses

type SapMonitor struct {
    autorest.Response `json:"-"`
    // SapMonitorProperties - SAP monitor properties
    *SapMonitorProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - READ-ONLY; Resource tags
    Tags map[string]*string `json:"tags"`
}

SapMonitor SAP monitor info on Azure (ARM properties and SAP monitor properties)

func (SapMonitor) MarshalJSON Uses

func (sm SapMonitor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SapMonitor.

func (*SapMonitor) UnmarshalJSON Uses

func (sm *SapMonitor) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SapMonitor struct.

type SapMonitorListResult Uses

type SapMonitorListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of SAP monitors.
    Value *[]SapMonitor `json:"value,omitempty"`
    // NextLink - The URL to get the next set of SAP monitors.
    NextLink *string `json:"nextLink,omitempty"`
}

SapMonitorListResult the response from the List SAP monitors operation.

func (SapMonitorListResult) IsEmpty Uses

func (smlr SapMonitorListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SapMonitorListResultIterator Uses

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

SapMonitorListResultIterator provides access to a complete listing of SapMonitor values.

func NewSapMonitorListResultIterator Uses

func NewSapMonitorListResultIterator(page SapMonitorListResultPage) SapMonitorListResultIterator

Creates a new instance of the SapMonitorListResultIterator type.

func (*SapMonitorListResultIterator) Next Uses

func (iter *SapMonitorListResultIterator) 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 (*SapMonitorListResultIterator) NextWithContext Uses

func (iter *SapMonitorListResultIterator) 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 (SapMonitorListResultIterator) NotDone Uses

func (iter SapMonitorListResultIterator) NotDone() bool

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

func (SapMonitorListResultIterator) Response Uses

func (iter SapMonitorListResultIterator) Response() SapMonitorListResult

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

func (SapMonitorListResultIterator) Value Uses

func (iter SapMonitorListResultIterator) Value() SapMonitor

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

type SapMonitorListResultPage Uses

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

SapMonitorListResultPage contains a page of SapMonitor values.

func NewSapMonitorListResultPage Uses

func NewSapMonitorListResultPage(getNextPage func(context.Context, SapMonitorListResult) (SapMonitorListResult, error)) SapMonitorListResultPage

Creates a new instance of the SapMonitorListResultPage type.

func (*SapMonitorListResultPage) Next Uses

func (page *SapMonitorListResultPage) 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 (*SapMonitorListResultPage) NextWithContext Uses

func (page *SapMonitorListResultPage) 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 (SapMonitorListResultPage) NotDone Uses

func (page SapMonitorListResultPage) NotDone() bool

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

func (SapMonitorListResultPage) Response Uses

func (page SapMonitorListResultPage) Response() SapMonitorListResult

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

func (SapMonitorListResultPage) Values Uses

func (page SapMonitorListResultPage) Values() []SapMonitor

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

type SapMonitorProperties Uses

type SapMonitorProperties struct {
    // HanaSubnet - Specifies the SAP monitor unique ID.
    HanaSubnet *string `json:"hanaSubnet,omitempty"`
    // HanaHostname - Hostname of the HANA instance.
    HanaHostname *string `json:"hanaHostname,omitempty"`
    // HanaDbName - Database name of the HANA instance.
    HanaDbName *string `json:"hanaDbName,omitempty"`
    // HanaDbSQLPort - Database port of the HANA instance.
    HanaDbSQLPort *int32 `json:"hanaDbSqlPort,omitempty"`
    // HanaDbUsername - Database username of the HANA instance.
    HanaDbUsername *string `json:"hanaDbUsername,omitempty"`
    // HanaDbPassword - Database password of the HANA instance.
    HanaDbPassword *string `json:"hanaDbPassword,omitempty"`
    // HanaDbPasswordKeyVaultURL - KeyVault URL link to the password for the HANA database.
    HanaDbPasswordKeyVaultURL *string `json:"hanaDbPasswordKeyVaultUrl,omitempty"`
    // HanaDbCredentialsMsiID - MSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM.
    HanaDbCredentialsMsiID *string `json:"hanaDbCredentialsMsiId,omitempty"`
    // KeyVaultID - Key Vault ID containing customer's HANA credentials.
    KeyVaultID *string `json:"keyVaultId,omitempty"`
    // ProvisioningState - READ-ONLY; State of provisioning of the HanaInstance. Possible values include: 'Accepted', 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'
    ProvisioningState HanaProvisioningStatesEnum `json:"provisioningState,omitempty"`
    // ManagedResourceGroupName - READ-ONLY; The name of the resource group the SAP Monitor resources get deployed into.
    ManagedResourceGroupName *string `json:"managedResourceGroupName,omitempty"`
    // LogAnalyticsWorkspaceArmID - READ-ONLY; The ARM ID of the Log Analytics Workspace that is used for monitoring
    LogAnalyticsWorkspaceArmID *string `json:"logAnalyticsWorkspaceArmId,omitempty"`
}

SapMonitorProperties describes the properties of a SAP monitor.

type SapMonitorsClient Uses

type SapMonitorsClient struct {
    BaseClient
}

SapMonitorsClient is the HANA on Azure Client

func NewSapMonitorsClient Uses

func NewSapMonitorsClient(subscriptionID string) SapMonitorsClient

NewSapMonitorsClient creates an instance of the SapMonitorsClient client.

func NewSapMonitorsClientWithBaseURI Uses

func NewSapMonitorsClientWithBaseURI(baseURI string, subscriptionID string) SapMonitorsClient

NewSapMonitorsClientWithBaseURI creates an instance of the SapMonitorsClient client.

func (SapMonitorsClient) Create Uses

func (client SapMonitorsClient) Create(ctx context.Context, resourceGroupName string, sapMonitorName string, sapMonitorParameter SapMonitor) (result SapMonitorsCreateFuture, err error)

Create creates a SAP monitor for the specified subscription, resource group, and resource name. Parameters: resourceGroupName - name of the resource group. sapMonitorName - name of the SAP monitor resource. sapMonitorParameter - request body representing a SAP Monitor

func (SapMonitorsClient) CreatePreparer Uses

func (client SapMonitorsClient) CreatePreparer(ctx context.Context, resourceGroupName string, sapMonitorName string, sapMonitorParameter SapMonitor) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SapMonitorsClient) CreateResponder Uses

func (client SapMonitorsClient) CreateResponder(resp *http.Response) (result SapMonitor, err error)

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

func (SapMonitorsClient) CreateSender Uses

func (client SapMonitorsClient) CreateSender(req *http.Request) (future SapMonitorsCreateFuture, err error)

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

func (SapMonitorsClient) Delete Uses

func (client SapMonitorsClient) Delete(ctx context.Context, resourceGroupName string, sapMonitorName string) (result SapMonitorsDeleteFuture, err error)

Delete deletes a SAP monitor with the specified subscription, resource group, and monitor name. Parameters: resourceGroupName - name of the resource group. sapMonitorName - name of the SAP monitor resource.

func (SapMonitorsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (SapMonitorsClient) DeleteResponder Uses

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

func (client SapMonitorsClient) DeleteSender(req *http.Request) (future SapMonitorsDeleteFuture, err error)

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

func (SapMonitorsClient) Get Uses

func (client SapMonitorsClient) Get(ctx context.Context, resourceGroupName string, sapMonitorName string) (result SapMonitor, err error)

Get gets properties of a SAP monitor for the specified subscription, resource group, and resource name. Parameters: resourceGroupName - name of the resource group. sapMonitorName - name of the SAP monitor resource.

func (SapMonitorsClient) GetPreparer Uses

func (client SapMonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, sapMonitorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SapMonitorsClient) GetResponder Uses

func (client SapMonitorsClient) GetResponder(resp *http.Response) (result SapMonitor, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SapMonitorsClient) GetSender Uses

func (client SapMonitorsClient) GetSender(req *http.Request) (*http.Response, error)

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

func (SapMonitorsClient) List Uses

func (client SapMonitorsClient) List(ctx context.Context) (result SapMonitorListResultPage, err error)

List gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.

func (SapMonitorsClient) ListComplete Uses

func (client SapMonitorsClient) ListComplete(ctx context.Context) (result SapMonitorListResultIterator, err error)

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

func (SapMonitorsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (SapMonitorsClient) ListResponder Uses

func (client SapMonitorsClient) ListResponder(resp *http.Response) (result SapMonitorListResult, err error)

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

func (SapMonitorsClient) ListSender Uses

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

func (client SapMonitorsClient) Update(ctx context.Context, resourceGroupName string, sapMonitorName string, tagsParameter Tags) (result SapMonitor, err error)

Update patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name. Parameters: resourceGroupName - name of the resource group. sapMonitorName - name of the SAP monitor resource. tagsParameter - request body that only contains the new Tags field

func (SapMonitorsClient) UpdatePreparer Uses

func (client SapMonitorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, sapMonitorName string, tagsParameter Tags) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SapMonitorsClient) UpdateResponder Uses

func (client SapMonitorsClient) UpdateResponder(resp *http.Response) (result SapMonitor, err error)

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

func (SapMonitorsClient) UpdateSender Uses

func (client SapMonitorsClient) 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 SapMonitorsCreateFuture Uses

type SapMonitorsCreateFuture struct {
    azure.Future
}

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

func (*SapMonitorsCreateFuture) Result Uses

func (future *SapMonitorsCreateFuture) Result(client SapMonitorsClient) (sm SapMonitor, err error)

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

type SapMonitorsDeleteFuture Uses

type SapMonitorsDeleteFuture struct {
    azure.Future
}

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

func (*SapMonitorsDeleteFuture) Result Uses

func (future *SapMonitorsDeleteFuture) Result(client SapMonitorsClient) (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 StorageProfile Uses

type StorageProfile struct {
    // NfsIPAddress - READ-ONLY; IP Address to connect to storage.
    NfsIPAddress *string `json:"nfsIpAddress,omitempty"`
    // OsDisks - Specifies information about the operating system disk used by the hana instance.
    OsDisks *[]Disk `json:"osDisks,omitempty"`
}

StorageProfile specifies the storage settings for the HANA instance disks.

type Tags Uses

type Tags struct {
    // Tags - Tags field of the HANA instance.
    Tags map[string]*string `json:"tags"`
}

Tags tags field of the HANA instance.

func (Tags) MarshalJSON Uses

func (t Tags) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Tags.

Directories

PathSynopsis
hanaonazureapi

Package hanaonazure imports 8 packages (graph) and is imported by 4 packages. Updated 2019-11-01. Refresh now. Tools for package owners.