storsimple8000series

package
v10.1.1-beta+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package storsimple8000series implements the Azure ARM Storsimple8000series service API version 2017-06-01.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Storsimple8000series
	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 AccessControlRecord

type AccessControlRecord struct {
	autorest.Response              `json:"-"`
	ID                             *string `json:"id,omitempty"`
	Name                           *string `json:"name,omitempty"`
	Type                           *string `json:"type,omitempty"`
	Kind                           Kind    `json:"kind,omitempty"`
	*AccessControlRecordProperties `json:"properties,omitempty"`
}

AccessControlRecord is the access control record.

type AccessControlRecordList

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

AccessControlRecordList is the collection of access control records.

type AccessControlRecordProperties

type AccessControlRecordProperties struct {
	InitiatorName *string `json:"initiatorName,omitempty"`
	VolumeCount   *int32  `json:"volumeCount,omitempty"`
}

AccessControlRecordProperties is the properties of access control record.

type AccessControlRecordsClient

type AccessControlRecordsClient struct {
	ManagementClient
}

AccessControlRecordsClient is the client for the AccessControlRecords methods of the Storsimple8000series service.

func NewAccessControlRecordsClient

func NewAccessControlRecordsClient(subscriptionID string) AccessControlRecordsClient

NewAccessControlRecordsClient creates an instance of the AccessControlRecordsClient client.

func NewAccessControlRecordsClientWithBaseURI

func NewAccessControlRecordsClientWithBaseURI(baseURI string, subscriptionID string) AccessControlRecordsClient

NewAccessControlRecordsClientWithBaseURI creates an instance of the AccessControlRecordsClient client.

func (AccessControlRecordsClient) CreateOrUpdate

func (client AccessControlRecordsClient) CreateOrUpdate(accessControlRecordName string, parameters AccessControlRecord, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan AccessControlRecord, <-chan error)

CreateOrUpdate creates or Updates an access control record. 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.

accessControlRecordName is the name of the access control record. parameters is the access control record to be added or updated. resourceGroupName is the resource group name managerName is the manager name

func (AccessControlRecordsClient) CreateOrUpdatePreparer

func (client AccessControlRecordsClient) CreateOrUpdatePreparer(accessControlRecordName string, parameters AccessControlRecord, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccessControlRecordsClient) CreateOrUpdateResponder

func (client AccessControlRecordsClient) CreateOrUpdateResponder(resp *http.Response) (result AccessControlRecord, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AccessControlRecordsClient) CreateOrUpdateSender

func (client AccessControlRecordsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (AccessControlRecordsClient) Delete

func (client AccessControlRecordsClient) Delete(accessControlRecordName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the access control record. 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.

accessControlRecordName is the name of the access control record to delete. resourceGroupName is the resource group name managerName is the manager name

func (AccessControlRecordsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AccessControlRecordsClient) DeleteResponder

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

func (client AccessControlRecordsClient) 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 (AccessControlRecordsClient) Get

func (client AccessControlRecordsClient) Get(accessControlRecordName string, resourceGroupName string, managerName string) (result AccessControlRecord, err error)

Get returns the properties of the specified access control record name.

accessControlRecordName is name of access control record to be fetched. resourceGroupName is the resource group name managerName is the manager name

func (AccessControlRecordsClient) GetPreparer

func (client AccessControlRecordsClient) GetPreparer(accessControlRecordName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccessControlRecordsClient) GetResponder

func (client AccessControlRecordsClient) GetResponder(resp *http.Response) (result AccessControlRecord, err error)

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

func (AccessControlRecordsClient) GetSender

func (client AccessControlRecordsClient) 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 (AccessControlRecordsClient) ListByManager

func (client AccessControlRecordsClient) ListByManager(resourceGroupName string, managerName string) (result AccessControlRecordList, err error)

ListByManager retrieves all the access control records in a manager.

resourceGroupName is the resource group name managerName is the manager name

func (AccessControlRecordsClient) ListByManagerPreparer

func (client AccessControlRecordsClient) ListByManagerPreparer(resourceGroupName string, managerName string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (AccessControlRecordsClient) ListByManagerResponder

func (client AccessControlRecordsClient) ListByManagerResponder(resp *http.Response) (result AccessControlRecordList, err error)

ListByManagerResponder handles the response to the ListByManager request. The method always closes the http.Response Body.

func (AccessControlRecordsClient) ListByManagerSender

func (client AccessControlRecordsClient) ListByManagerSender(req *http.Request) (*http.Response, error)

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

type AcsConfiguration

type AcsConfiguration struct {
	Namespace  *string `json:"namespace,omitempty"`
	Realm      *string `json:"realm,omitempty"`
	ServiceURL *string `json:"serviceUrl,omitempty"`
}

AcsConfiguration is the ACS configuration.

type Alert

type Alert struct {
	ID               *string `json:"id,omitempty"`
	Name             *string `json:"name,omitempty"`
	Type             *string `json:"type,omitempty"`
	Kind             Kind    `json:"kind,omitempty"`
	*AlertProperties `json:"properties,omitempty"`
}

Alert is the alert.

type AlertEmailNotificationStatus

type AlertEmailNotificationStatus string

AlertEmailNotificationStatus enumerates the values for alert email notification status.

const (
	// Disabled specifies the disabled state for alert email notification
	// status.
	Disabled AlertEmailNotificationStatus = "Disabled"
	// Enabled specifies the enabled state for alert email notification status.
	Enabled AlertEmailNotificationStatus = "Enabled"
)

type AlertErrorDetails

type AlertErrorDetails struct {
	ErrorCode    *string `json:"errorCode,omitempty"`
	ErrorMessage *string `json:"errorMessage,omitempty"`
	Occurences   *int32  `json:"occurences,omitempty"`
}

AlertErrorDetails is the details of the error for which the alert was raised

type AlertFilter

type AlertFilter struct {
	Status         AlertStatus     `json:"status,omitempty"`
	Severity       AlertSeverity   `json:"severity,omitempty"`
	SourceType     AlertSourceType `json:"sourceType,omitempty"`
	SourceName     *string         `json:"sourceName,omitempty"`
	AppearedOnTime *date.Time      `json:"appearedOnTime,omitempty"`
}

AlertFilter is the OData filters to be used for Alert

type AlertList

type AlertList struct {
	autorest.Response `json:"-"`
	Value             *[]Alert `json:"value,omitempty"`
	NextLink          *string  `json:"nextLink,omitempty"`
}

AlertList is the collection of alerts.

func (AlertList) AlertListPreparer

func (client AlertList) AlertListPreparer() (*http.Request, error)

AlertListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type AlertNotificationProperties

type AlertNotificationProperties struct {
	EmailNotification            AlertEmailNotificationStatus `json:"emailNotification,omitempty"`
	AlertNotificationCulture     *string                      `json:"alertNotificationCulture,omitempty"`
	NotificationToServiceOwners  AlertEmailNotificationStatus `json:"notificationToServiceOwners,omitempty"`
	AdditionalRecipientEmailList *[]string                    `json:"additionalRecipientEmailList,omitempty"`
}

AlertNotificationProperties is the properties of the alert notification settings.

type AlertProperties

type AlertProperties struct {
	Title                *string             `json:"title,omitempty"`
	Scope                AlertScope          `json:"scope,omitempty"`
	AlertType            *string             `json:"alertType,omitempty"`
	AppearedAtTime       *date.Time          `json:"appearedAtTime,omitempty"`
	AppearedAtSourceTime *date.Time          `json:"appearedAtSourceTime,omitempty"`
	ClearedAtTime        *date.Time          `json:"clearedAtTime,omitempty"`
	ClearedAtSourceTime  *date.Time          `json:"clearedAtSourceTime,omitempty"`
	Source               *AlertSource        `json:"source,omitempty"`
	Recommendation       *string             `json:"recommendation,omitempty"`
	ResolutionReason     *string             `json:"resolutionReason,omitempty"`
	Severity             AlertSeverity       `json:"severity,omitempty"`
	Status               AlertStatus         `json:"status,omitempty"`
	ErrorDetails         *AlertErrorDetails  `json:"errorDetails,omitempty"`
	DetailedInformation  *map[string]*string `json:"detailedInformation,omitempty"`
}

AlertProperties is the properties of alert

type AlertScope

type AlertScope string

AlertScope enumerates the values for alert scope.

const (
	// AlertScopeDevice specifies the alert scope device state for alert scope.
	AlertScopeDevice AlertScope = "Device"
	// AlertScopeResource specifies the alert scope resource state for alert
	// scope.
	AlertScopeResource AlertScope = "Resource"
)

type AlertSettings

type AlertSettings struct {
	autorest.Response            `json:"-"`
	ID                           *string `json:"id,omitempty"`
	Name                         *string `json:"name,omitempty"`
	Type                         *string `json:"type,omitempty"`
	Kind                         Kind    `json:"kind,omitempty"`
	*AlertNotificationProperties `json:"properties,omitempty"`
}

AlertSettings is the alert settings.

type AlertSeverity

type AlertSeverity string

AlertSeverity enumerates the values for alert severity.

const (
	// Critical specifies the critical state for alert severity.
	Critical AlertSeverity = "Critical"
	// Informational specifies the informational state for alert severity.
	Informational AlertSeverity = "Informational"
	// Warning specifies the warning state for alert severity.
	Warning AlertSeverity = "Warning"
)

type AlertSource

type AlertSource struct {
	Name            *string         `json:"name,omitempty"`
	TimeZone        *string         `json:"timeZone,omitempty"`
	AlertSourceType AlertSourceType `json:"alertSourceType,omitempty"`
}

AlertSource is the source details at which the alert was raised

type AlertSourceType

type AlertSourceType string

AlertSourceType enumerates the values for alert source type.

const (
	// AlertSourceTypeDevice specifies the alert source type device state for
	// alert source type.
	AlertSourceTypeDevice AlertSourceType = "Device"
	// AlertSourceTypeResource specifies the alert source type resource state
	// for alert source type.
	AlertSourceTypeResource AlertSourceType = "Resource"
)

type AlertStatus

type AlertStatus string

AlertStatus enumerates the values for alert status.

const (
	// Active specifies the active state for alert status.
	Active AlertStatus = "Active"
	// Cleared specifies the cleared state for alert status.
	Cleared AlertStatus = "Cleared"
)

type AlertsClient

type AlertsClient struct {
	ManagementClient
}

AlertsClient is the client for the Alerts methods of the Storsimple8000series service.

func NewAlertsClient

func NewAlertsClient(subscriptionID string) AlertsClient

NewAlertsClient creates an instance of the AlertsClient client.

func NewAlertsClientWithBaseURI

func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient

NewAlertsClientWithBaseURI creates an instance of the AlertsClient client.

func (AlertsClient) Clear

func (client AlertsClient) Clear(parameters ClearAlertRequest, resourceGroupName string, managerName string) (result autorest.Response, err error)

Clear clear the alerts.

parameters is the clear alert request. resourceGroupName is the resource group name managerName is the manager name

func (AlertsClient) ClearPreparer

func (client AlertsClient) ClearPreparer(parameters ClearAlertRequest, resourceGroupName string, managerName string) (*http.Request, error)

ClearPreparer prepares the Clear request.

func (AlertsClient) ClearResponder

func (client AlertsClient) ClearResponder(resp *http.Response) (result autorest.Response, err error)

ClearResponder handles the response to the Clear request. The method always closes the http.Response Body.

func (AlertsClient) ClearSender

func (client AlertsClient) ClearSender(req *http.Request) (*http.Response, error)

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

func (AlertsClient) ListByManager

func (client AlertsClient) ListByManager(resourceGroupName string, managerName string, filter string) (result AlertList, err error)

ListByManager retrieves all the alerts in a manager.

resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (AlertsClient) ListByManagerComplete

func (client AlertsClient) ListByManagerComplete(resourceGroupName string, managerName string, filter string, cancel <-chan struct{}) (<-chan Alert, <-chan error)

ListByManagerComplete gets all elements from the list without paging.

func (AlertsClient) ListByManagerNextResults

func (client AlertsClient) ListByManagerNextResults(lastResults AlertList) (result AlertList, err error)

ListByManagerNextResults retrieves the next set of results, if any.

func (AlertsClient) ListByManagerPreparer

func (client AlertsClient) ListByManagerPreparer(resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (AlertsClient) ListByManagerResponder

func (client AlertsClient) ListByManagerResponder(resp *http.Response) (result AlertList, err error)

ListByManagerResponder handles the response to the ListByManager request. The method always closes the http.Response Body.

func (AlertsClient) ListByManagerSender

func (client AlertsClient) ListByManagerSender(req *http.Request) (*http.Response, error)

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

func (AlertsClient) SendTestEmail

func (client AlertsClient) SendTestEmail(deviceName string, parameters SendTestAlertEmailRequest, resourceGroupName string, managerName string) (result autorest.Response, err error)

SendTestEmail sends a test alert email.

deviceName is the device name parameters is the send test alert email request. resourceGroupName is the resource group name managerName is the manager name

func (AlertsClient) SendTestEmailPreparer

func (client AlertsClient) SendTestEmailPreparer(deviceName string, parameters SendTestAlertEmailRequest, resourceGroupName string, managerName string) (*http.Request, error)

SendTestEmailPreparer prepares the SendTestEmail request.

func (AlertsClient) SendTestEmailResponder

func (client AlertsClient) SendTestEmailResponder(resp *http.Response) (result autorest.Response, err error)

SendTestEmailResponder handles the response to the SendTestEmail request. The method always closes the http.Response Body.

func (AlertsClient) SendTestEmailSender

func (client AlertsClient) SendTestEmailSender(req *http.Request) (*http.Response, error)

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

type AsymmetricEncryptedSecret

type AsymmetricEncryptedSecret struct {
	Value                    *string             `json:"value,omitempty"`
	EncryptionCertThumbprint *string             `json:"encryptionCertThumbprint,omitempty"`
	EncryptionAlgorithm      EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}

AsymmetricEncryptedSecret is represent the secrets intended for encryption with asymmetric key pair.

type AuthenticationType

type AuthenticationType string

AuthenticationType enumerates the values for authentication type.

const (
	// Basic specifies the basic state for authentication type.
	Basic AuthenticationType = "Basic"
	// Invalid specifies the invalid state for authentication type.
	Invalid AuthenticationType = "Invalid"
	// None specifies the none state for authentication type.
	None AuthenticationType = "None"
	// NTLM specifies the ntlm state for authentication type.
	NTLM AuthenticationType = "NTLM"
)

type AuthorizationEligibility

type AuthorizationEligibility string

AuthorizationEligibility enumerates the values for authorization eligibility.

const (
	// Eligible specifies the eligible state for authorization eligibility.
	Eligible AuthorizationEligibility = "Eligible"
	// InEligible specifies the in eligible state for authorization
	// eligibility.
	InEligible AuthorizationEligibility = "InEligible"
)

type AuthorizationStatus

type AuthorizationStatus string

AuthorizationStatus enumerates the values for authorization status.

const (
	// AuthorizationStatusDisabled specifies the authorization status disabled
	// state for authorization status.
	AuthorizationStatusDisabled AuthorizationStatus = "Disabled"
	// AuthorizationStatusEnabled specifies the authorization status enabled
	// state for authorization status.
	AuthorizationStatusEnabled AuthorizationStatus = "Enabled"
)

type AvailableProviderOperation

type AvailableProviderOperation struct {
	Name       *string                            `json:"name,omitempty"`
	Display    *AvailableProviderOperationDisplay `json:"display,omitempty"`
	Origin     *string                            `json:"origin,omitempty"`
	Properties *map[string]interface{}            `json:"properties,omitempty"`
}

AvailableProviderOperation is represents available provider operation.

type AvailableProviderOperationDisplay

type AvailableProviderOperationDisplay struct {
	Provider    *string `json:"provider,omitempty"`
	Resource    *string `json:"resource,omitempty"`
	Operation   *string `json:"operation,omitempty"`
	Description *string `json:"description,omitempty"`
}

AvailableProviderOperationDisplay is contains the localized display information for this particular operation/action. These value will be used by several clients for (a) custom role definitions for RBAC, (b) complex query filters for the event service and (c) audit history/records for management operations.

type AvailableProviderOperationList

type AvailableProviderOperationList struct {
	autorest.Response `json:"-"`
	Value             *[]AvailableProviderOperation `json:"value,omitempty"`
	NextLink          *string                       `json:"nextLink,omitempty"`
}

AvailableProviderOperationList is list of available provider operations.

func (AvailableProviderOperationList) AvailableProviderOperationListPreparer

func (client AvailableProviderOperationList) AvailableProviderOperationListPreparer() (*http.Request, error)

AvailableProviderOperationListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type Backup

type Backup struct {
	ID                *string `json:"id,omitempty"`
	Name              *string `json:"name,omitempty"`
	Type              *string `json:"type,omitempty"`
	Kind              Kind    `json:"kind,omitempty"`
	*BackupProperties `json:"properties,omitempty"`
}

Backup is the backup.

type BackupElement

type BackupElement struct {
	ElementID         *string    `json:"elementId,omitempty"`
	ElementName       *string    `json:"elementName,omitempty"`
	ElementType       *string    `json:"elementType,omitempty"`
	SizeInBytes       *int64     `json:"sizeInBytes,omitempty"`
	VolumeName        *string    `json:"volumeName,omitempty"`
	VolumeContainerID *string    `json:"volumeContainerId,omitempty"`
	VolumeType        VolumeType `json:"volumeType,omitempty"`
}

BackupElement is the backup element.

type BackupFilter

type BackupFilter struct {
	BackupPolicyID *string    `json:"backupPolicyId,omitempty"`
	VolumeID       *string    `json:"volumeId,omitempty"`
	CreatedTime    *date.Time `json:"createdTime,omitempty"`
}

BackupFilter is the OData filters to be used for backups.

type BackupJobCreationType

type BackupJobCreationType string

BackupJobCreationType enumerates the values for backup job creation type.

const (
	// Adhoc specifies the adhoc state for backup job creation type.
	Adhoc BackupJobCreationType = "Adhoc"
	// BySchedule specifies the by schedule state for backup job creation type.
	BySchedule BackupJobCreationType = "BySchedule"
	// BySSM specifies the by ssm state for backup job creation type.
	BySSM BackupJobCreationType = "BySSM"
)

type BackupList

type BackupList struct {
	autorest.Response `json:"-"`
	Value             *[]Backup `json:"value,omitempty"`
	NextLink          *string   `json:"nextLink,omitempty"`
}

BackupList is the collection of backups.

func (BackupList) BackupListPreparer

func (client BackupList) BackupListPreparer() (*http.Request, error)

BackupListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type BackupPoliciesClient

type BackupPoliciesClient struct {
	ManagementClient
}

BackupPoliciesClient is the client for the BackupPolicies methods of the Storsimple8000series service.

func NewBackupPoliciesClient

func NewBackupPoliciesClient(subscriptionID string) BackupPoliciesClient

NewBackupPoliciesClient creates an instance of the BackupPoliciesClient client.

func NewBackupPoliciesClientWithBaseURI

func NewBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupPoliciesClient

NewBackupPoliciesClientWithBaseURI creates an instance of the BackupPoliciesClient client.

func (BackupPoliciesClient) BackupNow

func (client BackupPoliciesClient) BackupNow(deviceName string, backupPolicyName string, backupType string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

BackupNow backup the backup policy now. 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.

deviceName is the device name backupPolicyName is the backup policy name. backupType is the backup Type. This can be cloudSnapshot or localSnapshot. resourceGroupName is the resource group name managerName is the manager name

func (BackupPoliciesClient) BackupNowPreparer

func (client BackupPoliciesClient) BackupNowPreparer(deviceName string, backupPolicyName string, backupType string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

BackupNowPreparer prepares the BackupNow request.

func (BackupPoliciesClient) BackupNowResponder

func (client BackupPoliciesClient) BackupNowResponder(resp *http.Response) (result autorest.Response, err error)

BackupNowResponder handles the response to the BackupNow request. The method always closes the http.Response Body.

func (BackupPoliciesClient) BackupNowSender

func (client BackupPoliciesClient) BackupNowSender(req *http.Request) (*http.Response, error)

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

func (BackupPoliciesClient) CreateOrUpdate

func (client BackupPoliciesClient) CreateOrUpdate(deviceName string, backupPolicyName string, parameters BackupPolicy, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan BackupPolicy, <-chan error)

CreateOrUpdate creates or updates the backup policy. 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.

deviceName is the device name backupPolicyName is the name of the backup policy to be created/updated. parameters is the backup policy. resourceGroupName is the resource group name managerName is the manager name

func (BackupPoliciesClient) CreateOrUpdatePreparer

func (client BackupPoliciesClient) CreateOrUpdatePreparer(deviceName string, backupPolicyName string, parameters BackupPolicy, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackupPoliciesClient) CreateOrUpdateResponder

func (client BackupPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BackupPoliciesClient) CreateOrUpdateSender

func (client BackupPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (BackupPoliciesClient) Delete

func (client BackupPoliciesClient) Delete(deviceName string, backupPolicyName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the backup policy. 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.

deviceName is the device name backupPolicyName is the name of the backup policy. resourceGroupName is the resource group name managerName is the manager name

func (BackupPoliciesClient) DeletePreparer

func (client BackupPoliciesClient) DeletePreparer(deviceName string, backupPolicyName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupPoliciesClient) DeleteResponder

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

func (client BackupPoliciesClient) 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 (BackupPoliciesClient) Get

func (client BackupPoliciesClient) Get(deviceName string, backupPolicyName string, resourceGroupName string, managerName string) (result BackupPolicy, err error)

Get gets the properties of the specified backup policy name.

deviceName is the device name backupPolicyName is the name of backup policy to be fetched. resourceGroupName is the resource group name managerName is the manager name

func (BackupPoliciesClient) GetPreparer

func (client BackupPoliciesClient) GetPreparer(deviceName string, backupPolicyName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BackupPoliciesClient) GetResponder

func (client BackupPoliciesClient) GetResponder(resp *http.Response) (result BackupPolicy, err error)

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

func (BackupPoliciesClient) GetSender

func (client BackupPoliciesClient) 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 (BackupPoliciesClient) ListByDevice

func (client BackupPoliciesClient) ListByDevice(deviceName string, resourceGroupName string, managerName string) (result BackupPolicyList, err error)

ListByDevice gets all the backup policies in a device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (BackupPoliciesClient) ListByDevicePreparer

func (client BackupPoliciesClient) ListByDevicePreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (BackupPoliciesClient) ListByDeviceResponder

func (client BackupPoliciesClient) ListByDeviceResponder(resp *http.Response) (result BackupPolicyList, err error)

ListByDeviceResponder handles the response to the ListByDevice request. The method always closes the http.Response Body.

func (BackupPoliciesClient) ListByDeviceSender

func (client BackupPoliciesClient) ListByDeviceSender(req *http.Request) (*http.Response, error)

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

type BackupPolicy

type BackupPolicy struct {
	autorest.Response       `json:"-"`
	ID                      *string `json:"id,omitempty"`
	Name                    *string `json:"name,omitempty"`
	Type                    *string `json:"type,omitempty"`
	Kind                    Kind    `json:"kind,omitempty"`
	*BackupPolicyProperties `json:"properties,omitempty"`
}

BackupPolicy is the backup policy.

type BackupPolicyCreationType

type BackupPolicyCreationType string

BackupPolicyCreationType enumerates the values for backup policy creation type.

const (
	// BackupPolicyCreationTypeBySaaS specifies the backup policy creation type
	// by saa s state for backup policy creation type.
	BackupPolicyCreationTypeBySaaS BackupPolicyCreationType = "BySaaS"
	// BackupPolicyCreationTypeBySSM specifies the backup policy creation type
	// by ssm state for backup policy creation type.
	BackupPolicyCreationTypeBySSM BackupPolicyCreationType = "BySSM"
)

type BackupPolicyList

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

BackupPolicyList is the collection of backup policies.

type BackupPolicyProperties

type BackupPolicyProperties struct {
	VolumeIds                *[]string                `json:"volumeIds,omitempty"`
	NextBackupTime           *date.Time               `json:"nextBackupTime,omitempty"`
	LastBackupTime           *date.Time               `json:"lastBackupTime,omitempty"`
	SchedulesCount           *int64                   `json:"schedulesCount,omitempty"`
	ScheduledBackupStatus    ScheduledBackupStatus    `json:"scheduledBackupStatus,omitempty"`
	BackupPolicyCreationType BackupPolicyCreationType `json:"backupPolicyCreationType,omitempty"`
	SsmHostName              *string                  `json:"ssmHostName,omitempty"`
}

BackupPolicyProperties is the properties of the backup policy.

type BackupProperties

type BackupProperties struct {
	CreatedOn             *date.Time            `json:"createdOn,omitempty"`
	SizeInBytes           *int64                `json:"sizeInBytes,omitempty"`
	BackupType            BackupType            `json:"backupType,omitempty"`
	BackupJobCreationType BackupJobCreationType `json:"backupJobCreationType,omitempty"`
	BackupPolicyID        *string               `json:"backupPolicyId,omitempty"`
	SsmHostName           *string               `json:"ssmHostName,omitempty"`
	Elements              *[]BackupElement      `json:"elements,omitempty"`
}

BackupProperties is the properties of the backup.

type BackupSchedule

type BackupSchedule struct {
	autorest.Response         `json:"-"`
	ID                        *string `json:"id,omitempty"`
	Name                      *string `json:"name,omitempty"`
	Type                      *string `json:"type,omitempty"`
	Kind                      Kind    `json:"kind,omitempty"`
	*BackupScheduleProperties `json:"properties,omitempty"`
}

BackupSchedule is the backup schedule.

type BackupScheduleList

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

BackupScheduleList is the backup schedule list.

type BackupScheduleProperties

type BackupScheduleProperties struct {
	ScheduleRecurrence *ScheduleRecurrence `json:"scheduleRecurrence,omitempty"`
	BackupType         BackupType          `json:"backupType,omitempty"`
	RetentionCount     *int64              `json:"retentionCount,omitempty"`
	StartTime          *date.Time          `json:"startTime,omitempty"`
	ScheduleStatus     ScheduleStatus      `json:"scheduleStatus,omitempty"`
	LastSuccessfulRun  *date.Time          `json:"lastSuccessfulRun,omitempty"`
}

BackupScheduleProperties is the properties of the backup schedule.

type BackupSchedulesClient

type BackupSchedulesClient struct {
	ManagementClient
}

BackupSchedulesClient is the client for the BackupSchedules methods of the Storsimple8000series service.

func NewBackupSchedulesClient

func NewBackupSchedulesClient(subscriptionID string) BackupSchedulesClient

NewBackupSchedulesClient creates an instance of the BackupSchedulesClient client.

func NewBackupSchedulesClientWithBaseURI

func NewBackupSchedulesClientWithBaseURI(baseURI string, subscriptionID string) BackupSchedulesClient

NewBackupSchedulesClientWithBaseURI creates an instance of the BackupSchedulesClient client.

func (BackupSchedulesClient) CreateOrUpdate

func (client BackupSchedulesClient) CreateOrUpdate(deviceName string, backupPolicyName string, backupScheduleName string, parameters BackupSchedule, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan BackupSchedule, <-chan error)

CreateOrUpdate creates or updates the backup schedule. 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.

deviceName is the device name backupPolicyName is the backup policy name. backupScheduleName is the backup schedule name. parameters is the backup schedule. resourceGroupName is the resource group name managerName is the manager name

func (BackupSchedulesClient) CreateOrUpdatePreparer

func (client BackupSchedulesClient) CreateOrUpdatePreparer(deviceName string, backupPolicyName string, backupScheduleName string, parameters BackupSchedule, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackupSchedulesClient) CreateOrUpdateResponder

func (client BackupSchedulesClient) CreateOrUpdateResponder(resp *http.Response) (result BackupSchedule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BackupSchedulesClient) CreateOrUpdateSender

func (client BackupSchedulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (BackupSchedulesClient) Delete

func (client BackupSchedulesClient) Delete(deviceName string, backupPolicyName string, backupScheduleName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the backup schedule. 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.

deviceName is the device name backupPolicyName is the backup policy name. backupScheduleName is the name the backup schedule. resourceGroupName is the resource group name managerName is the manager name

func (BackupSchedulesClient) DeletePreparer

func (client BackupSchedulesClient) DeletePreparer(deviceName string, backupPolicyName string, backupScheduleName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupSchedulesClient) DeleteResponder

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

func (client BackupSchedulesClient) 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 (BackupSchedulesClient) Get

func (client BackupSchedulesClient) Get(deviceName string, backupPolicyName string, backupScheduleName string, resourceGroupName string, managerName string) (result BackupSchedule, err error)

Get gets the properties of the specified backup schedule name.

deviceName is the device name backupPolicyName is the backup policy name. backupScheduleName is the name of the backup schedule to be fetched resourceGroupName is the resource group name managerName is the manager name

func (BackupSchedulesClient) GetPreparer

func (client BackupSchedulesClient) GetPreparer(deviceName string, backupPolicyName string, backupScheduleName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BackupSchedulesClient) GetResponder

func (client BackupSchedulesClient) GetResponder(resp *http.Response) (result BackupSchedule, err error)

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

func (BackupSchedulesClient) GetSender

func (client BackupSchedulesClient) 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 (BackupSchedulesClient) ListByBackupPolicy

func (client BackupSchedulesClient) ListByBackupPolicy(deviceName string, backupPolicyName string, resourceGroupName string, managerName string) (result BackupScheduleList, err error)

ListByBackupPolicy gets all the backup schedules in a backup policy.

deviceName is the device name backupPolicyName is the backup policy name. resourceGroupName is the resource group name managerName is the manager name

func (BackupSchedulesClient) ListByBackupPolicyPreparer

func (client BackupSchedulesClient) ListByBackupPolicyPreparer(deviceName string, backupPolicyName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByBackupPolicyPreparer prepares the ListByBackupPolicy request.

func (BackupSchedulesClient) ListByBackupPolicyResponder

func (client BackupSchedulesClient) ListByBackupPolicyResponder(resp *http.Response) (result BackupScheduleList, err error)

ListByBackupPolicyResponder handles the response to the ListByBackupPolicy request. The method always closes the http.Response Body.

func (BackupSchedulesClient) ListByBackupPolicySender

func (client BackupSchedulesClient) ListByBackupPolicySender(req *http.Request) (*http.Response, error)

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

type BackupStatus

type BackupStatus string

BackupStatus enumerates the values for backup status.

const (
	// BackupStatusDisabled specifies the backup status disabled state for
	// backup status.
	BackupStatusDisabled BackupStatus = "Disabled"
	// BackupStatusEnabled specifies the backup status enabled state for backup
	// status.
	BackupStatusEnabled BackupStatus = "Enabled"
)

type BackupType

type BackupType string

BackupType enumerates the values for backup type.

const (
	// CloudSnapshot specifies the cloud snapshot state for backup type.
	CloudSnapshot BackupType = "CloudSnapshot"
	// LocalSnapshot specifies the local snapshot state for backup type.
	LocalSnapshot BackupType = "LocalSnapshot"
)

type BackupsClient

type BackupsClient struct {
	ManagementClient
}

BackupsClient is the client for the Backups methods of the Storsimple8000series service.

func NewBackupsClient

func NewBackupsClient(subscriptionID string) BackupsClient

NewBackupsClient creates an instance of the BackupsClient client.

func NewBackupsClientWithBaseURI

func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient

NewBackupsClientWithBaseURI creates an instance of the BackupsClient client.

func (BackupsClient) Clone

func (client BackupsClient) Clone(deviceName string, backupName string, backupElementName string, parameters CloneRequest, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Clone clones the backup element as a new volume. 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.

deviceName is the device name backupName is the backup name. backupElementName is the backup element name. parameters is the clone request object. resourceGroupName is the resource group name managerName is the manager name

func (BackupsClient) ClonePreparer

func (client BackupsClient) ClonePreparer(deviceName string, backupName string, backupElementName string, parameters CloneRequest, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

ClonePreparer prepares the Clone request.

func (BackupsClient) CloneResponder

func (client BackupsClient) CloneResponder(resp *http.Response) (result autorest.Response, err error)

CloneResponder handles the response to the Clone request. The method always closes the http.Response Body.

func (BackupsClient) CloneSender

func (client BackupsClient) CloneSender(req *http.Request) (*http.Response, error)

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

func (BackupsClient) Delete

func (client BackupsClient) Delete(deviceName string, backupName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the backup. 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.

deviceName is the device name backupName is the backup name. resourceGroupName is the resource group name managerName is the manager name

func (BackupsClient) DeletePreparer

func (client BackupsClient) DeletePreparer(deviceName string, backupName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupsClient) DeleteResponder

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

func (client BackupsClient) 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 (BackupsClient) ListByDevice

func (client BackupsClient) ListByDevice(deviceName string, resourceGroupName string, managerName string, filter string) (result BackupList, err error)

ListByDevice retrieves all the backups in a device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (BackupsClient) ListByDeviceComplete

func (client BackupsClient) ListByDeviceComplete(deviceName string, resourceGroupName string, managerName string, filter string, cancel <-chan struct{}) (<-chan Backup, <-chan error)

ListByDeviceComplete gets all elements from the list without paging.

func (BackupsClient) ListByDeviceNextResults

func (client BackupsClient) ListByDeviceNextResults(lastResults BackupList) (result BackupList, err error)

ListByDeviceNextResults retrieves the next set of results, if any.

func (BackupsClient) ListByDevicePreparer

func (client BackupsClient) ListByDevicePreparer(deviceName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (BackupsClient) ListByDeviceResponder

func (client BackupsClient) ListByDeviceResponder(resp *http.Response) (result BackupList, err error)

ListByDeviceResponder handles the response to the ListByDevice request. The method always closes the http.Response Body.

func (BackupsClient) ListByDeviceSender

func (client BackupsClient) ListByDeviceSender(req *http.Request) (*http.Response, error)

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

func (BackupsClient) Restore

func (client BackupsClient) Restore(deviceName string, backupName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Restore restores the backup on the device. 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.

deviceName is the device name backupName is the backupSet name resourceGroupName is the resource group name managerName is the manager name

func (BackupsClient) RestorePreparer

func (client BackupsClient) RestorePreparer(deviceName string, backupName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

RestorePreparer prepares the Restore request.

func (BackupsClient) RestoreResponder

func (client BackupsClient) RestoreResponder(resp *http.Response) (result autorest.Response, err error)

RestoreResponder handles the response to the Restore request. The method always closes the http.Response Body.

func (BackupsClient) RestoreSender

func (client BackupsClient) RestoreSender(req *http.Request) (*http.Response, error)

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

type BandwidthRateSettingProperties

type BandwidthRateSettingProperties struct {
	Schedules   *[]BandwidthSchedule `json:"schedules,omitempty"`
	VolumeCount *int32               `json:"volumeCount,omitempty"`
}

BandwidthRateSettingProperties is the properties of the bandwidth setting.

type BandwidthSchedule

type BandwidthSchedule struct {
	Start      *Time        `json:"start,omitempty"`
	Stop       *Time        `json:"stop,omitempty"`
	RateInMbps *int32       `json:"rateInMbps,omitempty"`
	Days       *[]DayOfWeek `json:"days,omitempty"`
}

BandwidthSchedule is the schedule for bandwidth setting.

type BandwidthSetting

type BandwidthSetting struct {
	autorest.Response               `json:"-"`
	ID                              *string `json:"id,omitempty"`
	Name                            *string `json:"name,omitempty"`
	Type                            *string `json:"type,omitempty"`
	Kind                            Kind    `json:"kind,omitempty"`
	*BandwidthRateSettingProperties `json:"properties,omitempty"`
}

BandwidthSetting is the bandwidth setting.

type BandwidthSettingList

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

BandwidthSettingList is the collection of bandwidth setting entities.

type BandwidthSettingsClient

type BandwidthSettingsClient struct {
	ManagementClient
}

BandwidthSettingsClient is the client for the BandwidthSettings methods of the Storsimple8000series service.

func NewBandwidthSettingsClient

func NewBandwidthSettingsClient(subscriptionID string) BandwidthSettingsClient

NewBandwidthSettingsClient creates an instance of the BandwidthSettingsClient client.

func NewBandwidthSettingsClientWithBaseURI

func NewBandwidthSettingsClientWithBaseURI(baseURI string, subscriptionID string) BandwidthSettingsClient

NewBandwidthSettingsClientWithBaseURI creates an instance of the BandwidthSettingsClient client.

func (BandwidthSettingsClient) CreateOrUpdate

func (client BandwidthSettingsClient) CreateOrUpdate(bandwidthSettingName string, parameters BandwidthSetting, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan BandwidthSetting, <-chan error)

CreateOrUpdate creates or updates the bandwidth setting 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.

bandwidthSettingName is the bandwidth setting name. parameters is the bandwidth setting to be added or updated. resourceGroupName is the resource group name managerName is the manager name

func (BandwidthSettingsClient) CreateOrUpdatePreparer

func (client BandwidthSettingsClient) CreateOrUpdatePreparer(bandwidthSettingName string, parameters BandwidthSetting, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BandwidthSettingsClient) CreateOrUpdateResponder

func (client BandwidthSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result BandwidthSetting, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (BandwidthSettingsClient) CreateOrUpdateSender

func (client BandwidthSettingsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (BandwidthSettingsClient) Delete

func (client BandwidthSettingsClient) Delete(bandwidthSettingName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the bandwidth setting 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.

bandwidthSettingName is the name of the bandwidth setting. resourceGroupName is the resource group name managerName is the manager name

func (BandwidthSettingsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (BandwidthSettingsClient) DeleteResponder

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

func (client BandwidthSettingsClient) 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 (BandwidthSettingsClient) Get

func (client BandwidthSettingsClient) Get(bandwidthSettingName string, resourceGroupName string, managerName string) (result BandwidthSetting, err error)

Get returns the properties of the specified bandwidth setting name.

bandwidthSettingName is the name of bandwidth setting to be fetched. resourceGroupName is the resource group name managerName is the manager name

func (BandwidthSettingsClient) GetPreparer

func (client BandwidthSettingsClient) GetPreparer(bandwidthSettingName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BandwidthSettingsClient) GetResponder

func (client BandwidthSettingsClient) GetResponder(resp *http.Response) (result BandwidthSetting, err error)

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

func (BandwidthSettingsClient) GetSender

func (client BandwidthSettingsClient) 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 (BandwidthSettingsClient) ListByManager

func (client BandwidthSettingsClient) ListByManager(resourceGroupName string, managerName string) (result BandwidthSettingList, err error)

ListByManager retrieves all the bandwidth setting in a manager.

resourceGroupName is the resource group name managerName is the manager name

func (BandwidthSettingsClient) ListByManagerPreparer

func (client BandwidthSettingsClient) ListByManagerPreparer(resourceGroupName string, managerName string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (BandwidthSettingsClient) ListByManagerResponder

func (client BandwidthSettingsClient) ListByManagerResponder(resp *http.Response) (result BandwidthSettingList, err error)

ListByManagerResponder handles the response to the ListByManager request. The method always closes the http.Response Body.

func (BandwidthSettingsClient) ListByManagerSender

func (client BandwidthSettingsClient) ListByManagerSender(req *http.Request) (*http.Response, error)

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

type BaseModel

type BaseModel struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
	Kind Kind    `json:"kind,omitempty"`
}

BaseModel is represents the base class for all other ARM object models

type ChapSettings

type ChapSettings struct {
	InitiatorUser   *string                    `json:"initiatorUser,omitempty"`
	InitiatorSecret *AsymmetricEncryptedSecret `json:"initiatorSecret,omitempty"`
	TargetUser      *string                    `json:"targetUser,omitempty"`
	TargetSecret    *AsymmetricEncryptedSecret `json:"targetSecret,omitempty"`
}

ChapSettings is the Challenge-Handshake Authentication Protocol (CHAP) settings.

type ClearAlertRequest

type ClearAlertRequest struct {
	ResolutionMessage *string   `json:"resolutionMessage,omitempty"`
	Alerts            *[]string `json:"alerts,omitempty"`
}

ClearAlertRequest is the request for clearing the alert

type CloneRequest

type CloneRequest struct {
	TargetDeviceID               *string        `json:"targetDeviceId,omitempty"`
	TargetVolumeName             *string        `json:"targetVolumeName,omitempty"`
	TargetAccessControlRecordIds *[]string      `json:"targetAccessControlRecordIds,omitempty"`
	BackupElement                *BackupElement `json:"backupElement,omitempty"`
}

CloneRequest is the clone job request.

type CloudAppliance

type CloudAppliance struct {
	Name                    *string `json:"name,omitempty"`
	VnetName                *string `json:"vnetName,omitempty"`
	VnetRegion              *string `json:"vnetRegion,omitempty"`
	IsVnetDNSConfigured     *bool   `json:"isVnetDnsConfigured,omitempty"`
	IsVnetExpressConfigured *bool   `json:"isVnetExpressConfigured,omitempty"`
	SubnetName              *string `json:"subnetName,omitempty"`
	StorageAccountName      *string `json:"storageAccountName,omitempty"`
	StorageAccountType      *string `json:"storageAccountType,omitempty"`
	VMType                  *string `json:"vmType,omitempty"`
	VMImageName             *string `json:"vmImageName,omitempty"`
	ModelNumber             *string `json:"modelNumber,omitempty"`
}

CloudAppliance is the cloud appliance.

type CloudApplianceConfiguration

type CloudApplianceConfiguration struct {
	ID                                     *string `json:"id,omitempty"`
	Name                                   *string `json:"name,omitempty"`
	Type                                   *string `json:"type,omitempty"`
	Kind                                   Kind    `json:"kind,omitempty"`
	*CloudApplianceConfigurationProperties `json:"properties,omitempty"`
}

CloudApplianceConfiguration is the cloud appliance configuration

type CloudApplianceConfigurationList

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

CloudApplianceConfigurationList is the cloud appliance configuration list

type CloudApplianceConfigurationProperties

type CloudApplianceConfigurationProperties struct {
	ModelNumber                  *string           `json:"modelNumber,omitempty"`
	CloudPlatform                *string           `json:"cloudPlatform,omitempty"`
	AcsConfiguration             *AcsConfiguration `json:"acsConfiguration,omitempty"`
	SupportedStorageAccountTypes *[]string         `json:"supportedStorageAccountTypes,omitempty"`
	SupportedRegions             *[]string         `json:"supportedRegions,omitempty"`
	SupportedVMTypes             *[]string         `json:"supportedVmTypes,omitempty"`
	SupportedVMImages            *[]VMImage        `json:"supportedVmImages,omitempty"`
}

CloudApplianceConfigurationProperties is the properties of cloud appliance configuration.

type CloudApplianceSettings

type CloudApplianceSettings struct {
	ServiceDataEncryptionKey *AsymmetricEncryptedSecret `json:"serviceDataEncryptionKey,omitempty"`
	ChannelIntegrityKey      *AsymmetricEncryptedSecret `json:"channelIntegrityKey,omitempty"`
}

CloudApplianceSettings is the cloud appliance settings.

type CloudAppliancesClient

type CloudAppliancesClient struct {
	ManagementClient
}

CloudAppliancesClient is the client for the CloudAppliances methods of the Storsimple8000series service.

func NewCloudAppliancesClient

func NewCloudAppliancesClient(subscriptionID string) CloudAppliancesClient

NewCloudAppliancesClient creates an instance of the CloudAppliancesClient client.

func NewCloudAppliancesClientWithBaseURI

func NewCloudAppliancesClientWithBaseURI(baseURI string, subscriptionID string) CloudAppliancesClient

NewCloudAppliancesClientWithBaseURI creates an instance of the CloudAppliancesClient client.

func (CloudAppliancesClient) ListSupportedConfigurations

func (client CloudAppliancesClient) ListSupportedConfigurations(resourceGroupName string, managerName string) (result CloudApplianceConfigurationList, err error)

ListSupportedConfigurations lists supported cloud appliance models and supported configurations.

resourceGroupName is the resource group name managerName is the manager name

func (CloudAppliancesClient) ListSupportedConfigurationsPreparer

func (client CloudAppliancesClient) ListSupportedConfigurationsPreparer(resourceGroupName string, managerName string) (*http.Request, error)

ListSupportedConfigurationsPreparer prepares the ListSupportedConfigurations request.

func (CloudAppliancesClient) ListSupportedConfigurationsResponder

func (client CloudAppliancesClient) ListSupportedConfigurationsResponder(resp *http.Response) (result CloudApplianceConfigurationList, err error)

ListSupportedConfigurationsResponder handles the response to the ListSupportedConfigurations request. The method always closes the http.Response Body.

func (CloudAppliancesClient) ListSupportedConfigurationsSender

func (client CloudAppliancesClient) ListSupportedConfigurationsSender(req *http.Request) (*http.Response, error)

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

func (CloudAppliancesClient) Provision

func (client CloudAppliancesClient) Provision(parameters CloudAppliance, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Provision provisions cloud appliance. 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.

parameters is the cloud appliance resourceGroupName is the resource group name managerName is the manager name

func (CloudAppliancesClient) ProvisionPreparer

func (client CloudAppliancesClient) ProvisionPreparer(parameters CloudAppliance, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

ProvisionPreparer prepares the Provision request.

func (CloudAppliancesClient) ProvisionResponder

func (client CloudAppliancesClient) ProvisionResponder(resp *http.Response) (result autorest.Response, err error)

ProvisionResponder handles the response to the Provision request. The method always closes the http.Response Body.

func (CloudAppliancesClient) ProvisionSender

func (client CloudAppliancesClient) ProvisionSender(req *http.Request) (*http.Response, error)

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

type ConfigureDeviceRequest

type ConfigureDeviceRequest struct {
	ID                                *string `json:"id,omitempty"`
	Name                              *string `json:"name,omitempty"`
	Type                              *string `json:"type,omitempty"`
	Kind                              Kind    `json:"kind,omitempty"`
	*ConfigureDeviceRequestProperties `json:"properties,omitempty"`
}

ConfigureDeviceRequest is the mandatory device configuration request.

type ConfigureDeviceRequestProperties

type ConfigureDeviceRequestProperties struct {
	FriendlyName                  *string                        `json:"friendlyName,omitempty"`
	CurrentDeviceName             *string                        `json:"currentDeviceName,omitempty"`
	TimeZone                      *string                        `json:"timeZone,omitempty"`
	DNSSettings                   *SecondaryDNSSettings          `json:"dnsSettings,omitempty"`
	NetworkInterfaceData0Settings *NetworkInterfaceData0Settings `json:"networkInterfaceData0Settings,omitempty"`
}

ConfigureDeviceRequestProperties is the properties of the configure device request.

type ControllerID

type ControllerID string

ControllerID enumerates the values for controller id.

const (
	// ControllerIDController0 specifies the controller id controller 0 state
	// for controller id.
	ControllerIDController0 ControllerID = "Controller0"
	// ControllerIDController1 specifies the controller id controller 1 state
	// for controller id.
	ControllerIDController1 ControllerID = "Controller1"
	// ControllerIDNone specifies the controller id none state for controller
	// id.
	ControllerIDNone ControllerID = "None"
	// ControllerIDUnknown specifies the controller id unknown state for
	// controller id.
	ControllerIDUnknown ControllerID = "Unknown"
)

type ControllerPowerStateAction

type ControllerPowerStateAction string

ControllerPowerStateAction enumerates the values for controller power state action.

const (
	// Restart specifies the restart state for controller power state action.
	Restart ControllerPowerStateAction = "Restart"
	// Shutdown specifies the shutdown state for controller power state action.
	Shutdown ControllerPowerStateAction = "Shutdown"
	// Start specifies the start state for controller power state action.
	Start ControllerPowerStateAction = "Start"
)

type ControllerPowerStateChangeRequest

type ControllerPowerStateChangeRequest struct {
	ID                                           *string `json:"id,omitempty"`
	Name                                         *string `json:"name,omitempty"`
	Type                                         *string `json:"type,omitempty"`
	Kind                                         Kind    `json:"kind,omitempty"`
	*ControllerPowerStateChangeRequestProperties `json:"properties,omitempty"`
}

ControllerPowerStateChangeRequest is the controller power state change request.

type ControllerPowerStateChangeRequestProperties

type ControllerPowerStateChangeRequestProperties struct {
	Action           ControllerPowerStateAction `json:"action,omitempty"`
	ActiveController ControllerID               `json:"activeController,omitempty"`
	Controller0State ControllerStatus           `json:"controller0State,omitempty"`
	Controller1State ControllerStatus           `json:"controller1State,omitempty"`
}

ControllerPowerStateChangeRequestProperties is the properties of the controller power state change request.

type ControllerStatus

type ControllerStatus string

ControllerStatus enumerates the values for controller status.

const (
	// ControllerStatusFailure specifies the controller status failure state
	// for controller status.
	ControllerStatusFailure ControllerStatus = "Failure"
	// ControllerStatusNotPresent specifies the controller status not present
	// state for controller status.
	ControllerStatusNotPresent ControllerStatus = "NotPresent"
	// ControllerStatusOk specifies the controller status ok state for
	// controller status.
	ControllerStatusOk ControllerStatus = "Ok"
	// ControllerStatusPoweredOff specifies the controller status powered off
	// state for controller status.
	ControllerStatusPoweredOff ControllerStatus = "PoweredOff"
	// ControllerStatusRecovering specifies the controller status recovering
	// state for controller status.
	ControllerStatusRecovering ControllerStatus = "Recovering"
	// ControllerStatusWarning specifies the controller status warning state
	// for controller status.
	ControllerStatusWarning ControllerStatus = "Warning"
)

type DNSSettings

type DNSSettings struct {
	PrimaryDNSServer        *string   `json:"primaryDnsServer,omitempty"`
	PrimaryIpv6DNSServer    *string   `json:"primaryIpv6DnsServer,omitempty"`
	SecondaryDNSServers     *[]string `json:"secondaryDnsServers,omitempty"`
	SecondaryIpv6DNSServers *[]string `json:"secondaryIpv6DnsServers,omitempty"`
}

DNSSettings is the DNS(Domain Name Server) settings of a device.

type DataStatistics

type DataStatistics struct {
	TotalData     *int64 `json:"totalData,omitempty"`
	ProcessedData *int64 `json:"processedData,omitempty"`
	CloudData     *int64 `json:"cloudData,omitempty"`
	Throughput    *int64 `json:"throughput,omitempty"`
}

DataStatistics is the additional details related to the data related statistics of a job. Currently applicable only for Backup, Clone and Restore jobs.

type DayOfWeek

type DayOfWeek string

DayOfWeek enumerates the values for day of week.

const (
	// Friday specifies the friday state for day of week.
	Friday DayOfWeek = "Friday"
	// Monday specifies the monday state for day of week.
	Monday DayOfWeek = "Monday"
	// Saturday specifies the saturday state for day of week.
	Saturday DayOfWeek = "Saturday"
	// Sunday specifies the sunday state for day of week.
	Sunday DayOfWeek = "Sunday"
	// Thursday specifies the thursday state for day of week.
	Thursday DayOfWeek = "Thursday"
	// Tuesday specifies the tuesday state for day of week.
	Tuesday DayOfWeek = "Tuesday"
	// Wednesday specifies the wednesday state for day of week.
	Wednesday DayOfWeek = "Wednesday"
)

type Device

type Device struct {
	autorest.Response `json:"-"`
	ID                *string `json:"id,omitempty"`
	Name              *string `json:"name,omitempty"`
	Type              *string `json:"type,omitempty"`
	Kind              Kind    `json:"kind,omitempty"`
	*DeviceProperties `json:"properties,omitempty"`
}

Device is the StorSimple device.

type DeviceConfigurationStatus

type DeviceConfigurationStatus string

DeviceConfigurationStatus enumerates the values for device configuration status.

const (
	// Complete specifies the complete state for device configuration status.
	Complete DeviceConfigurationStatus = "Complete"
	// Pending specifies the pending state for device configuration status.
	Pending DeviceConfigurationStatus = "Pending"
)

type DeviceDetails

type DeviceDetails struct {
	EndpointCount        *int32 `json:"endpointCount,omitempty"`
	VolumeContainerCount *int32 `json:"volumeContainerCount,omitempty"`
}

DeviceDetails is the additional device details regarding the end point count and volume container count.

type DeviceList

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

DeviceList is the collection of devices.

type DevicePatch

type DevicePatch struct {
	*DevicePatchProperties `json:"properties,omitempty"`
}

DevicePatch is the device patch.

type DevicePatchProperties

type DevicePatchProperties struct {
	DeviceDescription *string `json:"deviceDescription,omitempty"`
}

DevicePatchProperties is the properties of the device patch.

type DeviceProperties

type DeviceProperties struct {
	FriendlyName                    *string                   `json:"friendlyName,omitempty"`
	ActivationTime                  *date.Time                `json:"activationTime,omitempty"`
	Culture                         *string                   `json:"culture,omitempty"`
	DeviceDescription               *string                   `json:"deviceDescription,omitempty"`
	DeviceSoftwareVersion           *string                   `json:"deviceSoftwareVersion,omitempty"`
	FriendlySoftwareName            *string                   `json:"friendlySoftwareName,omitempty"`
	DeviceConfigurationStatus       DeviceConfigurationStatus `json:"deviceConfigurationStatus,omitempty"`
	TargetIqn                       *string                   `json:"targetIqn,omitempty"`
	ModelDescription                *string                   `json:"modelDescription,omitempty"`
	Status                          DeviceStatus              `json:"status,omitempty"`
	SerialNumber                    *string                   `json:"serialNumber,omitempty"`
	DeviceType                      DeviceType                `json:"deviceType,omitempty"`
	ActiveController                ControllerID              `json:"activeController,omitempty"`
	FriendlySoftwareVersion         *string                   `json:"friendlySoftwareVersion,omitempty"`
	AvailableLocalStorageInBytes    *int64                    `json:"availableLocalStorageInBytes,omitempty"`
	AvailableTieredStorageInBytes   *int64                    `json:"availableTieredStorageInBytes,omitempty"`
	ProvisionedTieredStorageInBytes *int64                    `json:"provisionedTieredStorageInBytes,omitempty"`
	ProvisionedLocalStorageInBytes  *int64                    `json:"provisionedLocalStorageInBytes,omitempty"`
	ProvisionedVolumeSizeInBytes    *int64                    `json:"provisionedVolumeSizeInBytes,omitempty"`
	UsingStorageInBytes             *int64                    `json:"usingStorageInBytes,omitempty"`
	TotalTieredStorageInBytes       *int64                    `json:"totalTieredStorageInBytes,omitempty"`
	AgentGroupVersion               *int32                    `json:"agentGroupVersion,omitempty"`
	NetworkInterfaceCardCount       *int32                    `json:"networkInterfaceCardCount,omitempty"`
	DeviceLocation                  *string                   `json:"deviceLocation,omitempty"`
	VirtualMachineAPIType           VirtualMachineAPIType     `json:"virtualMachineApiType,omitempty"`
	Details                         *DeviceDetails            `json:"details,omitempty"`
	RolloverDetails                 *DeviceRolloverDetails    `json:"rolloverDetails,omitempty"`
}

DeviceProperties is the properties of the StorSimple device.

type DeviceRolloverDetails

type DeviceRolloverDetails struct {
	AuthorizationEligibility AuthorizationEligibility `json:"authorizationEligibility,omitempty"`
	AuthorizationStatus      AuthorizationStatus      `json:"authorizationStatus,omitempty"`
	InEligibilityReason      InEligibilityCategory    `json:"inEligibilityReason,omitempty"`
}

DeviceRolloverDetails is the additional device details for the service data encryption key rollover.

type DeviceSettingsClient

type DeviceSettingsClient struct {
	ManagementClient
}

DeviceSettingsClient is the client for the DeviceSettings methods of the Storsimple8000series service.

func NewDeviceSettingsClient

func NewDeviceSettingsClient(subscriptionID string) DeviceSettingsClient

NewDeviceSettingsClient creates an instance of the DeviceSettingsClient client.

func NewDeviceSettingsClientWithBaseURI

func NewDeviceSettingsClientWithBaseURI(baseURI string, subscriptionID string) DeviceSettingsClient

NewDeviceSettingsClientWithBaseURI creates an instance of the DeviceSettingsClient client.

func (DeviceSettingsClient) CreateOrUpdateAlertSettings

func (client DeviceSettingsClient) CreateOrUpdateAlertSettings(deviceName string, parameters AlertSettings, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan AlertSettings, <-chan error)

CreateOrUpdateAlertSettings creates or updates the alert settings of the specified device. 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.

deviceName is the device name parameters is the alert settings to be added or updated. resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) CreateOrUpdateAlertSettingsPreparer

func (client DeviceSettingsClient) CreateOrUpdateAlertSettingsPreparer(deviceName string, parameters AlertSettings, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdateAlertSettingsPreparer prepares the CreateOrUpdateAlertSettings request.

func (DeviceSettingsClient) CreateOrUpdateAlertSettingsResponder

func (client DeviceSettingsClient) CreateOrUpdateAlertSettingsResponder(resp *http.Response) (result AlertSettings, err error)

CreateOrUpdateAlertSettingsResponder handles the response to the CreateOrUpdateAlertSettings request. The method always closes the http.Response Body.

func (DeviceSettingsClient) CreateOrUpdateAlertSettingsSender

func (client DeviceSettingsClient) CreateOrUpdateAlertSettingsSender(req *http.Request) (*http.Response, error)

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

func (DeviceSettingsClient) CreateOrUpdateTimeSettings

func (client DeviceSettingsClient) CreateOrUpdateTimeSettings(deviceName string, parameters TimeSettings, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan TimeSettings, <-chan error)

CreateOrUpdateTimeSettings creates or updates the time settings of the specified device. 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.

deviceName is the device name parameters is the time settings to be added or updated. resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) CreateOrUpdateTimeSettingsPreparer

func (client DeviceSettingsClient) CreateOrUpdateTimeSettingsPreparer(deviceName string, parameters TimeSettings, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdateTimeSettingsPreparer prepares the CreateOrUpdateTimeSettings request.

func (DeviceSettingsClient) CreateOrUpdateTimeSettingsResponder

func (client DeviceSettingsClient) CreateOrUpdateTimeSettingsResponder(resp *http.Response) (result TimeSettings, err error)

CreateOrUpdateTimeSettingsResponder handles the response to the CreateOrUpdateTimeSettings request. The method always closes the http.Response Body.

func (DeviceSettingsClient) CreateOrUpdateTimeSettingsSender

func (client DeviceSettingsClient) CreateOrUpdateTimeSettingsSender(req *http.Request) (*http.Response, error)

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

func (DeviceSettingsClient) GetAlertSettings

func (client DeviceSettingsClient) GetAlertSettings(deviceName string, resourceGroupName string, managerName string) (result AlertSettings, err error)

GetAlertSettings gets the alert settings of the specified device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) GetAlertSettingsPreparer

func (client DeviceSettingsClient) GetAlertSettingsPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetAlertSettingsPreparer prepares the GetAlertSettings request.

func (DeviceSettingsClient) GetAlertSettingsResponder

func (client DeviceSettingsClient) GetAlertSettingsResponder(resp *http.Response) (result AlertSettings, err error)

GetAlertSettingsResponder handles the response to the GetAlertSettings request. The method always closes the http.Response Body.

func (DeviceSettingsClient) GetAlertSettingsSender

func (client DeviceSettingsClient) GetAlertSettingsSender(req *http.Request) (*http.Response, error)

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

func (DeviceSettingsClient) GetNetworkSettings

func (client DeviceSettingsClient) GetNetworkSettings(deviceName string, resourceGroupName string, managerName string) (result NetworkSettings, err error)

GetNetworkSettings gets the network settings of the specified device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) GetNetworkSettingsPreparer

func (client DeviceSettingsClient) GetNetworkSettingsPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetNetworkSettingsPreparer prepares the GetNetworkSettings request.

func (DeviceSettingsClient) GetNetworkSettingsResponder

func (client DeviceSettingsClient) GetNetworkSettingsResponder(resp *http.Response) (result NetworkSettings, err error)

GetNetworkSettingsResponder handles the response to the GetNetworkSettings request. The method always closes the http.Response Body.

func (DeviceSettingsClient) GetNetworkSettingsSender

func (client DeviceSettingsClient) GetNetworkSettingsSender(req *http.Request) (*http.Response, error)

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

func (DeviceSettingsClient) GetSecuritySettings

func (client DeviceSettingsClient) GetSecuritySettings(deviceName string, resourceGroupName string, managerName string) (result SecuritySettings, err error)

GetSecuritySettings returns the Security properties of the specified device name.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) GetSecuritySettingsPreparer

func (client DeviceSettingsClient) GetSecuritySettingsPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetSecuritySettingsPreparer prepares the GetSecuritySettings request.

func (DeviceSettingsClient) GetSecuritySettingsResponder

func (client DeviceSettingsClient) GetSecuritySettingsResponder(resp *http.Response) (result SecuritySettings, err error)

GetSecuritySettingsResponder handles the response to the GetSecuritySettings request. The method always closes the http.Response Body.

func (DeviceSettingsClient) GetSecuritySettingsSender

func (client DeviceSettingsClient) GetSecuritySettingsSender(req *http.Request) (*http.Response, error)

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

func (DeviceSettingsClient) GetTimeSettings

func (client DeviceSettingsClient) GetTimeSettings(deviceName string, resourceGroupName string, managerName string) (result TimeSettings, err error)

GetTimeSettings gets the time settings of the specified device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) GetTimeSettingsPreparer

func (client DeviceSettingsClient) GetTimeSettingsPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetTimeSettingsPreparer prepares the GetTimeSettings request.

func (DeviceSettingsClient) GetTimeSettingsResponder

func (client DeviceSettingsClient) GetTimeSettingsResponder(resp *http.Response) (result TimeSettings, err error)

GetTimeSettingsResponder handles the response to the GetTimeSettings request. The method always closes the http.Response Body.

func (DeviceSettingsClient) GetTimeSettingsSender

func (client DeviceSettingsClient) GetTimeSettingsSender(req *http.Request) (*http.Response, error)

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

func (DeviceSettingsClient) SyncRemotemanagementCertificate

func (client DeviceSettingsClient) SyncRemotemanagementCertificate(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

SyncRemotemanagementCertificate sync Remote management Certificate between appliance and Service 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.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) SyncRemotemanagementCertificatePreparer

func (client DeviceSettingsClient) SyncRemotemanagementCertificatePreparer(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

SyncRemotemanagementCertificatePreparer prepares the SyncRemotemanagementCertificate request.

func (DeviceSettingsClient) SyncRemotemanagementCertificateResponder

func (client DeviceSettingsClient) SyncRemotemanagementCertificateResponder(resp *http.Response) (result autorest.Response, err error)

SyncRemotemanagementCertificateResponder handles the response to the SyncRemotemanagementCertificate request. The method always closes the http.Response Body.

func (DeviceSettingsClient) SyncRemotemanagementCertificateSender

func (client DeviceSettingsClient) SyncRemotemanagementCertificateSender(req *http.Request) (*http.Response, error)

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

func (DeviceSettingsClient) UpdateNetworkSettings

func (client DeviceSettingsClient) UpdateNetworkSettings(deviceName string, parameters NetworkSettingsPatch, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan NetworkSettings, <-chan error)

UpdateNetworkSettings updates the network settings on the specified device. 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.

deviceName is the device name parameters is the network settings to be updated. resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) UpdateNetworkSettingsPreparer

func (client DeviceSettingsClient) UpdateNetworkSettingsPreparer(deviceName string, parameters NetworkSettingsPatch, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

UpdateNetworkSettingsPreparer prepares the UpdateNetworkSettings request.

func (DeviceSettingsClient) UpdateNetworkSettingsResponder

func (client DeviceSettingsClient) UpdateNetworkSettingsResponder(resp *http.Response) (result NetworkSettings, err error)

UpdateNetworkSettingsResponder handles the response to the UpdateNetworkSettings request. The method always closes the http.Response Body.

func (DeviceSettingsClient) UpdateNetworkSettingsSender

func (client DeviceSettingsClient) UpdateNetworkSettingsSender(req *http.Request) (*http.Response, error)

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

func (DeviceSettingsClient) UpdateSecuritySettings

func (client DeviceSettingsClient) UpdateSecuritySettings(deviceName string, parameters SecuritySettingsPatch, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan SecuritySettings, <-chan error)

UpdateSecuritySettings patch Security properties of the specified device name. 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.

deviceName is the device name parameters is the security settings properties to be patched. resourceGroupName is the resource group name managerName is the manager name

func (DeviceSettingsClient) UpdateSecuritySettingsPreparer

func (client DeviceSettingsClient) UpdateSecuritySettingsPreparer(deviceName string, parameters SecuritySettingsPatch, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

UpdateSecuritySettingsPreparer prepares the UpdateSecuritySettings request.

func (DeviceSettingsClient) UpdateSecuritySettingsResponder

func (client DeviceSettingsClient) UpdateSecuritySettingsResponder(resp *http.Response) (result SecuritySettings, err error)

UpdateSecuritySettingsResponder handles the response to the UpdateSecuritySettings request. The method always closes the http.Response Body.

func (DeviceSettingsClient) UpdateSecuritySettingsSender

func (client DeviceSettingsClient) UpdateSecuritySettingsSender(req *http.Request) (*http.Response, error)

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

type DeviceStatus

type DeviceStatus string

DeviceStatus enumerates the values for device status.

const (
	// Creating specifies the creating state for device status.
	Creating DeviceStatus = "Creating"
	// Deactivated specifies the deactivated state for device status.
	Deactivated DeviceStatus = "Deactivated"
	// Deactivating specifies the deactivating state for device status.
	Deactivating DeviceStatus = "Deactivating"
	// Deleted specifies the deleted state for device status.
	Deleted DeviceStatus = "Deleted"
	// MaintenanceMode specifies the maintenance mode state for device status.
	MaintenanceMode DeviceStatus = "MaintenanceMode"
	// Offline specifies the offline state for device status.
	Offline DeviceStatus = "Offline"
	// Online specifies the online state for device status.
	Online DeviceStatus = "Online"
	// Provisioning specifies the provisioning state for device status.
	Provisioning DeviceStatus = "Provisioning"
	// ReadyToSetup specifies the ready to setup state for device status.
	ReadyToSetup DeviceStatus = "ReadyToSetup"
	// RequiresAttention specifies the requires attention state for device
	// status.
	RequiresAttention DeviceStatus = "RequiresAttention"
	// Unknown specifies the unknown state for device status.
	Unknown DeviceStatus = "Unknown"
)

type DeviceType

type DeviceType string

DeviceType enumerates the values for device type.

const (
	// DeviceTypeInvalid specifies the device type invalid state for device
	// type.
	DeviceTypeInvalid DeviceType = "Invalid"
	// DeviceTypeSeries8000PhysicalAppliance specifies the device type series
	// 8000 physical appliance state for device type.
	DeviceTypeSeries8000PhysicalAppliance DeviceType = "Series8000PhysicalAppliance"
	// DeviceTypeSeries8000VirtualAppliance specifies the device type series
	// 8000 virtual appliance state for device type.
	DeviceTypeSeries8000VirtualAppliance DeviceType = "Series8000VirtualAppliance"
)

type DevicesClient

type DevicesClient struct {
	ManagementClient
}

DevicesClient is the client for the Devices methods of the Storsimple8000series service.

func NewDevicesClient

func NewDevicesClient(subscriptionID string) DevicesClient

NewDevicesClient creates an instance of the DevicesClient client.

func NewDevicesClientWithBaseURI

func NewDevicesClientWithBaseURI(baseURI string, subscriptionID string) DevicesClient

NewDevicesClientWithBaseURI creates an instance of the DevicesClient client.

func (DevicesClient) AuthorizeForServiceEncryptionKeyRollover

func (client DevicesClient) AuthorizeForServiceEncryptionKeyRollover(deviceName string, resourceGroupName string, managerName string) (result autorest.Response, err error)

AuthorizeForServiceEncryptionKeyRollover authorizes the specified device for service data encryption key rollover.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) AuthorizeForServiceEncryptionKeyRolloverPreparer

func (client DevicesClient) AuthorizeForServiceEncryptionKeyRolloverPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

AuthorizeForServiceEncryptionKeyRolloverPreparer prepares the AuthorizeForServiceEncryptionKeyRollover request.

func (DevicesClient) AuthorizeForServiceEncryptionKeyRolloverResponder

func (client DevicesClient) AuthorizeForServiceEncryptionKeyRolloverResponder(resp *http.Response) (result autorest.Response, err error)

AuthorizeForServiceEncryptionKeyRolloverResponder handles the response to the AuthorizeForServiceEncryptionKeyRollover request. The method always closes the http.Response Body.

func (DevicesClient) AuthorizeForServiceEncryptionKeyRolloverSender

func (client DevicesClient) AuthorizeForServiceEncryptionKeyRolloverSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) Configure

func (client DevicesClient) Configure(parameters ConfigureDeviceRequest, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Configure complete minimal setup before using the device. 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.

parameters is the minimal properties to configure a device. resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) ConfigurePreparer

func (client DevicesClient) ConfigurePreparer(parameters ConfigureDeviceRequest, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

ConfigurePreparer prepares the Configure request.

func (DevicesClient) ConfigureResponder

func (client DevicesClient) ConfigureResponder(resp *http.Response) (result autorest.Response, err error)

ConfigureResponder handles the response to the Configure request. The method always closes the http.Response Body.

func (DevicesClient) ConfigureSender

func (client DevicesClient) ConfigureSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) Deactivate

func (client DevicesClient) Deactivate(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Deactivate deactivates the device. 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.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) DeactivatePreparer

func (client DevicesClient) DeactivatePreparer(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

DeactivatePreparer prepares the Deactivate request.

func (DevicesClient) DeactivateResponder

func (client DevicesClient) DeactivateResponder(resp *http.Response) (result autorest.Response, err error)

DeactivateResponder handles the response to the Deactivate request. The method always closes the http.Response Body.

func (DevicesClient) DeactivateSender

func (client DevicesClient) DeactivateSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) Delete

func (client DevicesClient) Delete(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the device. 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.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (DevicesClient) DeleteResponder

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

func (client DevicesClient) 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 (DevicesClient) Failover

func (client DevicesClient) Failover(sourceDeviceName string, parameters FailoverRequest, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Failover failovers a set of volume containers from a specified source device to a target device. 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.

sourceDeviceName is the source device name on which failover is performed. parameters is failoverRequest containing the source device and the list of volume containers to be failed over. resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) FailoverPreparer

func (client DevicesClient) FailoverPreparer(sourceDeviceName string, parameters FailoverRequest, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

FailoverPreparer prepares the Failover request.

func (DevicesClient) FailoverResponder

func (client DevicesClient) FailoverResponder(resp *http.Response) (result autorest.Response, err error)

FailoverResponder handles the response to the Failover request. The method always closes the http.Response Body.

func (DevicesClient) FailoverSender

func (client DevicesClient) FailoverSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) Get

func (client DevicesClient) Get(deviceName string, resourceGroupName string, managerName string, expand string) (result Device, err error)

Get returns the properties of the specified device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name expand is specify $expand=details to populate additional fields related to the device or $expand=rolloverdetails to populate additional fields related to the service data encryption key rollover on device

func (DevicesClient) GetPreparer

func (client DevicesClient) GetPreparer(deviceName string, resourceGroupName string, managerName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DevicesClient) GetResponder

func (client DevicesClient) GetResponder(resp *http.Response) (result Device, err error)

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

func (DevicesClient) GetSender

func (client DevicesClient) 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 (DevicesClient) GetUpdateSummary

func (client DevicesClient) GetUpdateSummary(deviceName string, resourceGroupName string, managerName string) (result Updates, err error)

GetUpdateSummary returns the update summary of the specified device name.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) GetUpdateSummaryPreparer

func (client DevicesClient) GetUpdateSummaryPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetUpdateSummaryPreparer prepares the GetUpdateSummary request.

func (DevicesClient) GetUpdateSummaryResponder

func (client DevicesClient) GetUpdateSummaryResponder(resp *http.Response) (result Updates, err error)

GetUpdateSummaryResponder handles the response to the GetUpdateSummary request. The method always closes the http.Response Body.

func (DevicesClient) GetUpdateSummarySender

func (client DevicesClient) GetUpdateSummarySender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) InstallUpdates

func (client DevicesClient) InstallUpdates(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

InstallUpdates downloads and installs the updates on the device. 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.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) InstallUpdatesPreparer

func (client DevicesClient) InstallUpdatesPreparer(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

InstallUpdatesPreparer prepares the InstallUpdates request.

func (DevicesClient) InstallUpdatesResponder

func (client DevicesClient) InstallUpdatesResponder(resp *http.Response) (result autorest.Response, err error)

InstallUpdatesResponder handles the response to the InstallUpdates request. The method always closes the http.Response Body.

func (DevicesClient) InstallUpdatesSender

func (client DevicesClient) InstallUpdatesSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) ListByManager

func (client DevicesClient) ListByManager(resourceGroupName string, managerName string, expand string) (result DeviceList, err error)

ListByManager returns the list of devices for the specified manager.

resourceGroupName is the resource group name managerName is the manager name expand is specify $expand=details to populate additional fields related to the device or $expand=rolloverdetails to populate additional fields related to the service data encryption key rollover on device

func (DevicesClient) ListByManagerPreparer

func (client DevicesClient) ListByManagerPreparer(resourceGroupName string, managerName string, expand string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (DevicesClient) ListByManagerResponder

func (client DevicesClient) ListByManagerResponder(resp *http.Response) (result DeviceList, err error)

ListByManagerResponder handles the response to the ListByManager request. The method always closes the http.Response Body.

func (DevicesClient) ListByManagerSender

func (client DevicesClient) ListByManagerSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) ListFailoverSets

func (client DevicesClient) ListFailoverSets(deviceName string, resourceGroupName string, managerName string) (result FailoverSetsList, err error)

ListFailoverSets returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) ListFailoverSetsPreparer

func (client DevicesClient) ListFailoverSetsPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListFailoverSetsPreparer prepares the ListFailoverSets request.

func (DevicesClient) ListFailoverSetsResponder

func (client DevicesClient) ListFailoverSetsResponder(resp *http.Response) (result FailoverSetsList, err error)

ListFailoverSetsResponder handles the response to the ListFailoverSets request. The method always closes the http.Response Body.

func (DevicesClient) ListFailoverSetsSender

func (client DevicesClient) ListFailoverSetsSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) ListFailoverTargets

func (client DevicesClient) ListFailoverTargets(sourceDeviceName string, parameters ListFailoverTargetsRequest, resourceGroupName string, managerName string) (result FailoverTargetsList, err error)

ListFailoverTargets given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource.

sourceDeviceName is the source device name on which failover is performed. parameters is listFailoverTargetsRequest containing the list of volume containers to be failed over. resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) ListFailoverTargetsPreparer

func (client DevicesClient) ListFailoverTargetsPreparer(sourceDeviceName string, parameters ListFailoverTargetsRequest, resourceGroupName string, managerName string) (*http.Request, error)

ListFailoverTargetsPreparer prepares the ListFailoverTargets request.

func (DevicesClient) ListFailoverTargetsResponder

func (client DevicesClient) ListFailoverTargetsResponder(resp *http.Response) (result FailoverTargetsList, err error)

ListFailoverTargetsResponder handles the response to the ListFailoverTargets request. The method always closes the http.Response Body.

func (DevicesClient) ListFailoverTargetsSender

func (client DevicesClient) ListFailoverTargetsSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) ListMetricDefinition

func (client DevicesClient) ListMetricDefinition(deviceName string, resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition gets the metric definitions for the specified device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) ListMetricDefinitionPreparer

func (client DevicesClient) ListMetricDefinitionPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (DevicesClient) ListMetricDefinitionResponder

func (client DevicesClient) ListMetricDefinitionResponder(resp *http.Response) (result MetricDefinitionList, err error)

ListMetricDefinitionResponder handles the response to the ListMetricDefinition request. The method always closes the http.Response Body.

func (DevicesClient) ListMetricDefinitionSender

func (client DevicesClient) ListMetricDefinitionSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) ListMetrics

func (client DevicesClient) ListMetrics(deviceName string, resourceGroupName string, managerName string, filter string) (result MetricList, err error)

ListMetrics gets the metrics for the specified device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (DevicesClient) ListMetricsPreparer

func (client DevicesClient) ListMetricsPreparer(deviceName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (DevicesClient) ListMetricsResponder

func (client DevicesClient) ListMetricsResponder(resp *http.Response) (result MetricList, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (DevicesClient) ListMetricsSender

func (client DevicesClient) ListMetricsSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) ScanForUpdates

func (client DevicesClient) ScanForUpdates(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

ScanForUpdates scans for updates on the device. 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.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) ScanForUpdatesPreparer

func (client DevicesClient) ScanForUpdatesPreparer(deviceName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

ScanForUpdatesPreparer prepares the ScanForUpdates request.

func (DevicesClient) ScanForUpdatesResponder

func (client DevicesClient) ScanForUpdatesResponder(resp *http.Response) (result autorest.Response, err error)

ScanForUpdatesResponder handles the response to the ScanForUpdates request. The method always closes the http.Response Body.

func (DevicesClient) ScanForUpdatesSender

func (client DevicesClient) ScanForUpdatesSender(req *http.Request) (*http.Response, error)

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

func (DevicesClient) Update

func (client DevicesClient) Update(deviceName string, parameters DevicePatch, resourceGroupName string, managerName string) (result Device, err error)

Update patches the device.

deviceName is the device name parameters is patch representation of the device. resourceGroupName is the resource group name managerName is the manager name

func (DevicesClient) UpdatePreparer

func (client DevicesClient) UpdatePreparer(deviceName string, parameters DevicePatch, resourceGroupName string, managerName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DevicesClient) UpdateResponder

func (client DevicesClient) UpdateResponder(resp *http.Response) (result Device, err error)

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

func (DevicesClient) UpdateSender

func (client DevicesClient) 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 DimensionFilter

type DimensionFilter struct {
	Name   *string `json:"name,omitempty"`
	Values *string `json:"values,omitempty"`
}

DimensionFilter is the dimension filter.

type EncryptionAlgorithm

type EncryptionAlgorithm string

EncryptionAlgorithm enumerates the values for encryption algorithm.

const (
	// EncryptionAlgorithmAES256 specifies the encryption algorithm aes256
	// state for encryption algorithm.
	EncryptionAlgorithmAES256 EncryptionAlgorithm = "AES256"
	// EncryptionAlgorithmNone specifies the encryption algorithm none state
	// for encryption algorithm.
	EncryptionAlgorithmNone EncryptionAlgorithm = "None"
	// EncryptionAlgorithmRSAESPKCS1V15 specifies the encryption algorithm
	// rsaespkcs1v15 state for encryption algorithm.
	EncryptionAlgorithmRSAESPKCS1V15 EncryptionAlgorithm = "RSAES_PKCS1_v_1_5"
)

type EncryptionSettings

type EncryptionSettings struct {
	autorest.Response             `json:"-"`
	ID                            *string `json:"id,omitempty"`
	Name                          *string `json:"name,omitempty"`
	Type                          *string `json:"type,omitempty"`
	Kind                          Kind    `json:"kind,omitempty"`
	*EncryptionSettingsProperties `json:"properties,omitempty"`
}

EncryptionSettings is the encryption settings.

type EncryptionSettingsProperties

type EncryptionSettingsProperties struct {
	EncryptionStatus  EncryptionStatus  `json:"encryptionStatus,omitempty"`
	KeyRolloverStatus KeyRolloverStatus `json:"keyRolloverStatus,omitempty"`
}

EncryptionSettingsProperties is the properties of encryption settings.

type EncryptionStatus

type EncryptionStatus string

EncryptionStatus enumerates the values for encryption status.

const (
	// EncryptionStatusDisabled specifies the encryption status disabled state
	// for encryption status.
	EncryptionStatusDisabled EncryptionStatus = "Disabled"
	// EncryptionStatusEnabled specifies the encryption status enabled state
	// for encryption status.
	EncryptionStatusEnabled EncryptionStatus = "Enabled"
)

type FailoverRequest

type FailoverRequest struct {
	TargetDeviceID   *string   `json:"targetDeviceId,omitempty"`
	VolumeContainers *[]string `json:"volumeContainers,omitempty"`
}

FailoverRequest is the request object for triggering a failover of volume containers, from a source device to a target device.

type FailoverSet

type FailoverSet struct {
	VolumeContainers  *[]VolumeContainerFailoverMetadata `json:"volumeContainers,omitempty"`
	EligibilityResult *FailoverSetEligibilityResult      `json:"eligibilityResult,omitempty"`
}

FailoverSet is the failover set on a device.

type FailoverSetEligibilityResult

type FailoverSetEligibilityResult struct {
	IsEligibleForFailover *bool   `json:"isEligibleForFailover,omitempty"`
	ErrorMessage          *string `json:"errorMessage,omitempty"`
}

FailoverSetEligibilityResult is the eligibility result of failover set, for failover.

type FailoverSetsList

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

FailoverSetsList is the list of failover sets.

type FailoverTarget

type FailoverTarget struct {
	DeviceID                      *string                  `json:"deviceId,omitempty"`
	DeviceStatus                  DeviceStatus             `json:"deviceStatus,omitempty"`
	ModelDescription              *string                  `json:"modelDescription,omitempty"`
	DeviceSoftwareVersion         *string                  `json:"deviceSoftwareVersion,omitempty"`
	DataContainersCount           *int32                   `json:"dataContainersCount,omitempty"`
	VolumesCount                  *int32                   `json:"volumesCount,omitempty"`
	AvailableLocalStorageInBytes  *int64                   `json:"availableLocalStorageInBytes,omitempty"`
	AvailableTieredStorageInBytes *int64                   `json:"availableTieredStorageInBytes,omitempty"`
	DeviceLocation                *string                  `json:"deviceLocation,omitempty"`
	FriendlyDeviceSoftwareVersion *string                  `json:"friendlyDeviceSoftwareVersion,omitempty"`
	EligibilityResult             *TargetEligibilityResult `json:"eligibilityResult,omitempty"`
}

FailoverTarget is represents the eligibility of a device as a failover target device.

type FailoverTargetsList

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

FailoverTargetsList is the list of all devices in a resource and their eligibility status as a failover target device.

type Feature

type Feature struct {
	Name   *string              `json:"name,omitempty"`
	Status FeatureSupportStatus `json:"status,omitempty"`
}

Feature is the feature.

type FeatureFilter

type FeatureFilter struct {
	DeviceID *string `json:"deviceId,omitempty"`
}

FeatureFilter is the OData filter to be used for features.

type FeatureList

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

FeatureList is the collections of features.

type FeatureSupportStatus

type FeatureSupportStatus string

FeatureSupportStatus enumerates the values for feature support status.

const (
	// NotAvailable specifies the not available state for feature support
	// status.
	NotAvailable FeatureSupportStatus = "NotAvailable"
	// Supported specifies the supported state for feature support status.
	Supported FeatureSupportStatus = "Supported"
	// UnsupportedDeviceVersion specifies the unsupported device version state
	// for feature support status.
	UnsupportedDeviceVersion FeatureSupportStatus = "UnsupportedDeviceVersion"
)

type HardwareComponent

type HardwareComponent struct {
	ComponentID       *string                 `json:"componentId,omitempty"`
	DisplayName       *string                 `json:"displayName,omitempty"`
	Status            HardwareComponentStatus `json:"status,omitempty"`
	StatusDisplayName *string                 `json:"statusDisplayName,omitempty"`
}

HardwareComponent is the hardware component.

type HardwareComponentGroup

type HardwareComponentGroup struct {
	ID                                *string `json:"id,omitempty"`
	Name                              *string `json:"name,omitempty"`
	Type                              *string `json:"type,omitempty"`
	Kind                              Kind    `json:"kind,omitempty"`
	*HardwareComponentGroupProperties `json:"properties,omitempty"`
}

HardwareComponentGroup is the hardware component group.

type HardwareComponentGroupList

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

HardwareComponentGroupList is the collection of hardware component groups.

type HardwareComponentGroupProperties

type HardwareComponentGroupProperties struct {
	DisplayName     *string              `json:"displayName,omitempty"`
	LastUpdatedTime *date.Time           `json:"lastUpdatedTime,omitempty"`
	Components      *[]HardwareComponent `json:"components,omitempty"`
}

HardwareComponentGroupProperties is the properties of hardware component group.

type HardwareComponentGroupsClient

type HardwareComponentGroupsClient struct {
	ManagementClient
}

HardwareComponentGroupsClient is the client for the HardwareComponentGroups methods of the Storsimple8000series service.

func NewHardwareComponentGroupsClient

func NewHardwareComponentGroupsClient(subscriptionID string) HardwareComponentGroupsClient

NewHardwareComponentGroupsClient creates an instance of the HardwareComponentGroupsClient client.

func NewHardwareComponentGroupsClientWithBaseURI

func NewHardwareComponentGroupsClientWithBaseURI(baseURI string, subscriptionID string) HardwareComponentGroupsClient

NewHardwareComponentGroupsClientWithBaseURI creates an instance of the HardwareComponentGroupsClient client.

func (HardwareComponentGroupsClient) ChangeControllerPowerState

func (client HardwareComponentGroupsClient) ChangeControllerPowerState(deviceName string, hardwareComponentGroupName string, parameters ControllerPowerStateChangeRequest, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

ChangeControllerPowerState changes the power state of the controller. 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.

deviceName is the device name hardwareComponentGroupName is the hardware component group name. parameters is the controller power state change request. resourceGroupName is the resource group name managerName is the manager name

func (HardwareComponentGroupsClient) ChangeControllerPowerStatePreparer

func (client HardwareComponentGroupsClient) ChangeControllerPowerStatePreparer(deviceName string, hardwareComponentGroupName string, parameters ControllerPowerStateChangeRequest, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

ChangeControllerPowerStatePreparer prepares the ChangeControllerPowerState request.

func (HardwareComponentGroupsClient) ChangeControllerPowerStateResponder

func (client HardwareComponentGroupsClient) ChangeControllerPowerStateResponder(resp *http.Response) (result autorest.Response, err error)

ChangeControllerPowerStateResponder handles the response to the ChangeControllerPowerState request. The method always closes the http.Response Body.

func (HardwareComponentGroupsClient) ChangeControllerPowerStateSender

func (client HardwareComponentGroupsClient) ChangeControllerPowerStateSender(req *http.Request) (*http.Response, error)

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

func (HardwareComponentGroupsClient) ListByDevice

func (client HardwareComponentGroupsClient) ListByDevice(deviceName string, resourceGroupName string, managerName string) (result HardwareComponentGroupList, err error)

ListByDevice lists the hardware component groups at device-level.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (HardwareComponentGroupsClient) ListByDevicePreparer

func (client HardwareComponentGroupsClient) ListByDevicePreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (HardwareComponentGroupsClient) ListByDeviceResponder

func (client HardwareComponentGroupsClient) ListByDeviceResponder(resp *http.Response) (result HardwareComponentGroupList, err error)

ListByDeviceResponder handles the response to the ListByDevice request. The method always closes the http.Response Body.

func (HardwareComponentGroupsClient) ListByDeviceSender

func (client HardwareComponentGroupsClient) ListByDeviceSender(req *http.Request) (*http.Response, error)

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

type HardwareComponentStatus

type HardwareComponentStatus string

HardwareComponentStatus enumerates the values for hardware component status.

const (
	// HardwareComponentStatusFailure specifies the hardware component status
	// failure state for hardware component status.
	HardwareComponentStatusFailure HardwareComponentStatus = "Failure"
	// HardwareComponentStatusNotPresent specifies the hardware component
	// status not present state for hardware component status.
	HardwareComponentStatusNotPresent HardwareComponentStatus = "NotPresent"
	// HardwareComponentStatusOk specifies the hardware component status ok
	// state for hardware component status.
	HardwareComponentStatusOk HardwareComponentStatus = "Ok"
	// HardwareComponentStatusPoweredOff specifies the hardware component
	// status powered off state for hardware component status.
	HardwareComponentStatusPoweredOff HardwareComponentStatus = "PoweredOff"
	// HardwareComponentStatusRecovering specifies the hardware component
	// status recovering state for hardware component status.
	HardwareComponentStatusRecovering HardwareComponentStatus = "Recovering"
	// HardwareComponentStatusUnknown specifies the hardware component status
	// unknown state for hardware component status.
	HardwareComponentStatusUnknown HardwareComponentStatus = "Unknown"
	// HardwareComponentStatusWarning specifies the hardware component status
	// warning state for hardware component status.
	HardwareComponentStatusWarning HardwareComponentStatus = "Warning"
)

type ISCSIAndCloudStatus

type ISCSIAndCloudStatus string

ISCSIAndCloudStatus enumerates the values for iscsi and cloud status.

const (
	// ISCSIAndCloudStatusCloudEnabled specifies the iscsi and cloud status
	// cloud enabled state for iscsi and cloud status.
	ISCSIAndCloudStatusCloudEnabled ISCSIAndCloudStatus = "CloudEnabled"
	// ISCSIAndCloudStatusDisabled specifies the iscsi and cloud status
	// disabled state for iscsi and cloud status.
	ISCSIAndCloudStatusDisabled ISCSIAndCloudStatus = "Disabled"
	// ISCSIAndCloudStatusIscsiAndCloudEnabled specifies the iscsi and cloud
	// status iscsi and cloud enabled state for iscsi and cloud status.
	ISCSIAndCloudStatusIscsiAndCloudEnabled ISCSIAndCloudStatus = "IscsiAndCloudEnabled"
	// ISCSIAndCloudStatusIscsiEnabled specifies the iscsi and cloud status
	// iscsi enabled state for iscsi and cloud status.
	ISCSIAndCloudStatusIscsiEnabled ISCSIAndCloudStatus = "IscsiEnabled"
)

type InEligibilityCategory

type InEligibilityCategory string

InEligibilityCategory enumerates the values for in eligibility category.

const (
	// DeviceNotOnline specifies the device not online state for in eligibility
	// category.
	DeviceNotOnline InEligibilityCategory = "DeviceNotOnline"
	// NotSupportedAppliance specifies the not supported appliance state for in
	// eligibility category.
	NotSupportedAppliance InEligibilityCategory = "NotSupportedAppliance"
	// RolloverPending specifies the rollover pending state for in eligibility
	// category.
	RolloverPending InEligibilityCategory = "RolloverPending"
)

type Job

type Job struct {
	autorest.Response `json:"-"`
	ID                *string          `json:"id,omitempty"`
	Name              *string          `json:"name,omitempty"`
	Type              *string          `json:"type,omitempty"`
	Kind              Kind             `json:"kind,omitempty"`
	Status            JobStatus        `json:"status,omitempty"`
	StartTime         *date.Time       `json:"startTime,omitempty"`
	EndTime           *date.Time       `json:"endTime,omitempty"`
	PercentComplete   *int32           `json:"percentComplete,omitempty"`
	Error             *JobErrorDetails `json:"error,omitempty"`
	*JobProperties    `json:"properties,omitempty"`
}

Job is the job.

type JobErrorDetails

type JobErrorDetails struct {
	ErrorDetails *[]JobErrorItem `json:"errorDetails,omitempty"`
	Code         *string         `json:"code,omitempty"`
	Message      *string         `json:"message,omitempty"`
}

JobErrorDetails is the job error details. Contains list of job error items.

type JobErrorItem

type JobErrorItem struct {
	Recommendations *[]string `json:"recommendations,omitempty"`
	Code            *string   `json:"code,omitempty"`
	Message         *string   `json:"message,omitempty"`
}

JobErrorItem is the job error items.

type JobFilter

type JobFilter struct {
	Status    *string    `json:"status,omitempty"`
	JobType   *string    `json:"jobType,omitempty"`
	StartTime *date.Time `json:"startTime,omitempty"`
}

JobFilter is the OData filter to be used for jobs.

type JobList

type JobList struct {
	autorest.Response `json:"-"`
	Value             *[]Job  `json:"value,omitempty"`
	NextLink          *string `json:"nextLink,omitempty"`
}

JobList is the collection of jobs.

func (JobList) JobListPreparer

func (client JobList) JobListPreparer() (*http.Request, error)

JobListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type JobProperties

type JobProperties struct {
	JobType           JobType         `json:"jobType,omitempty"`
	DataStats         *DataStatistics `json:"dataStats,omitempty"`
	EntityLabel       *string         `json:"entityLabel,omitempty"`
	EntityType        *string         `json:"entityType,omitempty"`
	JobStages         *[]JobStage     `json:"jobStages,omitempty"`
	DeviceID          *string         `json:"deviceId,omitempty"`
	IsCancellable     *bool           `json:"isCancellable,omitempty"`
	BackupType        BackupType      `json:"backupType,omitempty"`
	SourceDeviceID    *string         `json:"sourceDeviceId,omitempty"`
	BackupPointInTime *date.Time      `json:"backupPointInTime,omitempty"`
}

JobProperties is the properties of the job.

type JobStage

type JobStage struct {
	Message     *string   `json:"message,omitempty"`
	StageStatus JobStatus `json:"stageStatus,omitempty"`
	Detail      *string   `json:"detail,omitempty"`
	ErrorCode   *string   `json:"errorCode,omitempty"`
}

JobStage is the details about the specific stage of a job.

type JobStatus

type JobStatus string

JobStatus enumerates the values for job status.

const (
	// Canceled specifies the canceled state for job status.
	Canceled JobStatus = "Canceled"
	// Failed specifies the failed state for job status.
	Failed JobStatus = "Failed"
	// Running specifies the running state for job status.
	Running JobStatus = "Running"
	// Succeeded specifies the succeeded state for job status.
	Succeeded JobStatus = "Succeeded"
)

type JobType

type JobType string

JobType enumerates the values for job type.

const (
	// CloneVolume specifies the clone volume state for job type.
	CloneVolume JobType = "CloneVolume"
	// CreateCloudAppliance specifies the create cloud appliance state for job
	// type.
	CreateCloudAppliance JobType = "CreateCloudAppliance"
	// CreateLocallyPinnedVolume specifies the create locally pinned volume
	// state for job type.
	CreateLocallyPinnedVolume JobType = "CreateLocallyPinnedVolume"
	// FailoverVolumeContainers specifies the failover volume containers state
	// for job type.
	FailoverVolumeContainers JobType = "FailoverVolumeContainers"
	// InstallUpdates specifies the install updates state for job type.
	InstallUpdates JobType = "InstallUpdates"
	// ManualBackup specifies the manual backup state for job type.
	ManualBackup JobType = "ManualBackup"
	// ModifyVolume specifies the modify volume state for job type.
	ModifyVolume JobType = "ModifyVolume"
	// RestoreBackup specifies the restore backup state for job type.
	RestoreBackup JobType = "RestoreBackup"
	// ScheduledBackup specifies the scheduled backup state for job type.
	ScheduledBackup JobType = "ScheduledBackup"
	// SupportPackageLogs specifies the support package logs state for job
	// type.
	SupportPackageLogs JobType = "SupportPackageLogs"
)

type JobsClient

type JobsClient struct {
	ManagementClient
}

JobsClient is the client for the Jobs methods of the Storsimple8000series service.

func NewJobsClient

func NewJobsClient(subscriptionID string) JobsClient

NewJobsClient creates an instance of the JobsClient client.

func NewJobsClientWithBaseURI

func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient

NewJobsClientWithBaseURI creates an instance of the JobsClient client.

func (JobsClient) Cancel

func (client JobsClient) Cancel(deviceName string, jobName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Cancel cancels a job on the device. 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.

deviceName is the device name jobName is the jobName. resourceGroupName is the resource group name managerName is the manager name

func (JobsClient) CancelPreparer

func (client JobsClient) CancelPreparer(deviceName string, jobName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (JobsClient) CancelResponder

func (client JobsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (JobsClient) CancelSender

func (client JobsClient) CancelSender(req *http.Request) (*http.Response, error)

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

func (JobsClient) Get

func (client JobsClient) Get(deviceName string, jobName string, resourceGroupName string, managerName string) (result Job, err error)

Get gets the details of the specified job name.

deviceName is the device name jobName is the job Name. resourceGroupName is the resource group name managerName is the manager name

func (JobsClient) GetPreparer

func (client JobsClient) GetPreparer(deviceName string, jobName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (JobsClient) GetResponder

func (client JobsClient) GetResponder(resp *http.Response) (result Job, err error)

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

func (JobsClient) GetSender

func (client JobsClient) 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 (JobsClient) ListByDevice

func (client JobsClient) ListByDevice(deviceName string, resourceGroupName string, managerName string, filter string) (result JobList, err error)

ListByDevice gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (JobsClient) ListByDeviceComplete

func (client JobsClient) ListByDeviceComplete(deviceName string, resourceGroupName string, managerName string, filter string, cancel <-chan struct{}) (<-chan Job, <-chan error)

ListByDeviceComplete gets all elements from the list without paging.

func (JobsClient) ListByDeviceNextResults

func (client JobsClient) ListByDeviceNextResults(lastResults JobList) (result JobList, err error)

ListByDeviceNextResults retrieves the next set of results, if any.

func (JobsClient) ListByDevicePreparer

func (client JobsClient) ListByDevicePreparer(deviceName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (JobsClient) ListByDeviceResponder

func (client JobsClient) ListByDeviceResponder(resp *http.Response) (result JobList, err error)

ListByDeviceResponder handles the response to the ListByDevice request. The method always closes the http.Response Body.

func (JobsClient) ListByDeviceSender

func (client JobsClient) ListByDeviceSender(req *http.Request) (*http.Response, error)

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

func (JobsClient) ListByManager

func (client JobsClient) ListByManager(resourceGroupName string, managerName string, filter string) (result JobList, err error)

ListByManager gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned.

resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (JobsClient) ListByManagerComplete

func (client JobsClient) ListByManagerComplete(resourceGroupName string, managerName string, filter string, cancel <-chan struct{}) (<-chan Job, <-chan error)

ListByManagerComplete gets all elements from the list without paging.

func (JobsClient) ListByManagerNextResults

func (client JobsClient) ListByManagerNextResults(lastResults JobList) (result JobList, err error)

ListByManagerNextResults retrieves the next set of results, if any.

func (JobsClient) ListByManagerPreparer

func (client JobsClient) ListByManagerPreparer(resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (JobsClient) ListByManagerResponder

func (client JobsClient) ListByManagerResponder(resp *http.Response) (result JobList, err error)

ListByManagerResponder handles the response to the ListByManager request. The method always closes the http.Response Body.

func (JobsClient) ListByManagerSender

func (client JobsClient) ListByManagerSender(req *http.Request) (*http.Response, error)

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

type Key

type Key struct {
	autorest.Response `json:"-"`
	ActivationKey     *string `json:"activationKey,omitempty"`
}

Key is the key.

type KeyRolloverStatus

type KeyRolloverStatus string

KeyRolloverStatus enumerates the values for key rollover status.

const (
	// NotRequired specifies the not required state for key rollover status.
	NotRequired KeyRolloverStatus = "NotRequired"
	// Required specifies the required state for key rollover status.
	Required KeyRolloverStatus = "Required"
)

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// Series8000 specifies the series 8000 state for kind.
	Series8000 Kind = "Series8000"
)

type ListFailoverTargetsRequest

type ListFailoverTargetsRequest struct {
	VolumeContainers *[]string `json:"volumeContainers,omitempty"`
}

ListFailoverTargetsRequest is the request object for fetching the list of failover targets (eligible devices for failover).

type ManagementClient

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

ManagementClient is the base client for Storsimple8000series.

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 Manager

type Manager struct {
	autorest.Response  `json:"-"`
	ID                 *string             `json:"id,omitempty"`
	Name               *string             `json:"name,omitempty"`
	Type               *string             `json:"type,omitempty"`
	Location           *string             `json:"location,omitempty"`
	Tags               *map[string]*string `json:"tags,omitempty"`
	*ManagerProperties `json:"properties,omitempty"`
	Etag               *string `json:"etag,omitempty"`
}

Manager is the StorSimple Manager.

type ManagerExtendedInfo

type ManagerExtendedInfo struct {
	autorest.Response              `json:"-"`
	ID                             *string `json:"id,omitempty"`
	Name                           *string `json:"name,omitempty"`
	Type                           *string `json:"type,omitempty"`
	Kind                           Kind    `json:"kind,omitempty"`
	*ManagerExtendedInfoProperties `json:"properties,omitempty"`
	Etag                           *string `json:"etag,omitempty"`
}

ManagerExtendedInfo is the extended info of the manager.

type ManagerExtendedInfoProperties

type ManagerExtendedInfoProperties struct {
	Version                     *string `json:"version,omitempty"`
	IntegrityKey                *string `json:"integrityKey,omitempty"`
	EncryptionKey               *string `json:"encryptionKey,omitempty"`
	EncryptionKeyThumbprint     *string `json:"encryptionKeyThumbprint,omitempty"`
	PortalCertificateThumbprint *string `json:"portalCertificateThumbprint,omitempty"`
	Algorithm                   *string `json:"algorithm,omitempty"`
}

ManagerExtendedInfoProperties is the properties of the manager extended info.

type ManagerIntrinsicSettings

type ManagerIntrinsicSettings struct {
	Type ManagerType `json:"type,omitempty"`
}

ManagerIntrinsicSettings is intrinsic settings which refers to the type of the Storsimple Manager.

type ManagerList

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

ManagerList is the list of StorSimple Managers.

type ManagerPatch

type ManagerPatch struct {
	Tags *map[string]*string `json:"tags,omitempty"`
}

ManagerPatch is the StorSimple Manager patch.

type ManagerProperties

type ManagerProperties struct {
	CisIntrinsicSettings *ManagerIntrinsicSettings `json:"cisIntrinsicSettings,omitempty"`
	Sku                  *ManagerSku               `json:"sku,omitempty"`
	ProvisioningState    *string                   `json:"provisioningState,omitempty"`
}

ManagerProperties is the properties of the StorSimple Manager.

type ManagerSku

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

ManagerSku is the Sku.

type ManagerType

type ManagerType string

ManagerType enumerates the values for manager type.

const (
	// GardaV1 specifies the garda v1 state for manager type.
	GardaV1 ManagerType = "GardaV1"
	// HelsinkiV1 specifies the helsinki v1 state for manager type.
	HelsinkiV1 ManagerType = "HelsinkiV1"
)

type ManagersClient

type ManagersClient struct {
	ManagementClient
}

ManagersClient is the client for the Managers methods of the Storsimple8000series service.

func NewManagersClient

func NewManagersClient(subscriptionID string) ManagersClient

NewManagersClient creates an instance of the ManagersClient client.

func NewManagersClientWithBaseURI

func NewManagersClientWithBaseURI(baseURI string, subscriptionID string) ManagersClient

NewManagersClientWithBaseURI creates an instance of the ManagersClient client.

func (ManagersClient) CreateExtendedInfo

func (client ManagersClient) CreateExtendedInfo(parameters ManagerExtendedInfo, resourceGroupName string, managerName string) (result ManagerExtendedInfo, err error)

CreateExtendedInfo creates the extended info of the manager.

parameters is the manager extended information. resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) CreateExtendedInfoPreparer

func (client ManagersClient) CreateExtendedInfoPreparer(parameters ManagerExtendedInfo, resourceGroupName string, managerName string) (*http.Request, error)

CreateExtendedInfoPreparer prepares the CreateExtendedInfo request.

func (ManagersClient) CreateExtendedInfoResponder

func (client ManagersClient) CreateExtendedInfoResponder(resp *http.Response) (result ManagerExtendedInfo, err error)

CreateExtendedInfoResponder handles the response to the CreateExtendedInfo request. The method always closes the http.Response Body.

func (ManagersClient) CreateExtendedInfoSender

func (client ManagersClient) CreateExtendedInfoSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) CreateOrUpdate

func (client ManagersClient) CreateOrUpdate(parameters Manager, resourceGroupName string, managerName string) (result Manager, err error)

CreateOrUpdate creates or updates the manager.

parameters is the manager. resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) CreateOrUpdatePreparer

func (client ManagersClient) CreateOrUpdatePreparer(parameters Manager, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ManagersClient) CreateOrUpdateResponder

func (client ManagersClient) CreateOrUpdateResponder(resp *http.Response) (result Manager, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ManagersClient) CreateOrUpdateSender

func (client ManagersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) Delete

func (client ManagersClient) Delete(resourceGroupName string, managerName string) (result autorest.Response, err error)

Delete deletes the manager.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) DeleteExtendedInfo

func (client ManagersClient) DeleteExtendedInfo(resourceGroupName string, managerName string) (result autorest.Response, err error)

DeleteExtendedInfo deletes the extended info of the manager.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) DeleteExtendedInfoPreparer

func (client ManagersClient) DeleteExtendedInfoPreparer(resourceGroupName string, managerName string) (*http.Request, error)

DeleteExtendedInfoPreparer prepares the DeleteExtendedInfo request.

func (ManagersClient) DeleteExtendedInfoResponder

func (client ManagersClient) DeleteExtendedInfoResponder(resp *http.Response) (result autorest.Response, err error)

DeleteExtendedInfoResponder handles the response to the DeleteExtendedInfo request. The method always closes the http.Response Body.

func (ManagersClient) DeleteExtendedInfoSender

func (client ManagersClient) DeleteExtendedInfoSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) DeletePreparer

func (client ManagersClient) DeletePreparer(resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ManagersClient) DeleteResponder

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

func (client ManagersClient) 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 (ManagersClient) Get

func (client ManagersClient) Get(resourceGroupName string, managerName string) (result Manager, err error)

Get returns the properties of the specified manager name.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) GetActivationKey

func (client ManagersClient) GetActivationKey(resourceGroupName string, managerName string) (result Key, err error)

GetActivationKey returns the activation key of the manager.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) GetActivationKeyPreparer

func (client ManagersClient) GetActivationKeyPreparer(resourceGroupName string, managerName string) (*http.Request, error)

GetActivationKeyPreparer prepares the GetActivationKey request.

func (ManagersClient) GetActivationKeyResponder

func (client ManagersClient) GetActivationKeyResponder(resp *http.Response) (result Key, err error)

GetActivationKeyResponder handles the response to the GetActivationKey request. The method always closes the http.Response Body.

func (ManagersClient) GetActivationKeySender

func (client ManagersClient) GetActivationKeySender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) GetDevicePublicEncryptionKey

func (client ManagersClient) GetDevicePublicEncryptionKey(deviceName string, resourceGroupName string, managerName string) (result PublicKey, err error)

GetDevicePublicEncryptionKey returns the public encryption key of the device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) GetDevicePublicEncryptionKeyPreparer

func (client ManagersClient) GetDevicePublicEncryptionKeyPreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetDevicePublicEncryptionKeyPreparer prepares the GetDevicePublicEncryptionKey request.

func (ManagersClient) GetDevicePublicEncryptionKeyResponder

func (client ManagersClient) GetDevicePublicEncryptionKeyResponder(resp *http.Response) (result PublicKey, err error)

GetDevicePublicEncryptionKeyResponder handles the response to the GetDevicePublicEncryptionKey request. The method always closes the http.Response Body.

func (ManagersClient) GetDevicePublicEncryptionKeySender

func (client ManagersClient) GetDevicePublicEncryptionKeySender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) GetEncryptionSettings

func (client ManagersClient) GetEncryptionSettings(resourceGroupName string, managerName string) (result EncryptionSettings, err error)

GetEncryptionSettings returns the encryption settings of the manager.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) GetEncryptionSettingsPreparer

func (client ManagersClient) GetEncryptionSettingsPreparer(resourceGroupName string, managerName string) (*http.Request, error)

GetEncryptionSettingsPreparer prepares the GetEncryptionSettings request.

func (ManagersClient) GetEncryptionSettingsResponder

func (client ManagersClient) GetEncryptionSettingsResponder(resp *http.Response) (result EncryptionSettings, err error)

GetEncryptionSettingsResponder handles the response to the GetEncryptionSettings request. The method always closes the http.Response Body.

func (ManagersClient) GetEncryptionSettingsSender

func (client ManagersClient) GetEncryptionSettingsSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) GetExtendedInfo

func (client ManagersClient) GetExtendedInfo(resourceGroupName string, managerName string) (result ManagerExtendedInfo, err error)

GetExtendedInfo returns the extended information of the specified manager name.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) GetExtendedInfoPreparer

func (client ManagersClient) GetExtendedInfoPreparer(resourceGroupName string, managerName string) (*http.Request, error)

GetExtendedInfoPreparer prepares the GetExtendedInfo request.

func (ManagersClient) GetExtendedInfoResponder

func (client ManagersClient) GetExtendedInfoResponder(resp *http.Response) (result ManagerExtendedInfo, err error)

GetExtendedInfoResponder handles the response to the GetExtendedInfo request. The method always closes the http.Response Body.

func (ManagersClient) GetExtendedInfoSender

func (client ManagersClient) GetExtendedInfoSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) GetPreparer

func (client ManagersClient) GetPreparer(resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ManagersClient) GetPublicEncryptionKey

func (client ManagersClient) GetPublicEncryptionKey(resourceGroupName string, managerName string) (result SymmetricEncryptedSecret, err error)

GetPublicEncryptionKey returns the symmetric encrypted public encryption key of the manager.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) GetPublicEncryptionKeyPreparer

func (client ManagersClient) GetPublicEncryptionKeyPreparer(resourceGroupName string, managerName string) (*http.Request, error)

GetPublicEncryptionKeyPreparer prepares the GetPublicEncryptionKey request.

func (ManagersClient) GetPublicEncryptionKeyResponder

func (client ManagersClient) GetPublicEncryptionKeyResponder(resp *http.Response) (result SymmetricEncryptedSecret, err error)

GetPublicEncryptionKeyResponder handles the response to the GetPublicEncryptionKey request. The method always closes the http.Response Body.

func (ManagersClient) GetPublicEncryptionKeySender

func (client ManagersClient) GetPublicEncryptionKeySender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) GetResponder

func (client ManagersClient) GetResponder(resp *http.Response) (result Manager, err error)

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

func (ManagersClient) GetSender

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

func (client ManagersClient) List() (result ManagerList, err error)

List retrieves all the managers in a subscription.

func (ManagersClient) ListByResourceGroup

func (client ManagersClient) ListByResourceGroup(resourceGroupName string) (result ManagerList, err error)

ListByResourceGroup retrieves all the managers in a resource group.

resourceGroupName is the resource group name

func (ManagersClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ManagersClient) ListByResourceGroupResponder

func (client ManagersClient) ListByResourceGroupResponder(resp *http.Response) (result ManagerList, err error)

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

func (ManagersClient) ListByResourceGroupSender

func (client ManagersClient) 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 (ManagersClient) ListFeatureSupportStatus

func (client ManagersClient) ListFeatureSupportStatus(resourceGroupName string, managerName string, filter string) (result FeatureList, err error)

ListFeatureSupportStatus lists the features and their support status

resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (ManagersClient) ListFeatureSupportStatusPreparer

func (client ManagersClient) ListFeatureSupportStatusPreparer(resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListFeatureSupportStatusPreparer prepares the ListFeatureSupportStatus request.

func (ManagersClient) ListFeatureSupportStatusResponder

func (client ManagersClient) ListFeatureSupportStatusResponder(resp *http.Response) (result FeatureList, err error)

ListFeatureSupportStatusResponder handles the response to the ListFeatureSupportStatus request. The method always closes the http.Response Body.

func (ManagersClient) ListFeatureSupportStatusSender

func (client ManagersClient) ListFeatureSupportStatusSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) ListMetricDefinition

func (client ManagersClient) ListMetricDefinition(resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition gets the metric definitions for the specified manager.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) ListMetricDefinitionPreparer

func (client ManagersClient) ListMetricDefinitionPreparer(resourceGroupName string, managerName string) (*http.Request, error)

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (ManagersClient) ListMetricDefinitionResponder

func (client ManagersClient) ListMetricDefinitionResponder(resp *http.Response) (result MetricDefinitionList, err error)

ListMetricDefinitionResponder handles the response to the ListMetricDefinition request. The method always closes the http.Response Body.

func (ManagersClient) ListMetricDefinitionSender

func (client ManagersClient) ListMetricDefinitionSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) ListMetrics

func (client ManagersClient) ListMetrics(resourceGroupName string, managerName string, filter string) (result MetricList, err error)

ListMetrics gets the metrics for the specified manager.

resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (ManagersClient) ListMetricsPreparer

func (client ManagersClient) ListMetricsPreparer(resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (ManagersClient) ListMetricsResponder

func (client ManagersClient) ListMetricsResponder(resp *http.Response) (result MetricList, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (ManagersClient) ListMetricsSender

func (client ManagersClient) ListMetricsSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) ListPreparer

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

ListPreparer prepares the List request.

func (ManagersClient) ListResponder

func (client ManagersClient) ListResponder(resp *http.Response) (result ManagerList, err error)

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

func (ManagersClient) ListSender

func (client ManagersClient) 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 (ManagersClient) RegenerateActivationKey

func (client ManagersClient) RegenerateActivationKey(resourceGroupName string, managerName string) (result Key, err error)

RegenerateActivationKey re-generates and returns the activation key of the manager.

resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) RegenerateActivationKeyPreparer

func (client ManagersClient) RegenerateActivationKeyPreparer(resourceGroupName string, managerName string) (*http.Request, error)

RegenerateActivationKeyPreparer prepares the RegenerateActivationKey request.

func (ManagersClient) RegenerateActivationKeyResponder

func (client ManagersClient) RegenerateActivationKeyResponder(resp *http.Response) (result Key, err error)

RegenerateActivationKeyResponder handles the response to the RegenerateActivationKey request. The method always closes the http.Response Body.

func (ManagersClient) RegenerateActivationKeySender

func (client ManagersClient) RegenerateActivationKeySender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) Update

func (client ManagersClient) Update(parameters ManagerPatch, resourceGroupName string, managerName string) (result Manager, err error)

Update updates the StorSimple Manager.

parameters is the manager update parameters. resourceGroupName is the resource group name managerName is the manager name

func (ManagersClient) UpdateExtendedInfo

func (client ManagersClient) UpdateExtendedInfo(parameters ManagerExtendedInfo, resourceGroupName string, managerName string, ifMatch string) (result ManagerExtendedInfo, err error)

UpdateExtendedInfo updates the extended info of the manager.

parameters is the manager extended information. resourceGroupName is the resource group name managerName is the manager name ifMatch is pass the ETag of ExtendedInfo fetched from GET call

func (ManagersClient) UpdateExtendedInfoPreparer

func (client ManagersClient) UpdateExtendedInfoPreparer(parameters ManagerExtendedInfo, resourceGroupName string, managerName string, ifMatch string) (*http.Request, error)

UpdateExtendedInfoPreparer prepares the UpdateExtendedInfo request.

func (ManagersClient) UpdateExtendedInfoResponder

func (client ManagersClient) UpdateExtendedInfoResponder(resp *http.Response) (result ManagerExtendedInfo, err error)

UpdateExtendedInfoResponder handles the response to the UpdateExtendedInfo request. The method always closes the http.Response Body.

func (ManagersClient) UpdateExtendedInfoSender

func (client ManagersClient) UpdateExtendedInfoSender(req *http.Request) (*http.Response, error)

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

func (ManagersClient) UpdatePreparer

func (client ManagersClient) UpdatePreparer(parameters ManagerPatch, resourceGroupName string, managerName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ManagersClient) UpdateResponder

func (client ManagersClient) UpdateResponder(resp *http.Response) (result Manager, err error)

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

func (ManagersClient) UpdateSender

func (client ManagersClient) 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 MetricAggregationType

type MetricAggregationType string

MetricAggregationType enumerates the values for metric aggregation type.

const (
	// MetricAggregationTypeAverage specifies the metric aggregation type
	// average state for metric aggregation type.
	MetricAggregationTypeAverage MetricAggregationType = "Average"
	// MetricAggregationTypeLast specifies the metric aggregation type last
	// state for metric aggregation type.
	MetricAggregationTypeLast MetricAggregationType = "Last"
	// MetricAggregationTypeMaximum specifies the metric aggregation type
	// maximum state for metric aggregation type.
	MetricAggregationTypeMaximum MetricAggregationType = "Maximum"
	// MetricAggregationTypeMinimum specifies the metric aggregation type
	// minimum state for metric aggregation type.
	MetricAggregationTypeMinimum MetricAggregationType = "Minimum"
	// MetricAggregationTypeNone specifies the metric aggregation type none
	// state for metric aggregation type.
	MetricAggregationTypeNone MetricAggregationType = "None"
	// MetricAggregationTypeTotal specifies the metric aggregation type total
	// state for metric aggregation type.
	MetricAggregationTypeTotal MetricAggregationType = "Total"
)

type MetricAvailablity

type MetricAvailablity struct {
	TimeGrain *string `json:"timeGrain,omitempty"`
	Retention *string `json:"retention,omitempty"`
}

MetricAvailablity is the metric availability.

type MetricData

type MetricData struct {
	TimeStamp *date.Time `json:"timeStamp,omitempty"`
	Sum       *float64   `json:"sum,omitempty"`
	Count     *int32     `json:"count,omitempty"`
	Average   *float64   `json:"average,omitempty"`
	Minimum   *float64   `json:"minimum,omitempty"`
	Maximum   *float64   `json:"maximum,omitempty"`
}

MetricData is the metric data.

type MetricDefinition

type MetricDefinition struct {
	Name                   *MetricName           `json:"name,omitempty"`
	Unit                   MetricUnit            `json:"unit,omitempty"`
	PrimaryAggregationType MetricAggregationType `json:"primaryAggregationType,omitempty"`
	ResourceID             *string               `json:"resourceId,omitempty"`
	MetricAvailabilities   *[]MetricAvailablity  `json:"metricAvailabilities,omitempty"`
	Dimensions             *[]MetricDimension    `json:"dimensions,omitempty"`
	Category               *string               `json:"category,omitempty"`
	Type                   *string               `json:"type,omitempty"`
}

MetricDefinition is the monitoring metric definition.

type MetricDefinitionList

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

MetricDefinitionList is the list of metric definitions.

type MetricDimension

type MetricDimension struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

MetricDimension is the metric dimension. It indicates the source of the metric.

type MetricFilter

type MetricFilter struct {
	Name       *MetricNameFilter `json:"name,omitempty"`
	StartTime  *date.Time        `json:"startTime,omitempty"`
	EndTime    *date.Time        `json:"endTime,omitempty"`
	TimeGrain  *string           `json:"timeGrain,omitempty"`
	Category   *string           `json:"category,omitempty"`
	Dimensions *DimensionFilter  `json:"dimensions,omitempty"`
}

MetricFilter is the OData filters to be used for metrics.

type MetricList

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

MetricList is the metric list.

type MetricName

type MetricName struct {
	Value          *string `json:"value,omitempty"`
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

MetricName is the metric name.

type MetricNameFilter

type MetricNameFilter struct {
	Value *string `json:"value,omitempty"`
}

MetricNameFilter is the metric name filter, specifying the name of the metric to be filtered on.

type MetricUnit

type MetricUnit string

MetricUnit enumerates the values for metric unit.

const (
	// Bytes specifies the bytes state for metric unit.
	Bytes MetricUnit = "Bytes"
	// BytesPerSecond specifies the bytes per second state for metric unit.
	BytesPerSecond MetricUnit = "BytesPerSecond"
	// Count specifies the count state for metric unit.
	Count MetricUnit = "Count"
	// CountPerSecond specifies the count per second state for metric unit.
	CountPerSecond MetricUnit = "CountPerSecond"
	// Percent specifies the percent state for metric unit.
	Percent MetricUnit = "Percent"
	// Seconds specifies the seconds state for metric unit.
	Seconds MetricUnit = "Seconds"
)

type Metrics

type Metrics struct {
	ResourceID         *string               `json:"resourceId,omitempty"`
	StartTime          *date.Time            `json:"startTime,omitempty"`
	EndTime            *date.Time            `json:"endTime,omitempty"`
	TimeGrain          *string               `json:"timeGrain,omitempty"`
	PrimaryAggregation MetricAggregationType `json:"primaryAggregation,omitempty"`
	Name               *MetricName           `json:"name,omitempty"`
	Dimensions         *[]MetricDimension    `json:"dimensions,omitempty"`
	Unit               MetricUnit            `json:"unit,omitempty"`
	Type               *string               `json:"type,omitempty"`
	Values             *[]MetricData         `json:"values,omitempty"`
}

Metrics is the monitoring metric.

type MonitoringStatus

type MonitoringStatus string

MonitoringStatus enumerates the values for monitoring status.

const (
	// MonitoringStatusDisabled specifies the monitoring status disabled state
	// for monitoring status.
	MonitoringStatusDisabled MonitoringStatus = "Disabled"
	// MonitoringStatusEnabled specifies the monitoring status enabled state
	// for monitoring status.
	MonitoringStatusEnabled MonitoringStatus = "Enabled"
)

type NetInterfaceID

type NetInterfaceID string

NetInterfaceID enumerates the values for net interface id.

const (
	// NetInterfaceIDData0 specifies the net interface id data 0 state for net
	// interface id.
	NetInterfaceIDData0 NetInterfaceID = "Data0"
	// NetInterfaceIDData1 specifies the net interface id data 1 state for net
	// interface id.
	NetInterfaceIDData1 NetInterfaceID = "Data1"
	// NetInterfaceIDData2 specifies the net interface id data 2 state for net
	// interface id.
	NetInterfaceIDData2 NetInterfaceID = "Data2"
	// NetInterfaceIDData3 specifies the net interface id data 3 state for net
	// interface id.
	NetInterfaceIDData3 NetInterfaceID = "Data3"
	// NetInterfaceIDData4 specifies the net interface id data 4 state for net
	// interface id.
	NetInterfaceIDData4 NetInterfaceID = "Data4"
	// NetInterfaceIDData5 specifies the net interface id data 5 state for net
	// interface id.
	NetInterfaceIDData5 NetInterfaceID = "Data5"
	// NetInterfaceIDInvalid specifies the net interface id invalid state for
	// net interface id.
	NetInterfaceIDInvalid NetInterfaceID = "Invalid"
)

type NetInterfaceStatus

type NetInterfaceStatus string

NetInterfaceStatus enumerates the values for net interface status.

const (
	// NetInterfaceStatusDisabled specifies the net interface status disabled
	// state for net interface status.
	NetInterfaceStatusDisabled NetInterfaceStatus = "Disabled"
	// NetInterfaceStatusEnabled specifies the net interface status enabled
	// state for net interface status.
	NetInterfaceStatusEnabled NetInterfaceStatus = "Enabled"
)

type NetworkAdapterList

type NetworkAdapterList struct {
	Value *[]NetworkAdapters `json:"value,omitempty"`
}

NetworkAdapterList is the collection of network adapters on the device.

type NetworkAdapters

type NetworkAdapters struct {
	InterfaceID         NetInterfaceID      `json:"interfaceId,omitempty"`
	NetInterfaceStatus  NetInterfaceStatus  `json:"netInterfaceStatus,omitempty"`
	IsDefault           *bool               `json:"isDefault,omitempty"`
	IscsiAndCloudStatus ISCSIAndCloudStatus `json:"iscsiAndCloudStatus,omitempty"`
	Speed               *int64              `json:"speed,omitempty"`
	Mode                NetworkMode         `json:"mode,omitempty"`
	NicIpv4Settings     *NicIPv4            `json:"nicIpv4Settings,omitempty"`
	NicIpv6Settings     *NicIPv6            `json:"nicIpv6Settings,omitempty"`
}

NetworkAdapters is represents the network adapter on device.

type NetworkInterfaceData0Settings

type NetworkInterfaceData0Settings struct {
	ControllerZeroIP *string `json:"controllerZeroIp,omitempty"`
	ControllerOneIP  *string `json:"controllerOneIp,omitempty"`
}

NetworkInterfaceData0Settings is the 'Data 0' network interface card settings.

type NetworkMode

type NetworkMode string

NetworkMode enumerates the values for network mode.

const (
	// NetworkModeBOTH specifies the network mode both state for network mode.
	NetworkModeBOTH NetworkMode = "BOTH"
	// NetworkModeInvalid specifies the network mode invalid state for network
	// mode.
	NetworkModeInvalid NetworkMode = "Invalid"
	// NetworkModeIPV4 specifies the network mode ipv4 state for network mode.
	NetworkModeIPV4 NetworkMode = "IPV4"
	// NetworkModeIPV6 specifies the network mode ipv6 state for network mode.
	NetworkModeIPV6 NetworkMode = "IPV6"
)

type NetworkSettings

type NetworkSettings struct {
	autorest.Response          `json:"-"`
	ID                         *string `json:"id,omitempty"`
	Name                       *string `json:"name,omitempty"`
	Type                       *string `json:"type,omitempty"`
	Kind                       Kind    `json:"kind,omitempty"`
	*NetworkSettingsProperties `json:"properties,omitempty"`
}

NetworkSettings is represents the network settings of a device.

type NetworkSettingsPatch

type NetworkSettingsPatch struct {
	*NetworkSettingsPatchProperties `json:"properties,omitempty"`
}

NetworkSettingsPatch is represents the patch request for the network settings of a device.

type NetworkSettingsPatchProperties

type NetworkSettingsPatchProperties struct {
	DNSSettings     *DNSSettings        `json:"dnsSettings,omitempty"`
	NetworkAdapters *NetworkAdapterList `json:"networkAdapters,omitempty"`
}

NetworkSettingsPatchProperties is the properties of the network settings patch.

type NetworkSettingsProperties

type NetworkSettingsProperties struct {
	DNSSettings      *DNSSettings        `json:"dnsSettings,omitempty"`
	NetworkAdapters  *NetworkAdapterList `json:"networkAdapters,omitempty"`
	WebproxySettings *WebproxySettings   `json:"webproxySettings,omitempty"`
}

NetworkSettingsProperties is the properties of the network settings of device.

type NicIPv4

type NicIPv4 struct {
	Ipv4Address            *string `json:"ipv4Address,omitempty"`
	Ipv4Netmask            *string `json:"ipv4Netmask,omitempty"`
	Ipv4Gateway            *string `json:"ipv4Gateway,omitempty"`
	Controller0Ipv4Address *string `json:"controller0Ipv4Address,omitempty"`
	Controller1Ipv4Address *string `json:"controller1Ipv4Address,omitempty"`
}

NicIPv4 is details related to the IPv4 address configuration.

type NicIPv6

type NicIPv6 struct {
	Ipv6Address            *string `json:"ipv6Address,omitempty"`
	Ipv6Prefix             *string `json:"ipv6Prefix,omitempty"`
	Ipv6Gateway            *string `json:"ipv6Gateway,omitempty"`
	Controller0Ipv6Address *string `json:"controller0Ipv6Address,omitempty"`
	Controller1Ipv6Address *string `json:"controller1Ipv6Address,omitempty"`
}

NicIPv6 is details related to the IPv6 address configuration.

type OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// OperationStatusDeleting specifies the operation status deleting state
	// for operation status.
	OperationStatusDeleting OperationStatus = "Deleting"
	// OperationStatusNone specifies the operation status none state for
	// operation status.
	OperationStatusNone OperationStatus = "None"
	// OperationStatusRestoring specifies the operation status restoring state
	// for operation status.
	OperationStatusRestoring OperationStatus = "Restoring"
	// OperationStatusUpdating specifies the operation status updating state
	// for operation status.
	OperationStatusUpdating OperationStatus = "Updating"
)

type OperationsClient

type OperationsClient struct {
	ManagementClient
}

OperationsClient is the client for the Operations methods of the Storsimple8000series service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

func (client OperationsClient) List() (result AvailableProviderOperationList, err error)

List lists all of the available REST API operations of the Microsoft.Storsimple provider

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan AvailableProviderOperation, <-chan error)

ListComplete gets all elements from the list without paging.

func (OperationsClient) ListNextResults

func (client OperationsClient) ListNextResults(lastResults AvailableProviderOperationList) (result AvailableProviderOperationList, err error)

ListNextResults retrieves the next set of results, if any.

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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

func (OperationsClient) ListSender

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 OwnerShipStatus

type OwnerShipStatus string

OwnerShipStatus enumerates the values for owner ship status.

const (
	// NotOwned specifies the not owned state for owner ship status.
	NotOwned OwnerShipStatus = "NotOwned"
	// Owned specifies the owned state for owner ship status.
	Owned OwnerShipStatus = "Owned"
)

type PublicKey

type PublicKey struct {
	autorest.Response `json:"-"`
	Key               *string `json:"key,omitempty"`
}

PublicKey is the public key.

type RecurrenceType

type RecurrenceType string

RecurrenceType enumerates the values for recurrence type.

const (
	// Daily specifies the daily state for recurrence type.
	Daily RecurrenceType = "Daily"
	// Hourly specifies the hourly state for recurrence type.
	Hourly RecurrenceType = "Hourly"
	// Minutes specifies the minutes state for recurrence type.
	Minutes RecurrenceType = "Minutes"
	// Weekly specifies the weekly state for recurrence type.
	Weekly RecurrenceType = "Weekly"
)

type RemoteManagementModeConfiguration

type RemoteManagementModeConfiguration string

RemoteManagementModeConfiguration enumerates the values for remote management mode configuration.

const (
	// RemoteManagementModeConfigurationDisabled specifies the remote
	// management mode configuration disabled state for remote management mode
	// configuration.
	RemoteManagementModeConfigurationDisabled RemoteManagementModeConfiguration = "Disabled"
	// RemoteManagementModeConfigurationHTTPSAndHTTPEnabled specifies the
	// remote management mode configuration https and http enabled state for
	// remote management mode configuration.
	RemoteManagementModeConfigurationHTTPSAndHTTPEnabled RemoteManagementModeConfiguration = "HttpsAndHttpEnabled"
	// RemoteManagementModeConfigurationHTTPSEnabled specifies the remote
	// management mode configuration https enabled state for remote management
	// mode configuration.
	RemoteManagementModeConfigurationHTTPSEnabled RemoteManagementModeConfiguration = "HttpsEnabled"
	// RemoteManagementModeConfigurationUnknown specifies the remote management
	// mode configuration unknown state for remote management mode
	// configuration.
	RemoteManagementModeConfigurationUnknown RemoteManagementModeConfiguration = "Unknown"
)

type RemoteManagementSettings

type RemoteManagementSettings struct {
	RemoteManagementMode        RemoteManagementModeConfiguration `json:"remoteManagementMode,omitempty"`
	RemoteManagementCertificate *string                           `json:"remoteManagementCertificate,omitempty"`
}

RemoteManagementSettings is the settings for remote management of a device.

type RemoteManagementSettingsPatch

type RemoteManagementSettingsPatch struct {
	RemoteManagementMode RemoteManagementModeConfiguration `json:"remoteManagementMode,omitempty"`
}

RemoteManagementSettingsPatch is the settings for updating remote management mode of the device.

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"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is the Azure Resource.

type ScheduleRecurrence

type ScheduleRecurrence struct {
	RecurrenceType  RecurrenceType `json:"recurrenceType,omitempty"`
	RecurrenceValue *int32         `json:"recurrenceValue,omitempty"`
	WeeklyDaysList  *[]DayOfWeek   `json:"weeklyDaysList,omitempty"`
}

ScheduleRecurrence is the schedule recurrence.

type ScheduleStatus

type ScheduleStatus string

ScheduleStatus enumerates the values for schedule status.

const (
	// ScheduleStatusDisabled specifies the schedule status disabled state for
	// schedule status.
	ScheduleStatusDisabled ScheduleStatus = "Disabled"
	// ScheduleStatusEnabled specifies the schedule status enabled state for
	// schedule status.
	ScheduleStatusEnabled ScheduleStatus = "Enabled"
)

type ScheduledBackupStatus

type ScheduledBackupStatus string

ScheduledBackupStatus enumerates the values for scheduled backup status.

const (
	// ScheduledBackupStatusDisabled specifies the scheduled backup status
	// disabled state for scheduled backup status.
	ScheduledBackupStatusDisabled ScheduledBackupStatus = "Disabled"
	// ScheduledBackupStatusEnabled specifies the scheduled backup status
	// enabled state for scheduled backup status.
	ScheduledBackupStatusEnabled ScheduledBackupStatus = "Enabled"
)

type SecondaryDNSSettings

type SecondaryDNSSettings struct {
	SecondaryDNSServers *[]string `json:"secondaryDnsServers,omitempty"`
}

SecondaryDNSSettings is the secondary DNS settings.

type SecuritySettings

type SecuritySettings struct {
	autorest.Response           `json:"-"`
	ID                          *string `json:"id,omitempty"`
	Name                        *string `json:"name,omitempty"`
	Type                        *string `json:"type,omitempty"`
	Kind                        Kind    `json:"kind,omitempty"`
	*SecuritySettingsProperties `json:"properties,omitempty"`
}

SecuritySettings is the security settings of a device.

type SecuritySettingsPatch

type SecuritySettingsPatch struct {
	*SecuritySettingsPatchProperties `json:"properties,omitempty"`
}

SecuritySettingsPatch is represents the patch request for the security settings of a device.

type SecuritySettingsPatchProperties

type SecuritySettingsPatchProperties struct {
	RemoteManagementSettings *RemoteManagementSettingsPatch `json:"remoteManagementSettings,omitempty"`
	DeviceAdminPassword      *AsymmetricEncryptedSecret     `json:"deviceAdminPassword,omitempty"`
	SnapshotPassword         *AsymmetricEncryptedSecret     `json:"snapshotPassword,omitempty"`
	ChapSettings             *ChapSettings                  `json:"chapSettings,omitempty"`
	CloudApplianceSettings   *CloudApplianceSettings        `json:"cloudApplianceSettings,omitempty"`
}

SecuritySettingsPatchProperties is the properties of the security settings patch.

type SecuritySettingsProperties

type SecuritySettingsProperties struct {
	RemoteManagementSettings *RemoteManagementSettings `json:"remoteManagementSettings,omitempty"`
	ChapSettings             *ChapSettings             `json:"chapSettings,omitempty"`
}

SecuritySettingsProperties is the properties of security settings of a device.

type SendTestAlertEmailRequest

type SendTestAlertEmailRequest struct {
	EmailList *[]string `json:"emailList,omitempty"`
}

SendTestAlertEmailRequest is the request for sending test alert email

type SslStatus

type SslStatus string

SslStatus enumerates the values for ssl status.

const (
	// SslStatusDisabled specifies the ssl status disabled state for ssl
	// status.
	SslStatusDisabled SslStatus = "Disabled"
	// SslStatusEnabled specifies the ssl status enabled state for ssl status.
	SslStatusEnabled SslStatus = "Enabled"
)

type StorageAccountCredential

type StorageAccountCredential struct {
	autorest.Response                   `json:"-"`
	ID                                  *string `json:"id,omitempty"`
	Name                                *string `json:"name,omitempty"`
	Type                                *string `json:"type,omitempty"`
	Kind                                Kind    `json:"kind,omitempty"`
	*StorageAccountCredentialProperties `json:"properties,omitempty"`
}

StorageAccountCredential is the storage account credential.

type StorageAccountCredentialList

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

StorageAccountCredentialList is the collection of storage account credential entities.

type StorageAccountCredentialProperties

type StorageAccountCredentialProperties struct {
	EndPoint     *string                    `json:"endPoint,omitempty"`
	SslStatus    SslStatus                  `json:"sslStatus,omitempty"`
	AccessKey    *AsymmetricEncryptedSecret `json:"accessKey,omitempty"`
	VolumesCount *int32                     `json:"volumesCount,omitempty"`
}

StorageAccountCredentialProperties is the storage account credential properties.

type StorageAccountCredentialsClient

type StorageAccountCredentialsClient struct {
	ManagementClient
}

StorageAccountCredentialsClient is the client for the StorageAccountCredentials methods of the Storsimple8000series service.

func NewStorageAccountCredentialsClient

func NewStorageAccountCredentialsClient(subscriptionID string) StorageAccountCredentialsClient

NewStorageAccountCredentialsClient creates an instance of the StorageAccountCredentialsClient client.

func NewStorageAccountCredentialsClientWithBaseURI

func NewStorageAccountCredentialsClientWithBaseURI(baseURI string, subscriptionID string) StorageAccountCredentialsClient

NewStorageAccountCredentialsClientWithBaseURI creates an instance of the StorageAccountCredentialsClient client.

func (StorageAccountCredentialsClient) CreateOrUpdate

func (client StorageAccountCredentialsClient) CreateOrUpdate(storageAccountCredentialName string, parameters StorageAccountCredential, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan StorageAccountCredential, <-chan error)

CreateOrUpdate creates or updates the storage account credential. 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.

storageAccountCredentialName is the storage account credential name. parameters is the storage account credential to be added or updated. resourceGroupName is the resource group name managerName is the manager name

func (StorageAccountCredentialsClient) CreateOrUpdatePreparer

func (client StorageAccountCredentialsClient) CreateOrUpdatePreparer(storageAccountCredentialName string, parameters StorageAccountCredential, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (StorageAccountCredentialsClient) CreateOrUpdateResponder

func (client StorageAccountCredentialsClient) CreateOrUpdateResponder(resp *http.Response) (result StorageAccountCredential, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (StorageAccountCredentialsClient) CreateOrUpdateSender

func (client StorageAccountCredentialsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (StorageAccountCredentialsClient) Delete

func (client StorageAccountCredentialsClient) Delete(storageAccountCredentialName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the storage account credential. 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.

storageAccountCredentialName is the name of the storage account credential. resourceGroupName is the resource group name managerName is the manager name

func (StorageAccountCredentialsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (StorageAccountCredentialsClient) DeleteResponder

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

func (client StorageAccountCredentialsClient) 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 (StorageAccountCredentialsClient) Get

func (client StorageAccountCredentialsClient) Get(storageAccountCredentialName string, resourceGroupName string, managerName string) (result StorageAccountCredential, err error)

Get gets the properties of the specified storage account credential name.

storageAccountCredentialName is the name of storage account credential to be fetched. resourceGroupName is the resource group name managerName is the manager name

func (StorageAccountCredentialsClient) GetPreparer

func (client StorageAccountCredentialsClient) GetPreparer(storageAccountCredentialName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StorageAccountCredentialsClient) GetResponder

func (client StorageAccountCredentialsClient) GetResponder(resp *http.Response) (result StorageAccountCredential, err error)

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

func (StorageAccountCredentialsClient) GetSender

func (client StorageAccountCredentialsClient) 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 (StorageAccountCredentialsClient) ListByManager

func (client StorageAccountCredentialsClient) ListByManager(resourceGroupName string, managerName string) (result StorageAccountCredentialList, err error)

ListByManager gets all the storage account credentials in a manager.

resourceGroupName is the resource group name managerName is the manager name

func (StorageAccountCredentialsClient) ListByManagerPreparer

func (client StorageAccountCredentialsClient) ListByManagerPreparer(resourceGroupName string, managerName string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (StorageAccountCredentialsClient) ListByManagerResponder

func (client StorageAccountCredentialsClient) ListByManagerResponder(resp *http.Response) (result StorageAccountCredentialList, err error)

ListByManagerResponder handles the response to the ListByManager request. The method always closes the http.Response Body.

func (StorageAccountCredentialsClient) ListByManagerSender

func (client StorageAccountCredentialsClient) ListByManagerSender(req *http.Request) (*http.Response, error)

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

type SymmetricEncryptedSecret

type SymmetricEncryptedSecret struct {
	autorest.Response          `json:"-"`
	Value                      *string             `json:"value,omitempty"`
	ValueCertificateThumbprint *string             `json:"valueCertificateThumbprint,omitempty"`
	EncryptionAlgorithm        EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}

SymmetricEncryptedSecret is represents the secrets encrypted using Symmetric Encryption Key.

type TargetEligibilityErrorMessage

type TargetEligibilityErrorMessage struct {
	Message    *string                     `json:"message,omitempty"`
	Resolution *string                     `json:"resolution,omitempty"`
	ResultCode TargetEligibilityResultCode `json:"resultCode,omitempty"`
}

TargetEligibilityErrorMessage is the error/warning message due to which the device is ineligible as a failover target device.

type TargetEligibilityResult

type TargetEligibilityResult struct {
	EligibilityStatus TargetEligibilityStatus          `json:"eligibilityStatus,omitempty"`
	Messages          *[]TargetEligibilityErrorMessage `json:"messages,omitempty"`
}

TargetEligibilityResult is the eligibility result of device, as a failover target device.

type TargetEligibilityResultCode

type TargetEligibilityResultCode string

TargetEligibilityResultCode enumerates the values for target eligibility result code.

const (
	// LocalToTieredVolumesConversionWarning specifies the local to tiered
	// volumes conversion warning state for target eligibility result code.
	LocalToTieredVolumesConversionWarning TargetEligibilityResultCode = "LocalToTieredVolumesConversionWarning"
	// TargetAndSourceCannotBeSameError specifies the target and source cannot
	// be same error state for target eligibility result code.
	TargetAndSourceCannotBeSameError TargetEligibilityResultCode = "TargetAndSourceCannotBeSameError"
	// TargetInsufficientCapacityError specifies the target insufficient
	// capacity error state for target eligibility result code.
	TargetInsufficientCapacityError TargetEligibilityResultCode = "TargetInsufficientCapacityError"
	// TargetInsufficientLocalVolumeMemoryError specifies the target
	// insufficient local volume memory error state for target eligibility
	// result code.
	TargetInsufficientLocalVolumeMemoryError TargetEligibilityResultCode = "TargetInsufficientLocalVolumeMemoryError"
	// TargetInsufficientTieredVolumeMemoryError specifies the target
	// insufficient tiered volume memory error state for target eligibility
	// result code.
	TargetInsufficientTieredVolumeMemoryError TargetEligibilityResultCode = "TargetInsufficientTieredVolumeMemoryError"
	// TargetIsNotOnlineError specifies the target is not online error state
	// for target eligibility result code.
	TargetIsNotOnlineError TargetEligibilityResultCode = "TargetIsNotOnlineError"
	// TargetSourceIncompatibleVersionError specifies the target source
	// incompatible version error state for target eligibility result code.
	TargetSourceIncompatibleVersionError TargetEligibilityResultCode = "TargetSourceIncompatibleVersionError"
)

type TargetEligibilityStatus

type TargetEligibilityStatus string

TargetEligibilityStatus enumerates the values for target eligibility status.

const (
	// TargetEligibilityStatusEligible specifies the target eligibility status
	// eligible state for target eligibility status.
	TargetEligibilityStatusEligible TargetEligibilityStatus = "Eligible"
	// TargetEligibilityStatusNotEligible specifies the target eligibility
	// status not eligible state for target eligibility status.
	TargetEligibilityStatusNotEligible TargetEligibilityStatus = "NotEligible"
)

type Time

type Time struct {
	Hours   *int32 `json:"hours,omitempty"`
	Minutes *int32 `json:"minutes,omitempty"`
	Seconds *int32 `json:"seconds,omitempty"`
}

Time is the time.

type TimeSettings

type TimeSettings struct {
	autorest.Response       `json:"-"`
	ID                      *string `json:"id,omitempty"`
	Name                    *string `json:"name,omitempty"`
	Type                    *string `json:"type,omitempty"`
	Kind                    Kind    `json:"kind,omitempty"`
	*TimeSettingsProperties `json:"properties,omitempty"`
}

TimeSettings is the time settings of a device.

type TimeSettingsProperties

type TimeSettingsProperties struct {
	TimeZone            *string   `json:"timeZone,omitempty"`
	PrimaryTimeServer   *string   `json:"primaryTimeServer,omitempty"`
	SecondaryTimeServer *[]string `json:"secondaryTimeServer,omitempty"`
}

TimeSettingsProperties is the properties of time settings of a device.

type Updates

type Updates struct {
	autorest.Response  `json:"-"`
	ID                 *string `json:"id,omitempty"`
	Name               *string `json:"name,omitempty"`
	Type               *string `json:"type,omitempty"`
	Kind               Kind    `json:"kind,omitempty"`
	*UpdatesProperties `json:"properties,omitempty"`
}

Updates is the updates profile of a device.

type UpdatesProperties

type UpdatesProperties struct {
	RegularUpdatesAvailable         *bool      `json:"regularUpdatesAvailable,omitempty"`
	MaintenanceModeUpdatesAvailable *bool      `json:"maintenanceModeUpdatesAvailable,omitempty"`
	IsUpdateInProgress              *bool      `json:"isUpdateInProgress,omitempty"`
	LastUpdatedTime                 *date.Time `json:"lastUpdatedTime,omitempty"`
}

UpdatesProperties is the properties of the updates profile.

type VMImage

type VMImage struct {
	Name      *string `json:"name,omitempty"`
	Version   *string `json:"version,omitempty"`
	Offer     *string `json:"offer,omitempty"`
	Publisher *string `json:"publisher,omitempty"`
	Sku       *string `json:"sku,omitempty"`
}

VMImage is the virtual machine image.

type VirtualMachineAPIType

type VirtualMachineAPIType string

VirtualMachineAPIType enumerates the values for virtual machine api type.

const (
	// Arm specifies the arm state for virtual machine api type.
	Arm VirtualMachineAPIType = "Arm"
	// Classic specifies the classic state for virtual machine api type.
	Classic VirtualMachineAPIType = "Classic"
)

type Volume

type Volume struct {
	autorest.Response `json:"-"`
	ID                *string `json:"id,omitempty"`
	Name              *string `json:"name,omitempty"`
	Type              *string `json:"type,omitempty"`
	Kind              Kind    `json:"kind,omitempty"`
	*VolumeProperties `json:"properties,omitempty"`
}

Volume is the volume.

type VolumeContainer

type VolumeContainer struct {
	autorest.Response          `json:"-"`
	ID                         *string `json:"id,omitempty"`
	Name                       *string `json:"name,omitempty"`
	Type                       *string `json:"type,omitempty"`
	Kind                       Kind    `json:"kind,omitempty"`
	*VolumeContainerProperties `json:"properties,omitempty"`
}

VolumeContainer is the volume container.

type VolumeContainerFailoverMetadata

type VolumeContainerFailoverMetadata struct {
	VolumeContainerID *string                   `json:"volumeContainerId,omitempty"`
	Volumes           *[]VolumeFailoverMetadata `json:"volumes,omitempty"`
}

VolumeContainerFailoverMetadata is the metadata of the volume container, that is being considered as part of a failover set.

type VolumeContainerList

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

VolumeContainerList is the collection of volume container entities.

type VolumeContainerProperties

type VolumeContainerProperties struct {
	EncryptionKey                 *AsymmetricEncryptedSecret `json:"encryptionKey,omitempty"`
	EncryptionStatus              EncryptionStatus           `json:"encryptionStatus,omitempty"`
	VolumeCount                   *int32                     `json:"volumeCount,omitempty"`
	StorageAccountCredentialID    *string                    `json:"storageAccountCredentialId,omitempty"`
	OwnerShipStatus               OwnerShipStatus            `json:"ownerShipStatus,omitempty"`
	BandWidthRateInMbps           *int32                     `json:"bandWidthRateInMbps,omitempty"`
	BandwidthSettingID            *string                    `json:"bandwidthSettingId,omitempty"`
	TotalCloudStorageUsageInBytes *int64                     `json:"totalCloudStorageUsageInBytes,omitempty"`
}

VolumeContainerProperties is the properties of volume container.

type VolumeContainersClient

type VolumeContainersClient struct {
	ManagementClient
}

VolumeContainersClient is the client for the VolumeContainers methods of the Storsimple8000series service.

func NewVolumeContainersClient

func NewVolumeContainersClient(subscriptionID string) VolumeContainersClient

NewVolumeContainersClient creates an instance of the VolumeContainersClient client.

func NewVolumeContainersClientWithBaseURI

func NewVolumeContainersClientWithBaseURI(baseURI string, subscriptionID string) VolumeContainersClient

NewVolumeContainersClientWithBaseURI creates an instance of the VolumeContainersClient client.

func (VolumeContainersClient) CreateOrUpdate

func (client VolumeContainersClient) CreateOrUpdate(deviceName string, volumeContainerName string, parameters VolumeContainer, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan VolumeContainer, <-chan error)

CreateOrUpdate creates or updates the volume container. 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.

deviceName is the device name volumeContainerName is the name of the volume container. parameters is the volume container to be added or updated. resourceGroupName is the resource group name managerName is the manager name

func (VolumeContainersClient) CreateOrUpdatePreparer

func (client VolumeContainersClient) CreateOrUpdatePreparer(deviceName string, volumeContainerName string, parameters VolumeContainer, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VolumeContainersClient) CreateOrUpdateResponder

func (client VolumeContainersClient) CreateOrUpdateResponder(resp *http.Response) (result VolumeContainer, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VolumeContainersClient) CreateOrUpdateSender

func (client VolumeContainersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (VolumeContainersClient) Delete

func (client VolumeContainersClient) Delete(deviceName string, volumeContainerName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the volume container. 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.

deviceName is the device name volumeContainerName is the name of the volume container. resourceGroupName is the resource group name managerName is the manager name

func (VolumeContainersClient) DeletePreparer

func (client VolumeContainersClient) DeletePreparer(deviceName string, volumeContainerName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VolumeContainersClient) DeleteResponder

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

func (client VolumeContainersClient) 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 (VolumeContainersClient) Get

func (client VolumeContainersClient) Get(deviceName string, volumeContainerName string, resourceGroupName string, managerName string) (result VolumeContainer, err error)

Get gets the properties of the specified volume container name.

deviceName is the device name volumeContainerName is the name of the volume container. resourceGroupName is the resource group name managerName is the manager name

func (VolumeContainersClient) GetPreparer

func (client VolumeContainersClient) GetPreparer(deviceName string, volumeContainerName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VolumeContainersClient) GetResponder

func (client VolumeContainersClient) GetResponder(resp *http.Response) (result VolumeContainer, err error)

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

func (VolumeContainersClient) GetSender

func (client VolumeContainersClient) 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 (VolumeContainersClient) ListByDevice

func (client VolumeContainersClient) ListByDevice(deviceName string, resourceGroupName string, managerName string) (result VolumeContainerList, err error)

ListByDevice gets all the volume containers in a device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (VolumeContainersClient) ListByDevicePreparer

func (client VolumeContainersClient) ListByDevicePreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (VolumeContainersClient) ListByDeviceResponder

func (client VolumeContainersClient) ListByDeviceResponder(resp *http.Response) (result VolumeContainerList, err error)

ListByDeviceResponder handles the response to the ListByDevice request. The method always closes the http.Response Body.

func (VolumeContainersClient) ListByDeviceSender

func (client VolumeContainersClient) ListByDeviceSender(req *http.Request) (*http.Response, error)

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

func (VolumeContainersClient) ListMetricDefinition

func (client VolumeContainersClient) ListMetricDefinition(deviceName string, volumeContainerName string, resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition gets the metric definitions for the specified volume container.

deviceName is the device name volumeContainerName is the volume container name. resourceGroupName is the resource group name managerName is the manager name

func (VolumeContainersClient) ListMetricDefinitionPreparer

func (client VolumeContainersClient) ListMetricDefinitionPreparer(deviceName string, volumeContainerName string, resourceGroupName string, managerName string) (*http.Request, error)

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (VolumeContainersClient) ListMetricDefinitionResponder

func (client VolumeContainersClient) ListMetricDefinitionResponder(resp *http.Response) (result MetricDefinitionList, err error)

ListMetricDefinitionResponder handles the response to the ListMetricDefinition request. The method always closes the http.Response Body.

func (VolumeContainersClient) ListMetricDefinitionSender

func (client VolumeContainersClient) ListMetricDefinitionSender(req *http.Request) (*http.Response, error)

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

func (VolumeContainersClient) ListMetrics

func (client VolumeContainersClient) ListMetrics(deviceName string, volumeContainerName string, resourceGroupName string, managerName string, filter string) (result MetricList, err error)

ListMetrics gets the metrics for the specified volume container.

deviceName is the device name volumeContainerName is the volume container name. resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (VolumeContainersClient) ListMetricsPreparer

func (client VolumeContainersClient) ListMetricsPreparer(deviceName string, volumeContainerName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (VolumeContainersClient) ListMetricsResponder

func (client VolumeContainersClient) ListMetricsResponder(resp *http.Response) (result MetricList, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (VolumeContainersClient) ListMetricsSender

func (client VolumeContainersClient) ListMetricsSender(req *http.Request) (*http.Response, error)

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

type VolumeFailoverMetadata

type VolumeFailoverMetadata struct {
	VolumeID          *string    `json:"volumeId,omitempty"`
	VolumeType        VolumeType `json:"volumeType,omitempty"`
	SizeInBytes       *int64     `json:"sizeInBytes,omitempty"`
	BackupCreatedDate *date.Time `json:"backupCreatedDate,omitempty"`
	BackupElementID   *string    `json:"backupElementId,omitempty"`
	BackupID          *string    `json:"backupId,omitempty"`
	BackupPolicyID    *string    `json:"backupPolicyId,omitempty"`
}

VolumeFailoverMetadata is the metadata of a volume that has valid cloud snapshot.

type VolumeList

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

VolumeList is the collection of volumes.

type VolumeProperties

type VolumeProperties struct {
	SizeInBytes            *int64           `json:"sizeInBytes,omitempty"`
	VolumeType             VolumeType       `json:"volumeType,omitempty"`
	VolumeContainerID      *string          `json:"volumeContainerId,omitempty"`
	AccessControlRecordIds *[]string        `json:"accessControlRecordIds,omitempty"`
	VolumeStatus           VolumeStatus     `json:"volumeStatus,omitempty"`
	OperationStatus        OperationStatus  `json:"operationStatus,omitempty"`
	BackupStatus           BackupStatus     `json:"backupStatus,omitempty"`
	MonitoringStatus       MonitoringStatus `json:"monitoringStatus,omitempty"`
	BackupPolicyIds        *[]string        `json:"backupPolicyIds,omitempty"`
}

VolumeProperties is the properties of volume.

type VolumeStatus

type VolumeStatus string

VolumeStatus enumerates the values for volume status.

const (
	// VolumeStatusOffline specifies the volume status offline state for volume
	// status.
	VolumeStatusOffline VolumeStatus = "Offline"
	// VolumeStatusOnline specifies the volume status online state for volume
	// status.
	VolumeStatusOnline VolumeStatus = "Online"
)

type VolumeType

type VolumeType string

VolumeType enumerates the values for volume type.

const (
	// Archival specifies the archival state for volume type.
	Archival VolumeType = "Archival"
	// LocallyPinned specifies the locally pinned state for volume type.
	LocallyPinned VolumeType = "LocallyPinned"
	// Tiered specifies the tiered state for volume type.
	Tiered VolumeType = "Tiered"
)

type VolumesClient

type VolumesClient struct {
	ManagementClient
}

VolumesClient is the client for the Volumes methods of the Storsimple8000series service.

func NewVolumesClient

func NewVolumesClient(subscriptionID string) VolumesClient

NewVolumesClient creates an instance of the VolumesClient client.

func NewVolumesClientWithBaseURI

func NewVolumesClientWithBaseURI(baseURI string, subscriptionID string) VolumesClient

NewVolumesClientWithBaseURI creates an instance of the VolumesClient client.

func (VolumesClient) CreateOrUpdate

func (client VolumesClient) CreateOrUpdate(deviceName string, volumeContainerName string, volumeName string, parameters Volume, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan Volume, <-chan error)

CreateOrUpdate creates or updates the volume. 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.

deviceName is the device name volumeContainerName is the volume container name. volumeName is the volume name. parameters is volume to be created or updated. resourceGroupName is the resource group name managerName is the manager name

func (VolumesClient) CreateOrUpdatePreparer

func (client VolumesClient) CreateOrUpdatePreparer(deviceName string, volumeContainerName string, volumeName string, parameters Volume, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VolumesClient) CreateOrUpdateResponder

func (client VolumesClient) CreateOrUpdateResponder(resp *http.Response) (result Volume, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VolumesClient) CreateOrUpdateSender

func (client VolumesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (VolumesClient) Delete

func (client VolumesClient) Delete(deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the volume. 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.

deviceName is the device name volumeContainerName is the volume container name. volumeName is the volume name. resourceGroupName is the resource group name managerName is the manager name

func (VolumesClient) DeletePreparer

func (client VolumesClient) DeletePreparer(deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VolumesClient) DeleteResponder

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

func (client VolumesClient) 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 (VolumesClient) Get

func (client VolumesClient) Get(deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string) (result Volume, err error)

Get returns the properties of the specified volume name.

deviceName is the device name volumeContainerName is the volume container name. volumeName is the volume name. resourceGroupName is the resource group name managerName is the manager name

func (VolumesClient) GetPreparer

func (client VolumesClient) GetPreparer(deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VolumesClient) GetResponder

func (client VolumesClient) GetResponder(resp *http.Response) (result Volume, err error)

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

func (VolumesClient) GetSender

func (client VolumesClient) 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 (VolumesClient) ListByDevice

func (client VolumesClient) ListByDevice(deviceName string, resourceGroupName string, managerName string) (result VolumeList, err error)

ListByDevice retrieves all the volumes in a device.

deviceName is the device name resourceGroupName is the resource group name managerName is the manager name

func (VolumesClient) ListByDevicePreparer

func (client VolumesClient) ListByDevicePreparer(deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (VolumesClient) ListByDeviceResponder

func (client VolumesClient) ListByDeviceResponder(resp *http.Response) (result VolumeList, err error)

ListByDeviceResponder handles the response to the ListByDevice request. The method always closes the http.Response Body.

func (VolumesClient) ListByDeviceSender

func (client VolumesClient) ListByDeviceSender(req *http.Request) (*http.Response, error)

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

func (VolumesClient) ListByVolumeContainer

func (client VolumesClient) ListByVolumeContainer(deviceName string, volumeContainerName string, resourceGroupName string, managerName string) (result VolumeList, err error)

ListByVolumeContainer retrieves all the volumes in a volume container.

deviceName is the device name volumeContainerName is the volume container name. resourceGroupName is the resource group name managerName is the manager name

func (VolumesClient) ListByVolumeContainerPreparer

func (client VolumesClient) ListByVolumeContainerPreparer(deviceName string, volumeContainerName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByVolumeContainerPreparer prepares the ListByVolumeContainer request.

func (VolumesClient) ListByVolumeContainerResponder

func (client VolumesClient) ListByVolumeContainerResponder(resp *http.Response) (result VolumeList, err error)

ListByVolumeContainerResponder handles the response to the ListByVolumeContainer request. The method always closes the http.Response Body.

func (VolumesClient) ListByVolumeContainerSender

func (client VolumesClient) ListByVolumeContainerSender(req *http.Request) (*http.Response, error)

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

func (VolumesClient) ListMetricDefinition

func (client VolumesClient) ListMetricDefinition(deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition gets the metric definitions for the specified volume.

deviceName is the device name volumeContainerName is the volume container name. volumeName is the volume name. resourceGroupName is the resource group name managerName is the manager name

func (VolumesClient) ListMetricDefinitionPreparer

func (client VolumesClient) ListMetricDefinitionPreparer(deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string) (*http.Request, error)

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (VolumesClient) ListMetricDefinitionResponder

func (client VolumesClient) ListMetricDefinitionResponder(resp *http.Response) (result MetricDefinitionList, err error)

ListMetricDefinitionResponder handles the response to the ListMetricDefinition request. The method always closes the http.Response Body.

func (VolumesClient) ListMetricDefinitionSender

func (client VolumesClient) ListMetricDefinitionSender(req *http.Request) (*http.Response, error)

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

func (VolumesClient) ListMetrics

func (client VolumesClient) ListMetrics(deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string, filter string) (result MetricList, err error)

ListMetrics gets the metrics for the specified volume.

deviceName is the device name volumeContainerName is the volume container name. volumeName is the volume name. resourceGroupName is the resource group name managerName is the manager name filter is oData Filter options

func (VolumesClient) ListMetricsPreparer

func (client VolumesClient) ListMetricsPreparer(deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (VolumesClient) ListMetricsResponder

func (client VolumesClient) ListMetricsResponder(resp *http.Response) (result MetricList, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (VolumesClient) ListMetricsSender

func (client VolumesClient) ListMetricsSender(req *http.Request) (*http.Response, error)

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

type WebproxySettings

type WebproxySettings struct {
	ConnectionURI  *string            `json:"connectionUri,omitempty"`
	Authentication AuthenticationType `json:"authentication,omitempty"`
	Username       *string            `json:"username,omitempty"`
}

WebproxySettings is the web proxy settings on the device.

Jump to

Keyboard shortcuts

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