storsimple

package
v12.5.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package storsimple implements the Azure ARM Storsimple service API version 2017-06-01.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Storsimple
	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 - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// AccessControlRecordProperties - The properties of access control record.
	*AccessControlRecordProperties `json:"properties,omitempty"`
}

AccessControlRecord the access control record.

func (*AccessControlRecord) UnmarshalJSON

func (acr *AccessControlRecord) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccessControlRecord struct.

type AccessControlRecordList

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

AccessControlRecordList the collection of access control records.

type AccessControlRecordProperties

type AccessControlRecordProperties struct {
	// InitiatorName - The iSCSI initiator name (IQN).
	InitiatorName *string `json:"initiatorName,omitempty"`
	// VolumeCount - The number of volumes using the access control record.
	VolumeCount *int32 `json:"volumeCount,omitempty"`
}

AccessControlRecordProperties the properties of access control record.

type AccessControlRecordsClient

type AccessControlRecordsClient struct {
	BaseClient
}

AccessControlRecordsClient is the client for the AccessControlRecords methods of the Storsimple 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(ctx context.Context, accessControlRecordName string, parameters AccessControlRecord, resourceGroupName string, managerName string) (result AccessControlRecordsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or Updates an access control record.

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(ctx context.Context, accessControlRecordName string, parameters AccessControlRecord, resourceGroupName string, managerName string) (*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) (future AccessControlRecordsCreateOrUpdateFuture, err 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(ctx context.Context, accessControlRecordName string, resourceGroupName string, managerName string) (result AccessControlRecordsDeleteFuture, err error)

Delete deletes the access control record.

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(ctx context.Context, accessControlRecordName string, resourceGroupName string, managerName string) (*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) (future AccessControlRecordsDeleteFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 AccessControlRecordsCreateOrUpdateFuture

type AccessControlRecordsCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (AccessControlRecordsCreateOrUpdateFuture) Result

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

type AccessControlRecordsDeleteFuture

type AccessControlRecordsDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (AccessControlRecordsDeleteFuture) Result

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

type AcsConfiguration

type AcsConfiguration struct {
	// Namespace - The namespace.
	Namespace *string `json:"namespace,omitempty"`
	// Realm - The realm.
	Realm *string `json:"realm,omitempty"`
	// ServiceURL - The service URL.
	ServiceURL *string `json:"serviceUrl,omitempty"`
}

AcsConfiguration the ACS configuration.

type Alert

type Alert struct {
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// AlertProperties - The properties of the alert.
	*AlertProperties `json:"properties,omitempty"`
}

Alert the alert.

func (*Alert) UnmarshalJSON

func (a *Alert) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Alert struct.

type AlertEmailNotificationStatus

type AlertEmailNotificationStatus string

AlertEmailNotificationStatus enumerates the values for alert email notification status.

const (
	// Disabled ...
	Disabled AlertEmailNotificationStatus = "Disabled"
	// Enabled ...
	Enabled AlertEmailNotificationStatus = "Enabled"
)

type AlertErrorDetails

type AlertErrorDetails struct {
	// ErrorCode - The error code
	ErrorCode *string `json:"errorCode,omitempty"`
	// ErrorMessage - The error message
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Occurences - The number of occurences
	Occurences *int32 `json:"occurences,omitempty"`
}

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

type AlertFilter

type AlertFilter struct {
	// Status - Specifies the status of the alerts to be filtered. Only 'Equality' operator is supported for this property. Possible values include: 'Active', 'Cleared'
	Status AlertStatus `json:"status,omitempty"`
	// Severity - Specifies the severity of the alerts to be filtered. Only 'Equality' operator is supported for this property. Possible values include: 'Informational', 'Warning', 'Critical'
	Severity AlertSeverity `json:"severity,omitempty"`
	// SourceType - Specifies the source type of the alerts to be filtered. Only 'Equality' operator is supported for this property. Possible values include: 'AlertSourceTypeResource', 'AlertSourceTypeDevice'
	SourceType AlertSourceType `json:"sourceType,omitempty"`
	// SourceName - Specifies the source name of the alerts to be filtered. Only 'Equality' operator is supported for this property.
	SourceName *string `json:"sourceName,omitempty"`
	// AppearedOnTime - Specifies the appeared time (in UTC) of the alerts to be filtered. Only 'Greater-Than' and 'Lesser-Than' operators are supported for this property.
	AppearedOnTime *date.Time `json:"appearedOnTime,omitempty"`
}

AlertFilter the OData filters to be used for Alert

type AlertList

type AlertList struct {
	autorest.Response `json:"-"`
	// Value - The value.
	Value *[]Alert `json:"value,omitempty"`
	// NextLink - The URI of the next page of alerts.
	NextLink *string `json:"nextLink,omitempty"`
}

AlertList the collection of alerts.

func (AlertList) IsEmpty

func (al AlertList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AlertListIterator

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

AlertListIterator provides access to a complete listing of Alert values.

func (*AlertListIterator) Next

func (iter *AlertListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AlertListIterator) NotDone

func (iter AlertListIterator) NotDone() bool

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

func (AlertListIterator) Response

func (iter AlertListIterator) Response() AlertList

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

func (AlertListIterator) Value

func (iter AlertListIterator) Value() Alert

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

type AlertListPage

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

AlertListPage contains a page of Alert values.

func (*AlertListPage) Next

func (page *AlertListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AlertListPage) NotDone

func (page AlertListPage) NotDone() bool

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

func (AlertListPage) Response

func (page AlertListPage) Response() AlertList

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

func (AlertListPage) Values

func (page AlertListPage) Values() []Alert

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

type AlertNotificationProperties

type AlertNotificationProperties struct {
	// EmailNotification - Indicates whether email notification enabled or not. Possible values include: 'Enabled', 'Disabled'
	EmailNotification AlertEmailNotificationStatus `json:"emailNotification,omitempty"`
	// AlertNotificationCulture - The alert notification culture.
	AlertNotificationCulture *string `json:"alertNotificationCulture,omitempty"`
	// NotificationToServiceOwners - The value indicating whether alert notification enabled for admin or not. Possible values include: 'Enabled', 'Disabled'
	NotificationToServiceOwners AlertEmailNotificationStatus `json:"notificationToServiceOwners,omitempty"`
	// AdditionalRecipientEmailList - The alert notification email list.
	AdditionalRecipientEmailList *[]string `json:"additionalRecipientEmailList,omitempty"`
}

AlertNotificationProperties the properties of the alert notification settings.

type AlertProperties

type AlertProperties struct {
	// Title - The title of the alert
	Title *string `json:"title,omitempty"`
	// Scope - The scope of the alert. Possible values include: 'AlertScopeResource', 'AlertScopeDevice'
	Scope AlertScope `json:"scope,omitempty"`
	// AlertType - The type of the alert
	AlertType *string `json:"alertType,omitempty"`
	// AppearedAtTime - The UTC time at which the alert was raised
	AppearedAtTime *date.Time `json:"appearedAtTime,omitempty"`
	// AppearedAtSourceTime - The source time at which the alert was raised
	AppearedAtSourceTime *date.Time `json:"appearedAtSourceTime,omitempty"`
	// ClearedAtTime - The UTC time at which the alert was cleared
	ClearedAtTime *date.Time `json:"clearedAtTime,omitempty"`
	// ClearedAtSourceTime - The source time at which the alert was cleared
	ClearedAtSourceTime *date.Time `json:"clearedAtSourceTime,omitempty"`
	// Source - The source at which the alert was raised
	Source *AlertSource `json:"source,omitempty"`
	// Recommendation - The recommended action for the issue raised in the alert
	Recommendation *string `json:"recommendation,omitempty"`
	// ResolutionReason - The reason for resolving the alert
	ResolutionReason *string `json:"resolutionReason,omitempty"`
	// Severity - The severity of the alert. Possible values include: 'Informational', 'Warning', 'Critical'
	Severity AlertSeverity `json:"severity,omitempty"`
	// Status - The current status of the alert. Possible values include: 'Active', 'Cleared'
	Status AlertStatus `json:"status,omitempty"`
	// ErrorDetails - The details of the error for which the alert was raised
	ErrorDetails *AlertErrorDetails `json:"errorDetails,omitempty"`
	// DetailedInformation - More details about the alert
	DetailedInformation *map[string]*string `json:"detailedInformation,omitempty"`
}

AlertProperties the properties of alert

type AlertScope

type AlertScope string

AlertScope enumerates the values for alert scope.

const (
	// AlertScopeDevice ...
	AlertScopeDevice AlertScope = "Device"
	// AlertScopeResource ...
	AlertScopeResource AlertScope = "Resource"
)

type AlertSettings

type AlertSettings struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// AlertNotificationProperties - The properties of the alert notification settings.
	*AlertNotificationProperties `json:"properties,omitempty"`
}

AlertSettings the alert settings.

func (*AlertSettings) UnmarshalJSON

func (as *AlertSettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AlertSettings struct.

type AlertSeverity

type AlertSeverity string

AlertSeverity enumerates the values for alert severity.

const (
	// Critical ...
	Critical AlertSeverity = "Critical"
	// Informational ...
	Informational AlertSeverity = "Informational"
	// Warning ...
	Warning AlertSeverity = "Warning"
)

type AlertSource

type AlertSource struct {
	// Name - The name of the source
	Name *string `json:"name,omitempty"`
	// TimeZone - The time zone of the source
	TimeZone *string `json:"timeZone,omitempty"`
	// AlertSourceType - The source type of the alert. Possible values include: 'AlertSourceTypeResource', 'AlertSourceTypeDevice'
	AlertSourceType AlertSourceType `json:"alertSourceType,omitempty"`
}

AlertSource the source details at which the alert was raised

type AlertSourceType

type AlertSourceType string

AlertSourceType enumerates the values for alert source type.

const (
	// AlertSourceTypeDevice ...
	AlertSourceTypeDevice AlertSourceType = "Device"
	// AlertSourceTypeResource ...
	AlertSourceTypeResource AlertSourceType = "Resource"
)

type AlertStatus

type AlertStatus string

AlertStatus enumerates the values for alert status.

const (
	// Active ...
	Active AlertStatus = "Active"
	// Cleared ...
	Cleared AlertStatus = "Cleared"
)

type AlertsClient

type AlertsClient struct {
	BaseClient
}

AlertsClient is the client for the Alerts methods of the Storsimple 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, managerName string, filter string) (result AlertListPage, 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(ctx context.Context, resourceGroupName string, managerName string, filter string) (result AlertListIterator, err error)

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

func (AlertsClient) ListByManagerPreparer

func (client AlertsClient) ListByManagerPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - The value of the secret.
	Value *string `json:"value,omitempty"`
	// EncryptionCertThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
	EncryptionCertThumbprint *string `json:"encryptionCertThumbprint,omitempty"`
	// EncryptionAlgorithm - The algorithm used to encrypt "Value". Possible values include: 'EncryptionAlgorithmNone', 'EncryptionAlgorithmAES256', 'EncryptionAlgorithmRSAESPKCS1V15'
	EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}

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

type AuthenticationType

type AuthenticationType string

AuthenticationType enumerates the values for authentication type.

const (
	// Basic ...
	Basic AuthenticationType = "Basic"
	// Invalid ...
	Invalid AuthenticationType = "Invalid"
	// None ...
	None AuthenticationType = "None"
	// NTLM ...
	NTLM AuthenticationType = "NTLM"
)

type AuthorizationEligibility

type AuthorizationEligibility string

AuthorizationEligibility enumerates the values for authorization eligibility.

const (
	// Eligible ...
	Eligible AuthorizationEligibility = "Eligible"
	// InEligible ...
	InEligible AuthorizationEligibility = "InEligible"
)

type AuthorizationStatus

type AuthorizationStatus string

AuthorizationStatus enumerates the values for authorization status.

const (
	// AuthorizationStatusDisabled ...
	AuthorizationStatusDisabled AuthorizationStatus = "Disabled"
	// AuthorizationStatusEnabled ...
	AuthorizationStatusEnabled AuthorizationStatus = "Enabled"
)

type AvailableProviderOperation

type AvailableProviderOperation struct {
	// Name - The name of the operation being performed on a particular object. Name format: "{resourceProviderNamespace}/{resourceType}/{read|write|delete|action}". Eg. Microsoft.StorSimple/managers/devices/volumeContainers/read, Microsoft.StorSimple/managers/devices/alerts/clearAlerts/action
	Name *string `json:"name,omitempty"`
	// Display - Contains the localized display information for this particular operation/action.
	Display *AvailableProviderOperationDisplay `json:"display,omitempty"`
	// Origin - The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is "user,system"
	Origin *string `json:"origin,omitempty"`
	// Properties - Reserved for future use.
	Properties *map[string]interface{} `json:"properties,omitempty"`
}

AvailableProviderOperation represents available provider operation.

type AvailableProviderOperationDisplay

type AvailableProviderOperationDisplay struct {
	// Provider - The localized friendly form of the resource provider name - it is expected to also include the publisher/company responsible. It should use Title Casing and begin with 'Microsoft' for 1st party services.
	Provider *string `json:"provider,omitempty"`
	// Resource - The localized friendly form of the resource type related to this action/operation - it should match the public documentation for the resource provider. It should use Title Casing - for examples, please refer to the 'name' section.
	Resource *string `json:"resource,omitempty"`
	// Operation - The localized friendly name for the operation, as it should be shown to the user. It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing and include the entity/resource to which it applies.
	Operation *string `json:"operation,omitempty"`
	// Description - The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise - it will be used in tool tips and detailed views.
	Description *string `json:"description,omitempty"`
}

AvailableProviderOperationDisplay 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 - The value.
	Value *[]AvailableProviderOperation `json:"value,omitempty"`
	// NextLink - The NextLink.
	NextLink *string `json:"nextLink,omitempty"`
}

AvailableProviderOperationList list of available provider operations.

func (AvailableProviderOperationList) IsEmpty

func (apol AvailableProviderOperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableProviderOperationListIterator

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

AvailableProviderOperationListIterator provides access to a complete listing of AvailableProviderOperation values.

func (*AvailableProviderOperationListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AvailableProviderOperationListIterator) NotDone

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

func (AvailableProviderOperationListIterator) Response

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

func (AvailableProviderOperationListIterator) Value

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

type AvailableProviderOperationListPage

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

AvailableProviderOperationListPage contains a page of AvailableProviderOperation values.

func (*AvailableProviderOperationListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AvailableProviderOperationListPage) NotDone

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

func (AvailableProviderOperationListPage) Response

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

func (AvailableProviderOperationListPage) Values

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

type Backup

type Backup struct {
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// BackupProperties - The properties of the backup.
	*BackupProperties `json:"properties,omitempty"`
}

Backup the backup.

func (*Backup) UnmarshalJSON

func (b *Backup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Backup struct.

type BackupElement

type BackupElement struct {
	// ElementID - The path ID that uniquely identifies the backup element.
	ElementID *string `json:"elementId,omitempty"`
	// ElementName - The name of the backup element.
	ElementName *string `json:"elementName,omitempty"`
	// ElementType - The hierarchical type of the backup element.
	ElementType *string `json:"elementType,omitempty"`
	// SizeInBytes - The size in bytes.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// VolumeName - The name of the volume.
	VolumeName *string `json:"volumeName,omitempty"`
	// VolumeContainerID - The path ID of the volume container.
	VolumeContainerID *string `json:"volumeContainerId,omitempty"`
	// VolumeType - The volume type. Possible values include: 'Tiered', 'Archival', 'LocallyPinned'
	VolumeType VolumeType `json:"volumeType,omitempty"`
}

BackupElement the backup element.

type BackupFilter

type BackupFilter struct {
	// BackupPolicyID - Specifies the backupPolicyId of the backups to be filtered. Only 'Equality' operator is supported for this property.
	BackupPolicyID *string `json:"backupPolicyId,omitempty"`
	// VolumeID - Specifies the volumeId of the backups to be filtered. Only 'Equality' operator is supported for this property.
	VolumeID *string `json:"volumeId,omitempty"`
	// CreatedTime - Specifies the creation time of the backups to be filtered. Only 'Greater Than or Equal To' and 'Lesser Than or Equal To' operators are supported for this property.
	CreatedTime *date.Time `json:"createdTime,omitempty"`
}

BackupFilter the OData filters to be used for backups.

type BackupJobCreationType

type BackupJobCreationType string

BackupJobCreationType enumerates the values for backup job creation type.

const (
	// Adhoc ...
	Adhoc BackupJobCreationType = "Adhoc"
	// BySchedule ...
	BySchedule BackupJobCreationType = "BySchedule"
	// BySSM ...
	BySSM BackupJobCreationType = "BySSM"
)

type BackupList

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

BackupList the collection of backups.

func (BackupList) IsEmpty

func (bl BackupList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BackupListIterator

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

BackupListIterator provides access to a complete listing of Backup values.

func (*BackupListIterator) Next

func (iter *BackupListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BackupListIterator) NotDone

func (iter BackupListIterator) NotDone() bool

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

func (BackupListIterator) Response

func (iter BackupListIterator) Response() BackupList

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

func (BackupListIterator) Value

func (iter BackupListIterator) Value() Backup

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

type BackupListPage

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

BackupListPage contains a page of Backup values.

func (*BackupListPage) Next

func (page *BackupListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BackupListPage) NotDone

func (page BackupListPage) NotDone() bool

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

func (BackupListPage) Response

func (page BackupListPage) Response() BackupList

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

func (BackupListPage) Values

func (page BackupListPage) Values() []Backup

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

type BackupPoliciesBackupNowFuture

type BackupPoliciesBackupNowFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BackupPoliciesBackupNowFuture) Result

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

type BackupPoliciesClient

type BackupPoliciesClient struct {
	BaseClient
}

BackupPoliciesClient is the client for the BackupPolicies methods of the Storsimple 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(ctx context.Context, deviceName string, backupPolicyName string, backupType string, resourceGroupName string, managerName string) (result BackupPoliciesBackupNowFuture, err error)

BackupNow backup the backup policy now.

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(ctx context.Context, deviceName string, backupPolicyName string, backupType string, resourceGroupName string, managerName string) (*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) (future BackupPoliciesBackupNowFuture, err 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(ctx context.Context, deviceName string, backupPolicyName string, parameters BackupPolicy, resourceGroupName string, managerName string) (result BackupPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the backup policy.

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(ctx context.Context, deviceName string, backupPolicyName string, parameters BackupPolicy, resourceGroupName string, managerName string) (*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) (future BackupPoliciesCreateOrUpdateFuture, err 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(ctx context.Context, deviceName string, backupPolicyName string, resourceGroupName string, managerName string) (result BackupPoliciesDeleteFuture, err error)

Delete deletes the backup policy.

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(ctx context.Context, deviceName string, backupPolicyName string, resourceGroupName string, managerName string) (*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) (future BackupPoliciesDeleteFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 BackupPoliciesCreateOrUpdateFuture

type BackupPoliciesCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BackupPoliciesCreateOrUpdateFuture) Result

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

type BackupPoliciesDeleteFuture

type BackupPoliciesDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BackupPoliciesDeleteFuture) Result

func (future BackupPoliciesDeleteFuture) Result(client BackupPoliciesClient) (ar autorest.Response, err error)

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

type BackupPolicy

type BackupPolicy struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// BackupPolicyProperties - The properties of the backup policy.
	*BackupPolicyProperties `json:"properties,omitempty"`
}

BackupPolicy the backup policy.

func (*BackupPolicy) UnmarshalJSON

func (bp *BackupPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupPolicy struct.

type BackupPolicyCreationType

type BackupPolicyCreationType string

BackupPolicyCreationType enumerates the values for backup policy creation type.

const (
	// BackupPolicyCreationTypeBySaaS ...
	BackupPolicyCreationTypeBySaaS BackupPolicyCreationType = "BySaaS"
	// BackupPolicyCreationTypeBySSM ...
	BackupPolicyCreationTypeBySSM BackupPolicyCreationType = "BySSM"
)

type BackupPolicyList

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

BackupPolicyList the collection of backup policies.

type BackupPolicyProperties

type BackupPolicyProperties struct {
	// VolumeIds - The path IDs of the volumes which are part of the backup policy.
	VolumeIds *[]string `json:"volumeIds,omitempty"`
	// NextBackupTime - The time of the next backup for the backup policy.
	NextBackupTime *date.Time `json:"nextBackupTime,omitempty"`
	// LastBackupTime - The time of the last backup for the backup policy.
	LastBackupTime *date.Time `json:"lastBackupTime,omitempty"`
	// SchedulesCount - The count of schedules the backup policy contains.
	SchedulesCount *int64 `json:"schedulesCount,omitempty"`
	// ScheduledBackupStatus - Indicates whether atleast one of the schedules in the backup policy is active or not. Possible values include: 'ScheduledBackupStatusDisabled', 'ScheduledBackupStatusEnabled'
	ScheduledBackupStatus ScheduledBackupStatus `json:"scheduledBackupStatus,omitempty"`
	// BackupPolicyCreationType - The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager. Possible values include: 'BackupPolicyCreationTypeBySaaS', 'BackupPolicyCreationTypeBySSM'
	BackupPolicyCreationType BackupPolicyCreationType `json:"backupPolicyCreationType,omitempty"`
	// SsmHostName - If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager.
	SsmHostName *string `json:"ssmHostName,omitempty"`
}

BackupPolicyProperties the properties of the backup policy.

type BackupProperties

type BackupProperties struct {
	// CreatedOn - The time when the backup was created.
	CreatedOn *date.Time `json:"createdOn,omitempty"`
	// SizeInBytes - The backup size in bytes.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// BackupType - The type of the backup. Possible values include: 'LocalSnapshot', 'CloudSnapshot'
	BackupType BackupType `json:"backupType,omitempty"`
	// BackupJobCreationType - The backup job creation type. Possible values include: 'Adhoc', 'BySchedule', 'BySSM'
	BackupJobCreationType BackupJobCreationType `json:"backupJobCreationType,omitempty"`
	// BackupPolicyID - The path ID of the backup policy.
	BackupPolicyID *string `json:"backupPolicyId,omitempty"`
	// SsmHostName - The StorSimple Snapshot Manager host name.
	SsmHostName *string `json:"ssmHostName,omitempty"`
	// Elements - The backup elements.
	Elements *[]BackupElement `json:"elements,omitempty"`
}

BackupProperties the properties of the backup.

type BackupSchedule

type BackupSchedule struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// BackupScheduleProperties - The properties of the backup schedule.
	*BackupScheduleProperties `json:"properties,omitempty"`
}

BackupSchedule the backup schedule.

func (*BackupSchedule) UnmarshalJSON

func (bs *BackupSchedule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupSchedule struct.

type BackupScheduleList

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

BackupScheduleList the backup schedule list.

type BackupScheduleProperties

type BackupScheduleProperties struct {
	// ScheduleRecurrence - The schedule recurrence.
	ScheduleRecurrence *ScheduleRecurrence `json:"scheduleRecurrence,omitempty"`
	// BackupType - The type of backup which needs to be taken. Possible values include: 'LocalSnapshot', 'CloudSnapshot'
	BackupType BackupType `json:"backupType,omitempty"`
	// RetentionCount - The number of backups to be retained.
	RetentionCount *int64 `json:"retentionCount,omitempty"`
	// StartTime - The start time of the schedule.
	StartTime *date.Time `json:"startTime,omitempty"`
	// ScheduleStatus - The schedule status. Possible values include: 'ScheduleStatusEnabled', 'ScheduleStatusDisabled'
	ScheduleStatus ScheduleStatus `json:"scheduleStatus,omitempty"`
	// LastSuccessfulRun - The last successful backup run which was triggered for the schedule.
	LastSuccessfulRun *date.Time `json:"lastSuccessfulRun,omitempty"`
}

BackupScheduleProperties the properties of the backup schedule.

type BackupSchedulesClient

type BackupSchedulesClient struct {
	BaseClient
}

BackupSchedulesClient is the client for the BackupSchedules methods of the Storsimple 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(ctx context.Context, deviceName string, backupPolicyName string, backupScheduleName string, parameters BackupSchedule, resourceGroupName string, managerName string) (result BackupSchedulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the backup schedule.

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(ctx context.Context, deviceName string, backupPolicyName string, backupScheduleName string, parameters BackupSchedule, resourceGroupName string, managerName string) (*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) (future BackupSchedulesCreateOrUpdateFuture, err 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(ctx context.Context, deviceName string, backupPolicyName string, backupScheduleName string, resourceGroupName string, managerName string) (result BackupSchedulesDeleteFuture, err error)

Delete deletes the backup schedule.

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(ctx context.Context, deviceName string, backupPolicyName string, backupScheduleName string, resourceGroupName string, managerName string) (*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) (future BackupSchedulesDeleteFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 BackupSchedulesCreateOrUpdateFuture

type BackupSchedulesCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BackupSchedulesCreateOrUpdateFuture) Result

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

type BackupSchedulesDeleteFuture

type BackupSchedulesDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BackupSchedulesDeleteFuture) Result

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

type BackupStatus

type BackupStatus string

BackupStatus enumerates the values for backup status.

const (
	// BackupStatusDisabled ...
	BackupStatusDisabled BackupStatus = "Disabled"
	// BackupStatusEnabled ...
	BackupStatusEnabled BackupStatus = "Enabled"
)

type BackupType

type BackupType string

BackupType enumerates the values for backup type.

const (
	// CloudSnapshot ...
	CloudSnapshot BackupType = "CloudSnapshot"
	// LocalSnapshot ...
	LocalSnapshot BackupType = "LocalSnapshot"
)

type BackupsClient

type BackupsClient struct {
	BaseClient
}

BackupsClient is the client for the Backups methods of the Storsimple 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(ctx context.Context, deviceName string, backupName string, backupElementName string, parameters CloneRequest, resourceGroupName string, managerName string) (result BackupsCloneFuture, err error)

Clone clones the backup element as a new volume.

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(ctx context.Context, deviceName string, backupName string, backupElementName string, parameters CloneRequest, resourceGroupName string, managerName string) (*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) (future BackupsCloneFuture, err 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(ctx context.Context, deviceName string, backupName string, resourceGroupName string, managerName string) (result BackupsDeleteFuture, err error)

Delete deletes the backup.

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(ctx context.Context, deviceName string, backupName string, resourceGroupName string, managerName string) (*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) (future BackupsDeleteFuture, err 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string, filter string) (result BackupListPage, 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string, filter string) (result BackupListIterator, err error)

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

func (BackupsClient) ListByDevicePreparer

func (client BackupsClient) ListByDevicePreparer(ctx context.Context, 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(ctx context.Context, deviceName string, backupName string, resourceGroupName string, managerName string) (result BackupsRestoreFuture, err error)

Restore restores the backup on the device.

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(ctx context.Context, deviceName string, backupName string, resourceGroupName string, managerName string) (*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) (future BackupsRestoreFuture, err error)

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

type BackupsCloneFuture

type BackupsCloneFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BackupsCloneFuture) Result

func (future BackupsCloneFuture) Result(client BackupsClient) (ar autorest.Response, err error)

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

type BackupsDeleteFuture

type BackupsDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BackupsDeleteFuture) Result

func (future BackupsDeleteFuture) Result(client BackupsClient) (ar autorest.Response, err error)

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

type BackupsRestoreFuture

type BackupsRestoreFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BackupsRestoreFuture) Result

func (future BackupsRestoreFuture) Result(client BackupsClient) (ar autorest.Response, err error)

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

type BandwidthRateSettingProperties

type BandwidthRateSettingProperties struct {
	// Schedules - The schedules.
	Schedules *[]BandwidthSchedule `json:"schedules,omitempty"`
	// VolumeCount - The number of volumes that uses the bandwidth setting.
	VolumeCount *int32 `json:"volumeCount,omitempty"`
}

BandwidthRateSettingProperties the properties of the bandwidth setting.

type BandwidthSchedule

type BandwidthSchedule struct {
	// Start - The start time of the schdule.
	Start *Time `json:"start,omitempty"`
	// Stop - The stop time of the schedule.
	Stop *Time `json:"stop,omitempty"`
	// RateInMbps - The rate in Mbps.
	RateInMbps *int32 `json:"rateInMbps,omitempty"`
	// Days - The days of the week when this schedule is applicable.
	Days *[]DayOfWeek `json:"days,omitempty"`
}

BandwidthSchedule the schedule for bandwidth setting.

type BandwidthSetting

type BandwidthSetting struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// BandwidthRateSettingProperties - The properties of the bandwidth setting.
	*BandwidthRateSettingProperties `json:"properties,omitempty"`
}

BandwidthSetting the bandwidth setting.

func (*BandwidthSetting) UnmarshalJSON

func (bs *BandwidthSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BandwidthSetting struct.

type BandwidthSettingList

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

BandwidthSettingList the collection of bandwidth setting entities.

type BandwidthSettingsClient

type BandwidthSettingsClient struct {
	BaseClient
}

BandwidthSettingsClient is the client for the BandwidthSettings methods of the Storsimple 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(ctx context.Context, bandwidthSettingName string, parameters BandwidthSetting, resourceGroupName string, managerName string) (result BandwidthSettingsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the bandwidth setting

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(ctx context.Context, bandwidthSettingName string, parameters BandwidthSetting, resourceGroupName string, managerName string) (*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) (future BandwidthSettingsCreateOrUpdateFuture, err 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(ctx context.Context, bandwidthSettingName string, resourceGroupName string, managerName string) (result BandwidthSettingsDeleteFuture, err error)

Delete deletes the bandwidth setting

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(ctx context.Context, bandwidthSettingName string, resourceGroupName string, managerName string) (*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) (future BandwidthSettingsDeleteFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 BandwidthSettingsCreateOrUpdateFuture

type BandwidthSettingsCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BandwidthSettingsCreateOrUpdateFuture) Result

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

type BandwidthSettingsDeleteFuture

type BandwidthSettingsDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (BandwidthSettingsDeleteFuture) Result

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

type BaseClient

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

BaseClient is the base client for Storsimple.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BaseModel

type BaseModel struct {
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
}

BaseModel represents the base class for all other ARM object models

type ChapSettings

type ChapSettings struct {
	// InitiatorUser - The CHAP initiator user.
	InitiatorUser *string `json:"initiatorUser,omitempty"`
	// InitiatorSecret - The CHAP initiator secret.
	InitiatorSecret *AsymmetricEncryptedSecret `json:"initiatorSecret,omitempty"`
	// TargetUser - The CHAP target user.
	TargetUser *string `json:"targetUser,omitempty"`
	// TargetSecret - The target secret.
	TargetSecret *AsymmetricEncryptedSecret `json:"targetSecret,omitempty"`
}

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

type ClearAlertRequest

type ClearAlertRequest struct {
	// ResolutionMessage - The resolution message while clearing the alert
	ResolutionMessage *string `json:"resolutionMessage,omitempty"`
	// Alerts - The list of alert IDs to be cleared
	Alerts *[]string `json:"alerts,omitempty"`
}

ClearAlertRequest the request for clearing the alert

type CloneRequest

type CloneRequest struct {
	// TargetDeviceID - The path ID of the device which will act as the clone target.
	TargetDeviceID *string `json:"targetDeviceId,omitempty"`
	// TargetVolumeName - The name of the new volume which will be created and the backup will be cloned into.
	TargetVolumeName *string `json:"targetVolumeName,omitempty"`
	// TargetAccessControlRecordIds - The list of path IDs of the access control records to be associated to the new cloned volume.
	TargetAccessControlRecordIds *[]string `json:"targetAccessControlRecordIds,omitempty"`
	// BackupElement - The backup element that is cloned.
	BackupElement *BackupElement `json:"backupElement,omitempty"`
}

CloneRequest the clone job request.

type CloudAppliance

type CloudAppliance struct {
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// VnetName - The name of the virtual network.
	VnetName *string `json:"vnetName,omitempty"`
	// VnetRegion - The virtual network region.
	VnetRegion *string `json:"vnetRegion,omitempty"`
	// IsVnetDNSConfigured - Indicates whether virtual network used is configured with DNS or not.
	IsVnetDNSConfigured *bool `json:"isVnetDnsConfigured,omitempty"`
	// IsVnetExpressConfigured - Indicates whether virtual network used is configured with express route or not.
	IsVnetExpressConfigured *bool `json:"isVnetExpressConfigured,omitempty"`
	// SubnetName - The name of the subnet.
	SubnetName *string `json:"subnetName,omitempty"`
	// StorageAccountName - The name of the storage account.
	StorageAccountName *string `json:"storageAccountName,omitempty"`
	// StorageAccountType - The type of the storage account.
	StorageAccountType *string `json:"storageAccountType,omitempty"`
	// VMType - The type of the virtual machine.
	VMType *string `json:"vmType,omitempty"`
	// VMImageName - The name of the virtual machine image.
	VMImageName *string `json:"vmImageName,omitempty"`
	// ModelNumber - The model number.
	ModelNumber *string `json:"modelNumber,omitempty"`
}

CloudAppliance the cloud appliance.

type CloudApplianceConfiguration

type CloudApplianceConfiguration struct {
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// CloudApplianceConfigurationProperties - The properties.
	*CloudApplianceConfigurationProperties `json:"properties,omitempty"`
}

CloudApplianceConfiguration the cloud appliance configuration

func (*CloudApplianceConfiguration) UnmarshalJSON

func (cac *CloudApplianceConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CloudApplianceConfiguration struct.

type CloudApplianceConfigurationList

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

CloudApplianceConfigurationList the cloud appliance configuration list

type CloudApplianceConfigurationProperties

type CloudApplianceConfigurationProperties struct {
	// ModelNumber - The model number.
	ModelNumber *string `json:"modelNumber,omitempty"`
	// CloudPlatform - The cloud platform.
	CloudPlatform *string `json:"cloudPlatform,omitempty"`
	// AcsConfiguration - The ACS configuration.
	AcsConfiguration *AcsConfiguration `json:"acsConfiguration,omitempty"`
	// SupportedStorageAccountTypes - The supported storage account types.
	SupportedStorageAccountTypes *[]string `json:"supportedStorageAccountTypes,omitempty"`
	// SupportedRegions - The supported regions.
	SupportedRegions *[]string `json:"supportedRegions,omitempty"`
	// SupportedVMTypes - The supported virtual machine types.
	SupportedVMTypes *[]string `json:"supportedVmTypes,omitempty"`
	// SupportedVMImages - The supported virtual machine images.
	SupportedVMImages *[]VMImage `json:"supportedVmImages,omitempty"`
}

CloudApplianceConfigurationProperties the properties of cloud appliance configuration.

type CloudApplianceSettings

type CloudApplianceSettings struct {
	// ServiceDataEncryptionKey - The service data encryption key (encrypted with DAK).
	ServiceDataEncryptionKey *AsymmetricEncryptedSecret `json:"serviceDataEncryptionKey,omitempty"`
	// ChannelIntegrityKey - The channel integrity key (encrypted with DAK).
	ChannelIntegrityKey *AsymmetricEncryptedSecret `json:"channelIntegrityKey,omitempty"`
}

CloudApplianceSettings the cloud appliance settings.

type CloudAppliancesClient

type CloudAppliancesClient struct {
	BaseClient
}

CloudAppliancesClient is the client for the CloudAppliances methods of the Storsimple 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, parameters CloudAppliance, resourceGroupName string, managerName string) (result CloudAppliancesProvisionFuture, err error)

Provision provisions cloud appliance.

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

func (CloudAppliancesClient) ProvisionPreparer

func (client CloudAppliancesClient) ProvisionPreparer(ctx context.Context, parameters CloudAppliance, resourceGroupName string, managerName string) (*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) (future CloudAppliancesProvisionFuture, err error)

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

type CloudAppliancesProvisionFuture

type CloudAppliancesProvisionFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (CloudAppliancesProvisionFuture) Result

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

type ConfigureDeviceRequest

type ConfigureDeviceRequest struct {
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// ConfigureDeviceRequestProperties - The properties of the configure device request.
	*ConfigureDeviceRequestProperties `json:"properties,omitempty"`
}

ConfigureDeviceRequest the mandatory device configuration request.

func (*ConfigureDeviceRequest) UnmarshalJSON

func (cdr *ConfigureDeviceRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConfigureDeviceRequest struct.

type ConfigureDeviceRequestProperties

type ConfigureDeviceRequestProperties struct {
	// FriendlyName - The friendly name for the device.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// CurrentDeviceName - The current name of the device.
	CurrentDeviceName *string `json:"currentDeviceName,omitempty"`
	// TimeZone - The device time zone. For eg: "Pacific Standard Time"
	TimeZone *string `json:"timeZone,omitempty"`
	// DNSSettings - The secondary DNS Settings of the device.
	DNSSettings *SecondaryDNSSettings `json:"dnsSettings,omitempty"`
	// NetworkInterfaceData0Settings - The 'Data 0' network interface card settings.
	NetworkInterfaceData0Settings *NetworkInterfaceData0Settings `json:"networkInterfaceData0Settings,omitempty"`
}

ConfigureDeviceRequestProperties the properties of the configure device request.

type ControllerID

type ControllerID string

ControllerID enumerates the values for controller id.

const (
	// ControllerIDController0 ...
	ControllerIDController0 ControllerID = "Controller0"
	// ControllerIDController1 ...
	ControllerIDController1 ControllerID = "Controller1"
	// ControllerIDNone ...
	ControllerIDNone ControllerID = "None"
	// ControllerIDUnknown ...
	ControllerIDUnknown ControllerID = "Unknown"
)

type ControllerPowerStateAction

type ControllerPowerStateAction string

ControllerPowerStateAction enumerates the values for controller power state action.

const (
	// Restart ...
	Restart ControllerPowerStateAction = "Restart"
	// Shutdown ...
	Shutdown ControllerPowerStateAction = "Shutdown"
	// Start ...
	Start ControllerPowerStateAction = "Start"
)

type ControllerPowerStateChangeRequest

type ControllerPowerStateChangeRequest struct {
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// ControllerPowerStateChangeRequestProperties - The properties of the controller power state change request.
	*ControllerPowerStateChangeRequestProperties `json:"properties,omitempty"`
}

ControllerPowerStateChangeRequest the controller power state change request.

func (*ControllerPowerStateChangeRequest) UnmarshalJSON

func (cpscr *ControllerPowerStateChangeRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ControllerPowerStateChangeRequest struct.

type ControllerPowerStateChangeRequestProperties

type ControllerPowerStateChangeRequestProperties struct {
	// Action - The power state that the request is expecting for the controller of the device. Possible values include: 'Start', 'Restart', 'Shutdown'
	Action ControllerPowerStateAction `json:"action,omitempty"`
	// ActiveController - The active controller that the request is expecting on the device. Possible values include: 'ControllerIDUnknown', 'ControllerIDNone', 'ControllerIDController0', 'ControllerIDController1'
	ActiveController ControllerID `json:"activeController,omitempty"`
	// Controller0State - The controller 0's status that the request is expecting on the device. Possible values include: 'ControllerStatusNotPresent', 'ControllerStatusPoweredOff', 'ControllerStatusOk', 'ControllerStatusRecovering', 'ControllerStatusWarning', 'ControllerStatusFailure'
	Controller0State ControllerStatus `json:"controller0State,omitempty"`
	// Controller1State - The controller 1's status that the request is expecting on the device. Possible values include: 'ControllerStatusNotPresent', 'ControllerStatusPoweredOff', 'ControllerStatusOk', 'ControllerStatusRecovering', 'ControllerStatusWarning', 'ControllerStatusFailure'
	Controller1State ControllerStatus `json:"controller1State,omitempty"`
}

ControllerPowerStateChangeRequestProperties the properties of the controller power state change request.

type ControllerStatus

type ControllerStatus string

ControllerStatus enumerates the values for controller status.

const (
	// ControllerStatusFailure ...
	ControllerStatusFailure ControllerStatus = "Failure"
	// ControllerStatusNotPresent ...
	ControllerStatusNotPresent ControllerStatus = "NotPresent"
	// ControllerStatusOk ...
	ControllerStatusOk ControllerStatus = "Ok"
	// ControllerStatusPoweredOff ...
	ControllerStatusPoweredOff ControllerStatus = "PoweredOff"
	// ControllerStatusRecovering ...
	ControllerStatusRecovering ControllerStatus = "Recovering"
	// ControllerStatusWarning ...
	ControllerStatusWarning ControllerStatus = "Warning"
)

type DNSSettings

type DNSSettings struct {
	// PrimaryDNSServer - The primary IPv4 DNS server for the device
	PrimaryDNSServer *string `json:"primaryDnsServer,omitempty"`
	// PrimaryIpv6DNSServer - The primary IPv6 DNS server for the device
	PrimaryIpv6DNSServer *string `json:"primaryIpv6DnsServer,omitempty"`
	// SecondaryDNSServers - The secondary IPv4 DNS server for the device
	SecondaryDNSServers *[]string `json:"secondaryDnsServers,omitempty"`
	// SecondaryIpv6DNSServers - The secondary IPv6 DNS server for the device
	SecondaryIpv6DNSServers *[]string `json:"secondaryIpv6DnsServers,omitempty"`
}

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

type DataStatistics

type DataStatistics struct {
	// TotalData - The total bytes of data to be processed, as part of the job.
	TotalData *int64 `json:"totalData,omitempty"`
	// ProcessedData - The number of bytes of data processed till now, as part of the job.
	ProcessedData *int64 `json:"processedData,omitempty"`
	// CloudData - The number of bytes of data written to cloud, as part of the job.
	CloudData *int64 `json:"cloudData,omitempty"`
	// Throughput - The average throughput of data processed(bytes/sec), as part of the job.
	Throughput *int64 `json:"throughput,omitempty"`
}

DataStatistics 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 ...
	Friday DayOfWeek = "Friday"
	// Monday ...
	Monday DayOfWeek = "Monday"
	// Saturday ...
	Saturday DayOfWeek = "Saturday"
	// Sunday ...
	Sunday DayOfWeek = "Sunday"
	// Thursday ...
	Thursday DayOfWeek = "Thursday"
	// Tuesday ...
	Tuesday DayOfWeek = "Tuesday"
	// Wednesday ...
	Wednesday DayOfWeek = "Wednesday"
)

type Device

type Device struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// DeviceProperties - The properties of the StorSimple device.
	*DeviceProperties `json:"properties,omitempty"`
}

Device the StorSimple device.

func (*Device) UnmarshalJSON

func (d *Device) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Device struct.

type DeviceConfigurationStatus

type DeviceConfigurationStatus string

DeviceConfigurationStatus enumerates the values for device configuration status.

const (
	// Complete ...
	Complete DeviceConfigurationStatus = "Complete"
	// Pending ...
	Pending DeviceConfigurationStatus = "Pending"
)

type DeviceDetails

type DeviceDetails struct {
	// EndpointCount - The total number of endpoints that are currently on the device ( i.e. number of volumes).
	EndpointCount *int32 `json:"endpointCount,omitempty"`
	// VolumeContainerCount - The total number of volume containers on the device.
	VolumeContainerCount *int32 `json:"volumeContainerCount,omitempty"`
}

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

type DeviceList

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

DeviceList the collection of devices.

type DevicePatch

type DevicePatch struct {
	// DevicePatchProperties - The properties of the device patch.
	*DevicePatchProperties `json:"properties,omitempty"`
}

DevicePatch the device patch.

func (*DevicePatch) UnmarshalJSON

func (dp *DevicePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DevicePatch struct.

type DevicePatchProperties

type DevicePatchProperties struct {
	// DeviceDescription - Short description given for the device
	DeviceDescription *string `json:"deviceDescription,omitempty"`
}

DevicePatchProperties the properties of the device patch.

type DeviceProperties

type DeviceProperties struct {
	// FriendlyName - The friendly name of the device.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// ActivationTime - The UTC time at which the device was activated
	ActivationTime *date.Time `json:"activationTime,omitempty"`
	// Culture - The language culture setting on the device. For eg: "en-US"
	Culture *string `json:"culture,omitempty"`
	// DeviceDescription - The device description.
	DeviceDescription *string `json:"deviceDescription,omitempty"`
	// DeviceSoftwareVersion - The version number of the software running on the device.
	DeviceSoftwareVersion *string `json:"deviceSoftwareVersion,omitempty"`
	// FriendlySoftwareName - The friendly name of the software running on the device.
	FriendlySoftwareName *string `json:"friendlySoftwareName,omitempty"`
	// DeviceConfigurationStatus - The current configuration status of the device. Possible values include: 'Complete', 'Pending'
	DeviceConfigurationStatus DeviceConfigurationStatus `json:"deviceConfigurationStatus,omitempty"`
	// TargetIqn - The target IQN.
	TargetIqn *string `json:"targetIqn,omitempty"`
	// ModelDescription - The device model.
	ModelDescription *string `json:"modelDescription,omitempty"`
	// Status - The current status of the device. Possible values include: 'Unknown', 'Online', 'Offline', 'Deactivated', 'RequiresAttention', 'MaintenanceMode', 'Creating', 'Provisioning', 'Deactivating', 'Deleted', 'ReadyToSetup'
	Status DeviceStatus `json:"status,omitempty"`
	// SerialNumber - The serial number.
	SerialNumber *string `json:"serialNumber,omitempty"`
	// DeviceType - The type of the device. Possible values include: 'DeviceTypeInvalid', 'DeviceTypeSeries8000VirtualAppliance', 'DeviceTypeSeries8000PhysicalAppliance'
	DeviceType DeviceType `json:"deviceType,omitempty"`
	// ActiveController - The identifier of the active controller of the device. Possible values include: 'ControllerIDUnknown', 'ControllerIDNone', 'ControllerIDController0', 'ControllerIDController1'
	ActiveController ControllerID `json:"activeController,omitempty"`
	// FriendlySoftwareVersion - The device friendly software version.
	FriendlySoftwareVersion *string `json:"friendlySoftwareVersion,omitempty"`
	// AvailableLocalStorageInBytes - The storage in bytes that is available locally on the device.
	AvailableLocalStorageInBytes *int64 `json:"availableLocalStorageInBytes,omitempty"`
	// AvailableTieredStorageInBytes - The storage in bytes that is available on the device for tiered volumes.
	AvailableTieredStorageInBytes *int64 `json:"availableTieredStorageInBytes,omitempty"`
	// ProvisionedTieredStorageInBytes - The storage in bytes that has been provisioned on the device for tiered volumes.
	ProvisionedTieredStorageInBytes *int64 `json:"provisionedTieredStorageInBytes,omitempty"`
	// ProvisionedLocalStorageInBytes - The storage in bytes used for locally pinned volumes on the device (including additional local reservation).
	ProvisionedLocalStorageInBytes *int64 `json:"provisionedLocalStorageInBytes,omitempty"`
	// ProvisionedVolumeSizeInBytes - Total capacity in bytes of tiered and locally pinned volumes on the device
	ProvisionedVolumeSizeInBytes *int64 `json:"provisionedVolumeSizeInBytes,omitempty"`
	// UsingStorageInBytes - The storage in bytes that is currently being used on the device, including both local and cloud.
	UsingStorageInBytes *int64 `json:"usingStorageInBytes,omitempty"`
	// TotalTieredStorageInBytes - The total tiered storage available on the device in bytes.
	TotalTieredStorageInBytes *int64 `json:"totalTieredStorageInBytes,omitempty"`
	// AgentGroupVersion - The device agent group version.
	AgentGroupVersion *int32 `json:"agentGroupVersion,omitempty"`
	// NetworkInterfaceCardCount - The number of network interface cards
	NetworkInterfaceCardCount *int32 `json:"networkInterfaceCardCount,omitempty"`
	// DeviceLocation - The location of the virtual appliance.
	DeviceLocation *string `json:"deviceLocation,omitempty"`
	// VirtualMachineAPIType - The virtual machine API type. Possible values include: 'Classic', 'Arm'
	VirtualMachineAPIType VirtualMachineAPIType `json:"virtualMachineApiType,omitempty"`
	// Details - The additional device details regarding the end point count and volume container count.
	Details *DeviceDetails `json:"details,omitempty"`
	// RolloverDetails - The additional device details for the service data encryption key rollover.
	RolloverDetails *DeviceRolloverDetails `json:"rolloverDetails,omitempty"`
}

DeviceProperties the properties of the StorSimple device.

type DeviceRolloverDetails

type DeviceRolloverDetails struct {
	// AuthorizationEligibility - The eligibility status of device for service data encryption key rollover. Possible values include: 'InEligible', 'Eligible'
	AuthorizationEligibility AuthorizationEligibility `json:"authorizationEligibility,omitempty"`
	// AuthorizationStatus - The authorization status of the device for service data encryption key rollover. Possible values include: 'AuthorizationStatusDisabled', 'AuthorizationStatusEnabled'
	AuthorizationStatus AuthorizationStatus `json:"authorizationStatus,omitempty"`
	// InEligibilityReason - The reason for inEligibility of device, in case it's not eligible for service data encryption key rollover. Possible values include: 'DeviceNotOnline', 'NotSupportedAppliance', 'RolloverPending'
	InEligibilityReason InEligibilityCategory `json:"inEligibilityReason,omitempty"`
}

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

type DeviceSettingsClient

type DeviceSettingsClient struct {
	BaseClient
}

DeviceSettingsClient is the client for the DeviceSettings methods of the Storsimple 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(ctx context.Context, deviceName string, parameters AlertSettings, resourceGroupName string, managerName string) (result DeviceSettingsCreateOrUpdateAlertSettingsFuture, err error)

CreateOrUpdateAlertSettings creates or updates the alert settings of the specified device.

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(ctx context.Context, deviceName string, parameters AlertSettings, resourceGroupName string, managerName string) (*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) (future DeviceSettingsCreateOrUpdateAlertSettingsFuture, err 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(ctx context.Context, deviceName string, parameters TimeSettings, resourceGroupName string, managerName string) (result DeviceSettingsCreateOrUpdateTimeSettingsFuture, err error)

CreateOrUpdateTimeSettings creates or updates the time settings of the specified device.

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(ctx context.Context, deviceName string, parameters TimeSettings, resourceGroupName string, managerName string) (*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) (future DeviceSettingsCreateOrUpdateTimeSettingsFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result DeviceSettingsSyncRemotemanagementCertificateFuture, err error)

SyncRemotemanagementCertificate sync Remote management Certificate between appliance and Service

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

func (DeviceSettingsClient) SyncRemotemanagementCertificatePreparer

func (client DeviceSettingsClient) SyncRemotemanagementCertificatePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*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) (future DeviceSettingsSyncRemotemanagementCertificateFuture, err 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(ctx context.Context, deviceName string, parameters NetworkSettingsPatch, resourceGroupName string, managerName string) (result DeviceSettingsUpdateNetworkSettingsFuture, err error)

UpdateNetworkSettings updates the network settings on the specified device.

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(ctx context.Context, deviceName string, parameters NetworkSettingsPatch, resourceGroupName string, managerName string) (*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) (future DeviceSettingsUpdateNetworkSettingsFuture, err 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(ctx context.Context, deviceName string, parameters SecuritySettingsPatch, resourceGroupName string, managerName string) (result DeviceSettingsUpdateSecuritySettingsFuture, err error)

UpdateSecuritySettings patch Security properties of the specified device name.

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(ctx context.Context, deviceName string, parameters SecuritySettingsPatch, resourceGroupName string, managerName string) (*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) (future DeviceSettingsUpdateSecuritySettingsFuture, err error)

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

type DeviceSettingsCreateOrUpdateAlertSettingsFuture

type DeviceSettingsCreateOrUpdateAlertSettingsFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DeviceSettingsCreateOrUpdateAlertSettingsFuture) Result

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

type DeviceSettingsCreateOrUpdateTimeSettingsFuture

type DeviceSettingsCreateOrUpdateTimeSettingsFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DeviceSettingsCreateOrUpdateTimeSettingsFuture) Result

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

type DeviceSettingsSyncRemotemanagementCertificateFuture

type DeviceSettingsSyncRemotemanagementCertificateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DeviceSettingsSyncRemotemanagementCertificateFuture) Result

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

type DeviceSettingsUpdateNetworkSettingsFuture

type DeviceSettingsUpdateNetworkSettingsFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DeviceSettingsUpdateNetworkSettingsFuture) Result

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

type DeviceSettingsUpdateSecuritySettingsFuture

type DeviceSettingsUpdateSecuritySettingsFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DeviceSettingsUpdateSecuritySettingsFuture) Result

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

type DeviceStatus

type DeviceStatus string

DeviceStatus enumerates the values for device status.

const (
	// Creating ...
	Creating DeviceStatus = "Creating"
	// Deactivated ...
	Deactivated DeviceStatus = "Deactivated"
	// Deactivating ...
	Deactivating DeviceStatus = "Deactivating"
	// Deleted ...
	Deleted DeviceStatus = "Deleted"
	// MaintenanceMode ...
	MaintenanceMode DeviceStatus = "MaintenanceMode"
	// Offline ...
	Offline DeviceStatus = "Offline"
	// Online ...
	Online DeviceStatus = "Online"
	// Provisioning ...
	Provisioning DeviceStatus = "Provisioning"
	// ReadyToSetup ...
	ReadyToSetup DeviceStatus = "ReadyToSetup"
	// RequiresAttention ...
	RequiresAttention DeviceStatus = "RequiresAttention"
	// Unknown ...
	Unknown DeviceStatus = "Unknown"
)

type DeviceType

type DeviceType string

DeviceType enumerates the values for device type.

const (
	// DeviceTypeInvalid ...
	DeviceTypeInvalid DeviceType = "Invalid"
	// DeviceTypeSeries8000PhysicalAppliance ...
	DeviceTypeSeries8000PhysicalAppliance DeviceType = "Series8000PhysicalAppliance"
	// DeviceTypeSeries8000VirtualAppliance ...
	DeviceTypeSeries8000VirtualAppliance DeviceType = "Series8000VirtualAppliance"
)

type DevicesClient

type DevicesClient struct {
	BaseClient
}

DevicesClient is the client for the Devices methods of the Storsimple 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, parameters ConfigureDeviceRequest, resourceGroupName string, managerName string) (result DevicesConfigureFuture, err error)

Configure complete minimal setup before using the device.

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(ctx context.Context, parameters ConfigureDeviceRequest, resourceGroupName string, managerName string) (*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) (future DevicesConfigureFuture, err 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result DevicesDeactivateFuture, err error)

Deactivate deactivates the device.

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

func (DevicesClient) DeactivatePreparer

func (client DevicesClient) DeactivatePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*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) (future DevicesDeactivateFuture, err 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result DevicesDeleteFuture, err error)

Delete deletes the device.

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

func (DevicesClient) DeletePreparer

func (client DevicesClient) DeletePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*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) (future DevicesDeleteFuture, err 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(ctx context.Context, sourceDeviceName string, parameters FailoverRequest, resourceGroupName string, managerName string) (result DevicesFailoverFuture, err error)

Failover failovers a set of volume containers from a specified source device to a target device.

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(ctx context.Context, sourceDeviceName string, parameters FailoverRequest, resourceGroupName string, managerName string) (*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) (future DevicesFailoverFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result DevicesInstallUpdatesFuture, err error)

InstallUpdates downloads and installs the updates on the device.

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

func (DevicesClient) InstallUpdatesPreparer

func (client DevicesClient) InstallUpdatesPreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*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) (future DevicesInstallUpdatesFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result DevicesScanForUpdatesFuture, err error)

ScanForUpdates scans for updates on the device.

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

func (DevicesClient) ScanForUpdatesPreparer

func (client DevicesClient) ScanForUpdatesPreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*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) (future DevicesScanForUpdatesFuture, err 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(ctx context.Context, 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(ctx context.Context, 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 DevicesConfigureFuture

type DevicesConfigureFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DevicesConfigureFuture) Result

func (future DevicesConfigureFuture) Result(client DevicesClient) (ar autorest.Response, err error)

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

type DevicesDeactivateFuture

type DevicesDeactivateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DevicesDeactivateFuture) Result

func (future DevicesDeactivateFuture) Result(client DevicesClient) (ar autorest.Response, err error)

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

type DevicesDeleteFuture

type DevicesDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DevicesDeleteFuture) Result

func (future DevicesDeleteFuture) Result(client DevicesClient) (ar autorest.Response, err error)

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

type DevicesFailoverFuture

type DevicesFailoverFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DevicesFailoverFuture) Result

func (future DevicesFailoverFuture) Result(client DevicesClient) (ar autorest.Response, err error)

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

type DevicesInstallUpdatesFuture

type DevicesInstallUpdatesFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DevicesInstallUpdatesFuture) Result

func (future DevicesInstallUpdatesFuture) Result(client DevicesClient) (ar autorest.Response, err error)

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

type DevicesScanForUpdatesFuture

type DevicesScanForUpdatesFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (DevicesScanForUpdatesFuture) Result

func (future DevicesScanForUpdatesFuture) Result(client DevicesClient) (ar autorest.Response, err error)

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

type DimensionFilter

type DimensionFilter struct {
	// Name - Specifies the dimension name. E.g., NetworkInterface. Valid values are the ones specified in the field "dimensions" in the ListMetricDefinitions call. Only 'Equality' operator is supported for this property.
	Name *string `json:"name,omitempty"`
	// Values - Specifies the dimension value. E.g., Data0. Valid values are the ones returned in the field "dimensions" in the ListMetricDefinitions call. Only 'Equality' operator is supported for this property.
	Values *string `json:"values,omitempty"`
}

DimensionFilter the dimension filter.

type EncryptionAlgorithm

type EncryptionAlgorithm string

EncryptionAlgorithm enumerates the values for encryption algorithm.

const (
	// EncryptionAlgorithmAES256 ...
	EncryptionAlgorithmAES256 EncryptionAlgorithm = "AES256"
	// EncryptionAlgorithmNone ...
	EncryptionAlgorithmNone EncryptionAlgorithm = "None"
	// EncryptionAlgorithmRSAESPKCS1V15 ...
	EncryptionAlgorithmRSAESPKCS1V15 EncryptionAlgorithm = "RSAES_PKCS1_v_1_5"
)

type EncryptionSettings

type EncryptionSettings struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// EncryptionSettingsProperties - The properties of the encryption settings.
	*EncryptionSettingsProperties `json:"properties,omitempty"`
}

EncryptionSettings the encryption settings.

func (*EncryptionSettings) UnmarshalJSON

func (es *EncryptionSettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EncryptionSettings struct.

type EncryptionSettingsProperties

type EncryptionSettingsProperties struct {
	// EncryptionStatus - The encryption status to indicates if encryption is enabled or not. Possible values include: 'EncryptionStatusEnabled', 'EncryptionStatusDisabled'
	EncryptionStatus EncryptionStatus `json:"encryptionStatus,omitempty"`
	// KeyRolloverStatus - The key rollover status to indicates if key rollover is required or not. If secret's encryption has been upgraded, then it requires key rollover. Possible values include: 'Required', 'NotRequired'
	KeyRolloverStatus KeyRolloverStatus `json:"keyRolloverStatus,omitempty"`
}

EncryptionSettingsProperties the properties of encryption settings.

type EncryptionStatus

type EncryptionStatus string

EncryptionStatus enumerates the values for encryption status.

const (
	// EncryptionStatusDisabled ...
	EncryptionStatusDisabled EncryptionStatus = "Disabled"
	// EncryptionStatusEnabled ...
	EncryptionStatusEnabled EncryptionStatus = "Enabled"
)

type FailoverRequest

type FailoverRequest struct {
	// TargetDeviceID - The ARM path ID of the device which will act as the failover target.
	TargetDeviceID *string `json:"targetDeviceId,omitempty"`
	// VolumeContainers - The list of path IDs of the volume containers which needs to be failed-over to the target device.
	VolumeContainers *[]string `json:"volumeContainers,omitempty"`
}

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

type FailoverSet

type FailoverSet struct {
	// VolumeContainers - The list of meta data of volume containers, which are part of the failover set.
	VolumeContainers *[]VolumeContainerFailoverMetadata `json:"volumeContainers,omitempty"`
	// EligibilityResult - The eligibility result of the failover set, for failover.
	EligibilityResult *FailoverSetEligibilityResult `json:"eligibilityResult,omitempty"`
}

FailoverSet the failover set on a device.

type FailoverSetEligibilityResult

type FailoverSetEligibilityResult struct {
	// IsEligibleForFailover - Represents if this failover set is eligible for failover or not.
	IsEligibleForFailover *bool `json:"isEligibleForFailover,omitempty"`
	// ErrorMessage - The error message, if the failover set is not eligible for failover.
	ErrorMessage *string `json:"errorMessage,omitempty"`
}

FailoverSetEligibilityResult the eligibility result of failover set, for failover.

type FailoverSetsList

type FailoverSetsList struct {
	autorest.Response `json:"-"`
	// Value - The list of failover sets.
	Value *[]FailoverSet `json:"value,omitempty"`
}

FailoverSetsList the list of failover sets.

type FailoverTarget

type FailoverTarget struct {
	// DeviceID - The path ID of the device.
	DeviceID *string `json:"deviceId,omitempty"`
	// DeviceStatus - The status of the device. Possible values include: 'Unknown', 'Online', 'Offline', 'Deactivated', 'RequiresAttention', 'MaintenanceMode', 'Creating', 'Provisioning', 'Deactivating', 'Deleted', 'ReadyToSetup'
	DeviceStatus DeviceStatus `json:"deviceStatus,omitempty"`
	// ModelDescription - The model number of the device.
	ModelDescription *string `json:"modelDescription,omitempty"`
	// DeviceSoftwareVersion - The software version of the device.
	DeviceSoftwareVersion *string `json:"deviceSoftwareVersion,omitempty"`
	// DataContainersCount - The count of datacontainers on the device.
	DataContainersCount *int32 `json:"dataContainersCount,omitempty"`
	// VolumesCount - The count of volumes on the device.
	VolumesCount *int32 `json:"volumesCount,omitempty"`
	// AvailableLocalStorageInBytes - The amount of free local storage available on the device in bytes.
	AvailableLocalStorageInBytes *int64 `json:"availableLocalStorageInBytes,omitempty"`
	// AvailableTieredStorageInBytes - The amount of free tiered storage available for the device in bytes.
	AvailableTieredStorageInBytes *int64 `json:"availableTieredStorageInBytes,omitempty"`
	// DeviceLocation - The geo location (applicable only for cloud appliances) of the device.
	DeviceLocation *string `json:"deviceLocation,omitempty"`
	// FriendlyDeviceSoftwareVersion - The friendly name for the current version of software on the device.
	FriendlyDeviceSoftwareVersion *string `json:"friendlyDeviceSoftwareVersion,omitempty"`
	// EligibilityResult - The eligibility result of the device, as a failover target device.
	EligibilityResult *TargetEligibilityResult `json:"eligibilityResult,omitempty"`
}

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

type FailoverTargetsList

type FailoverTargetsList struct {
	autorest.Response `json:"-"`
	// Value - The list of all the failover targets.
	Value *[]FailoverTarget `json:"value,omitempty"`
}

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

type Feature

type Feature struct {
	// Name - The name of the feature.
	Name *string `json:"name,omitempty"`
	// Status - The feature support status. Possible values include: 'NotAvailable', 'UnsupportedDeviceVersion', 'Supported'
	Status FeatureSupportStatus `json:"status,omitempty"`
}

Feature the feature.

type FeatureFilter

type FeatureFilter struct {
	// DeviceID - Specifies the device ID for which the features are required. Only 'Equality' operator is supported for this property.
	DeviceID *string `json:"deviceId,omitempty"`
}

FeatureFilter the OData filter to be used for features.

type FeatureList

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

FeatureList the collections of features.

type FeatureSupportStatus

type FeatureSupportStatus string

FeatureSupportStatus enumerates the values for feature support status.

const (
	// NotAvailable ...
	NotAvailable FeatureSupportStatus = "NotAvailable"
	// Supported ...
	Supported FeatureSupportStatus = "Supported"
	// UnsupportedDeviceVersion ...
	UnsupportedDeviceVersion FeatureSupportStatus = "UnsupportedDeviceVersion"
)

type HardwareComponent

type HardwareComponent struct {
	// ComponentID - The component ID.
	ComponentID *string `json:"componentId,omitempty"`
	// DisplayName - The display name of the hardware component.
	DisplayName *string `json:"displayName,omitempty"`
	// Status - The status of the hardware component. Possible values include: 'HardwareComponentStatusUnknown', 'HardwareComponentStatusNotPresent', 'HardwareComponentStatusPoweredOff', 'HardwareComponentStatusOk', 'HardwareComponentStatusRecovering', 'HardwareComponentStatusWarning', 'HardwareComponentStatusFailure'
	Status HardwareComponentStatus `json:"status,omitempty"`
	// StatusDisplayName - The display name of the status of hardware component.
	StatusDisplayName *string `json:"statusDisplayName,omitempty"`
}

HardwareComponent the hardware component.

type HardwareComponentGroup

type HardwareComponentGroup struct {
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// HardwareComponentGroupProperties - The properties of the hardware component group.
	*HardwareComponentGroupProperties `json:"properties,omitempty"`
}

HardwareComponentGroup the hardware component group.

func (*HardwareComponentGroup) UnmarshalJSON

func (hcg *HardwareComponentGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HardwareComponentGroup struct.

type HardwareComponentGroupList

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

HardwareComponentGroupList the collection of hardware component groups.

type HardwareComponentGroupProperties

type HardwareComponentGroupProperties struct {
	// DisplayName - The display name the hardware component group.
	DisplayName *string `json:"displayName,omitempty"`
	// LastUpdatedTime - The last updated time.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
	// Components - The list of hardware components.
	Components *[]HardwareComponent `json:"components,omitempty"`
}

HardwareComponentGroupProperties the properties of hardware component group.

type HardwareComponentGroupsChangeControllerPowerStateFuture

type HardwareComponentGroupsChangeControllerPowerStateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (HardwareComponentGroupsChangeControllerPowerStateFuture) Result

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

type HardwareComponentGroupsClient

type HardwareComponentGroupsClient struct {
	BaseClient
}

HardwareComponentGroupsClient is the client for the HardwareComponentGroups methods of the Storsimple 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(ctx context.Context, deviceName string, hardwareComponentGroupName string, parameters ControllerPowerStateChangeRequest, resourceGroupName string, managerName string) (result HardwareComponentGroupsChangeControllerPowerStateFuture, err error)

ChangeControllerPowerState changes the power state of the controller.

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(ctx context.Context, deviceName string, hardwareComponentGroupName string, parameters ControllerPowerStateChangeRequest, resourceGroupName string, managerName string) (*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) (future HardwareComponentGroupsChangeControllerPowerStateFuture, err 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(ctx context.Context, 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(ctx context.Context, 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 ...
	HardwareComponentStatusFailure HardwareComponentStatus = "Failure"
	// HardwareComponentStatusNotPresent ...
	HardwareComponentStatusNotPresent HardwareComponentStatus = "NotPresent"
	// HardwareComponentStatusOk ...
	HardwareComponentStatusOk HardwareComponentStatus = "Ok"
	// HardwareComponentStatusPoweredOff ...
	HardwareComponentStatusPoweredOff HardwareComponentStatus = "PoweredOff"
	// HardwareComponentStatusRecovering ...
	HardwareComponentStatusRecovering HardwareComponentStatus = "Recovering"
	// HardwareComponentStatusUnknown ...
	HardwareComponentStatusUnknown HardwareComponentStatus = "Unknown"
	// HardwareComponentStatusWarning ...
	HardwareComponentStatusWarning HardwareComponentStatus = "Warning"
)

type ISCSIAndCloudStatus

type ISCSIAndCloudStatus string

ISCSIAndCloudStatus enumerates the values for iscsi and cloud status.

const (
	// ISCSIAndCloudStatusCloudEnabled ...
	ISCSIAndCloudStatusCloudEnabled ISCSIAndCloudStatus = "CloudEnabled"
	// ISCSIAndCloudStatusDisabled ...
	ISCSIAndCloudStatusDisabled ISCSIAndCloudStatus = "Disabled"
	// ISCSIAndCloudStatusIscsiAndCloudEnabled ...
	ISCSIAndCloudStatusIscsiAndCloudEnabled ISCSIAndCloudStatus = "IscsiAndCloudEnabled"
	// ISCSIAndCloudStatusIscsiEnabled ...
	ISCSIAndCloudStatusIscsiEnabled ISCSIAndCloudStatus = "IscsiEnabled"
)

type InEligibilityCategory

type InEligibilityCategory string

InEligibilityCategory enumerates the values for in eligibility category.

const (
	// DeviceNotOnline ...
	DeviceNotOnline InEligibilityCategory = "DeviceNotOnline"
	// NotSupportedAppliance ...
	NotSupportedAppliance InEligibilityCategory = "NotSupportedAppliance"
	// RolloverPending ...
	RolloverPending InEligibilityCategory = "RolloverPending"
)

type Job

type Job struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// Status - The current status of the job. Possible values include: 'Running', 'Succeeded', 'Failed', 'Canceled'
	Status JobStatus `json:"status,omitempty"`
	// StartTime - The UTC time at which the job was started.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The UTC time at which the job completed.
	EndTime *date.Time `json:"endTime,omitempty"`
	// PercentComplete - The percentage of the job that is already complete.
	PercentComplete *int32 `json:"percentComplete,omitempty"`
	// Error - The error details, if any, for the job.
	Error *JobErrorDetails `json:"error,omitempty"`
	// JobProperties - The properties of the job.
	*JobProperties `json:"properties,omitempty"`
}

Job the job.

func (*Job) UnmarshalJSON

func (j *Job) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Job struct.

type JobErrorDetails

type JobErrorDetails struct {
	// ErrorDetails - The error details.
	ErrorDetails *[]JobErrorItem `json:"errorDetails,omitempty"`
	// Code - The error code intended for programmatic access.
	Code *string `json:"code,omitempty"`
	// Message - The error message intended to describe the error in detail.
	Message *string `json:"message,omitempty"`
}

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

type JobErrorItem

type JobErrorItem struct {
	// Recommendations - The recommended actions.
	Recommendations *[]string `json:"recommendations,omitempty"`
	// Code - The error code intended for programmatic access.
	Code *string `json:"code,omitempty"`
	// Message - The error message intended to describe the error in detail.
	Message *string `json:"message,omitempty"`
}

JobErrorItem the job error items.

type JobFilter

type JobFilter struct {
	// Status - Specifies the status of the jobs to be filtered. For e.g., "Running", "Succeeded", "Failed" or "Canceled". Only 'Equality' operator is supported for this property.
	Status *string `json:"status,omitempty"`
	// JobType - Specifies the type of the jobs to be filtered. For e.g., "ScheduledBackup", "ManualBackup", "RestoreBackup", "CloneVolume", "FailoverVolumeContainers", "CreateLocallyPinnedVolume", "ModifyVolume", "InstallUpdates", "SupportPackageLogs", or "CreateCloudAppliance". Only 'Equality' operator can be used for this property.
	JobType *string `json:"jobType,omitempty"`
	// StartTime - Specifies the start time of the jobs to be filtered.  Only 'Greater Than or Equal To' and 'Lesser Than or Equal To' operators are supported for this property.
	StartTime *date.Time `json:"startTime,omitempty"`
}

JobFilter the OData filter to be used for jobs.

type JobList

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

JobList the collection of jobs.

func (JobList) IsEmpty

func (jl JobList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobListIterator

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

JobListIterator provides access to a complete listing of Job values.

func (*JobListIterator) Next

func (iter *JobListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (JobListIterator) NotDone

func (iter JobListIterator) NotDone() bool

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

func (JobListIterator) Response

func (iter JobListIterator) Response() JobList

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

func (JobListIterator) Value

func (iter JobListIterator) Value() Job

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

type JobListPage

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

JobListPage contains a page of Job values.

func (*JobListPage) Next

func (page *JobListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (JobListPage) NotDone

func (page JobListPage) NotDone() bool

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

func (JobListPage) Response

func (page JobListPage) Response() JobList

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

func (JobListPage) Values

func (page JobListPage) Values() []Job

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

type JobProperties

type JobProperties struct {
	// JobType - The type of the job. Possible values include: 'ScheduledBackup', 'ManualBackup', 'RestoreBackup', 'CloneVolume', 'FailoverVolumeContainers', 'CreateLocallyPinnedVolume', 'ModifyVolume', 'InstallUpdates', 'SupportPackageLogs', 'CreateCloudAppliance'
	JobType JobType `json:"jobType,omitempty"`
	// DataStats - The data statistics properties of the job.
	DataStats *DataStatistics `json:"dataStats,omitempty"`
	// EntityLabel - The entity identifier for which the job ran.
	EntityLabel *string `json:"entityLabel,omitempty"`
	// EntityType - The entity type for which the job ran.
	EntityType *string `json:"entityType,omitempty"`
	// JobStages - The job stages.
	JobStages *[]JobStage `json:"jobStages,omitempty"`
	// DeviceID - The device ID in which the job ran.
	DeviceID *string `json:"deviceId,omitempty"`
	// IsCancellable - Represents whether the job is cancellable or not.
	IsCancellable *bool `json:"isCancellable,omitempty"`
	// BackupType - The backup type (CloudSnapshot | LocalSnapshot). Applicable only for backup jobs. Possible values include: 'LocalSnapshot', 'CloudSnapshot'
	BackupType BackupType `json:"backupType,omitempty"`
	// SourceDeviceID - The source device ID of the failover job.
	SourceDeviceID *string `json:"sourceDeviceId,omitempty"`
	// BackupPointInTime - The time of the backup used for the failover.
	BackupPointInTime *date.Time `json:"backupPointInTime,omitempty"`
}

JobProperties the properties of the job.

type JobStage

type JobStage struct {
	// Message - The message of the job stage.
	Message *string `json:"message,omitempty"`
	// StageStatus - The stage status. Possible values include: 'Running', 'Succeeded', 'Failed', 'Canceled'
	StageStatus JobStatus `json:"stageStatus,omitempty"`
	// Detail - The details of the stage.
	Detail *string `json:"detail,omitempty"`
	// ErrorCode - The error code of the stage if any.
	ErrorCode *string `json:"errorCode,omitempty"`
}

JobStage the details about the specific stage of a job.

type JobStatus

type JobStatus string

JobStatus enumerates the values for job status.

const (
	// Canceled ...
	Canceled JobStatus = "Canceled"
	// Failed ...
	Failed JobStatus = "Failed"
	// Running ...
	Running JobStatus = "Running"
	// Succeeded ...
	Succeeded JobStatus = "Succeeded"
)

type JobType

type JobType string

JobType enumerates the values for job type.

const (
	// CloneVolume ...
	CloneVolume JobType = "CloneVolume"
	// CreateCloudAppliance ...
	CreateCloudAppliance JobType = "CreateCloudAppliance"
	// CreateLocallyPinnedVolume ...
	CreateLocallyPinnedVolume JobType = "CreateLocallyPinnedVolume"
	// FailoverVolumeContainers ...
	FailoverVolumeContainers JobType = "FailoverVolumeContainers"
	// InstallUpdates ...
	InstallUpdates JobType = "InstallUpdates"
	// ManualBackup ...
	ManualBackup JobType = "ManualBackup"
	// ModifyVolume ...
	ModifyVolume JobType = "ModifyVolume"
	// RestoreBackup ...
	RestoreBackup JobType = "RestoreBackup"
	// ScheduledBackup ...
	ScheduledBackup JobType = "ScheduledBackup"
	// SupportPackageLogs ...
	SupportPackageLogs JobType = "SupportPackageLogs"
)

type JobsCancelFuture

type JobsCancelFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (JobsCancelFuture) Result

func (future JobsCancelFuture) Result(client JobsClient) (ar autorest.Response, err error)

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

type JobsClient

type JobsClient struct {
	BaseClient
}

JobsClient is the client for the Jobs methods of the Storsimple 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(ctx context.Context, deviceName string, jobName string, resourceGroupName string, managerName string) (result JobsCancelFuture, err error)

Cancel cancels a job on the device.

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(ctx context.Context, deviceName string, jobName string, resourceGroupName string, managerName string) (*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) (future JobsCancelFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string, filter string) (result JobListPage, 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(ctx context.Context, deviceName string, resourceGroupName string, managerName string, filter string) (result JobListIterator, err error)

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

func (JobsClient) ListByDevicePreparer

func (client JobsClient) ListByDevicePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, managerName string, filter string) (result JobListPage, 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(ctx context.Context, resourceGroupName string, managerName string, filter string) (result JobListIterator, err error)

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

func (JobsClient) ListByManagerPreparer

func (client JobsClient) ListByManagerPreparer(ctx context.Context, 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 - The activation key for the device.
	ActivationKey *string `json:"activationKey,omitempty"`
}

Key the key.

type KeyRolloverStatus

type KeyRolloverStatus string

KeyRolloverStatus enumerates the values for key rollover status.

const (
	// NotRequired ...
	NotRequired KeyRolloverStatus = "NotRequired"
	// Required ...
	Required KeyRolloverStatus = "Required"
)

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// Series8000 ...
	Series8000 Kind = "Series8000"
)

type ListFailoverTargetsRequest

type ListFailoverTargetsRequest struct {
	// VolumeContainers - The list of path IDs of the volume containers that needs to be failed-over, for which we want to fetch the eligible targets.
	VolumeContainers *[]string `json:"volumeContainers,omitempty"`
}

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

type Manager

type Manager struct {
	autorest.Response `json:"-"`
	// ID - The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
	// Location - The geo location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - The tags attached to the resource.
	Tags *map[string]*string `json:"tags,omitempty"`
	// ManagerProperties - The properties of the StorSimple Manager.
	*ManagerProperties `json:"properties,omitempty"`
	// Etag - The etag of the manager.
	Etag *string `json:"etag,omitempty"`
}

Manager the StorSimple Manager.

func (*Manager) UnmarshalJSON

func (mVar *Manager) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Manager struct.

type ManagerExtendedInfo

type ManagerExtendedInfo struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// ManagerExtendedInfoProperties - The extended info properties.
	*ManagerExtendedInfoProperties `json:"properties,omitempty"`
	// Etag - The etag of the resource.
	Etag *string `json:"etag,omitempty"`
}

ManagerExtendedInfo the extended info of the manager.

func (*ManagerExtendedInfo) UnmarshalJSON

func (mei *ManagerExtendedInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ManagerExtendedInfo struct.

type ManagerExtendedInfoProperties

type ManagerExtendedInfoProperties struct {
	// Version - The version of the extended info being persisted.
	Version *string `json:"version,omitempty"`
	// IntegrityKey - Represents the CIK of the resource.
	IntegrityKey *string `json:"integrityKey,omitempty"`
	// EncryptionKey - Represents the CEK of the resource.
	EncryptionKey *string `json:"encryptionKey,omitempty"`
	// EncryptionKeyThumbprint - Represents the Cert thumbprint that was used to encrypt the CEK.
	EncryptionKeyThumbprint *string `json:"encryptionKeyThumbprint,omitempty"`
	// PortalCertificateThumbprint - Represents the portal thumbprint which can be used optionally to encrypt the entire data before storing it.
	PortalCertificateThumbprint *string `json:"portalCertificateThumbprint,omitempty"`
	// Algorithm - Represents the encryption algorithm used to encrypt the keys. None - if Key is saved in plain text format. Algorithm name - if key is encrypted
	Algorithm *string `json:"algorithm,omitempty"`
}

ManagerExtendedInfoProperties the properties of the manager extended info.

type ManagerIntrinsicSettings

type ManagerIntrinsicSettings struct {
	// Type - The type of StorSimple Manager. Possible values include: 'GardaV1', 'HelsinkiV1'
	Type ManagerType `json:"type,omitempty"`
}

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

type ManagerList

type ManagerList struct {
	autorest.Response `json:"-"`
	// Value - The list of storsimple managers.
	Value *[]Manager `json:"value,omitempty"`
}

ManagerList the list of StorSimple Managers.

type ManagerPatch

type ManagerPatch struct {
	// Tags - The tags attached to the Manager.
	Tags *map[string]*string `json:"tags,omitempty"`
}

ManagerPatch the StorSimple Manager patch.

type ManagerProperties

type ManagerProperties struct {
	// CisIntrinsicSettings - Represents the type of StorSimple Manager.
	CisIntrinsicSettings *ManagerIntrinsicSettings `json:"cisIntrinsicSettings,omitempty"`
	// Sku - Specifies the Sku.
	Sku *ManagerSku `json:"sku,omitempty"`
	// ProvisioningState - Specifies the state of the resource as it is getting provisioned. Value of "Succeeded" means the Manager was successfully created.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ManagerProperties the properties of the StorSimple Manager.

type ManagerSku

type ManagerSku struct {
	// Name - Refers to the sku name which should be "Standard"
	Name *string `json:"name,omitempty"`
}

ManagerSku the Sku.

type ManagerType

type ManagerType string

ManagerType enumerates the values for manager type.

const (
	// GardaV1 ...
	GardaV1 ManagerType = "GardaV1"
	// HelsinkiV1 ...
	HelsinkiV1 ManagerType = "HelsinkiV1"
)

type ManagersClient

type ManagersClient struct {
	BaseClient
}

ManagersClient is the client for the Managers methods of the Storsimple 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ManagersClient) GetPublicEncryptionKey

func (client ManagersClient) GetPublicEncryptionKey(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context) (result ManagerList, err error)

List retrieves all the managers in a subscription.

func (ManagersClient) ListByResourceGroup

func (client ManagersClient) ListByResourceGroup(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context) (*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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 ...
	MetricAggregationTypeAverage MetricAggregationType = "Average"
	// MetricAggregationTypeLast ...
	MetricAggregationTypeLast MetricAggregationType = "Last"
	// MetricAggregationTypeMaximum ...
	MetricAggregationTypeMaximum MetricAggregationType = "Maximum"
	// MetricAggregationTypeMinimum ...
	MetricAggregationTypeMinimum MetricAggregationType = "Minimum"
	// MetricAggregationTypeNone ...
	MetricAggregationTypeNone MetricAggregationType = "None"
	// MetricAggregationTypeTotal ...
	MetricAggregationTypeTotal MetricAggregationType = "Total"
)

type MetricAvailablity

type MetricAvailablity struct {
	// TimeGrain - The aggregation interval for the metric.
	TimeGrain *string `json:"timeGrain,omitempty"`
	// Retention - The retention period for the metric at the specified timegrain.
	Retention *string `json:"retention,omitempty"`
}

MetricAvailablity the metric availability.

type MetricData

type MetricData struct {
	// TimeStamp - The time stamp of the metric data.
	TimeStamp *date.Time `json:"timeStamp,omitempty"`
	// Sum - The sum of all samples at the time stamp.
	Sum *float64 `json:"sum,omitempty"`
	// Count - The count of all samples at the time stamp.
	Count *int32 `json:"count,omitempty"`
	// Average - The average of all samples at the time stamp.
	Average *float64 `json:"average,omitempty"`
	// Minimum - The minimum of all samples at the time stamp.
	Minimum *float64 `json:"minimum,omitempty"`
	// Maximum - The maximum of all samples at the time stamp.
	Maximum *float64 `json:"maximum,omitempty"`
}

MetricData the metric data.

type MetricDefinition

type MetricDefinition struct {
	// Name - The metric name.
	Name *MetricName `json:"name,omitempty"`
	// Unit - The metric unit. Possible values include: 'Bytes', 'BytesPerSecond', 'Count', 'CountPerSecond', 'Percent', 'Seconds'
	Unit MetricUnit `json:"unit,omitempty"`
	// PrimaryAggregationType - The metric aggregation type. Possible values include: 'MetricAggregationTypeAverage', 'MetricAggregationTypeLast', 'MetricAggregationTypeMaximum', 'MetricAggregationTypeMinimum', 'MetricAggregationTypeNone', 'MetricAggregationTypeTotal'
	PrimaryAggregationType MetricAggregationType `json:"primaryAggregationType,omitempty"`
	// ResourceID - The metric source ID.
	ResourceID *string `json:"resourceId,omitempty"`
	// MetricAvailabilities - The available metric granularities.
	MetricAvailabilities *[]MetricAvailablity `json:"metricAvailabilities,omitempty"`
	// Dimensions - The available metric dimensions.
	Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
	// Category - The category of the metric.
	Category *string `json:"category,omitempty"`
	// Type - The metric definition type.
	Type *string `json:"type,omitempty"`
}

MetricDefinition the monitoring metric definition.

type MetricDefinitionList

type MetricDefinitionList struct {
	autorest.Response `json:"-"`
	// Value - The list of metric definitions.
	Value *[]MetricDefinition `json:"value,omitempty"`
}

MetricDefinitionList the list of metric definitions.

type MetricDimension

type MetricDimension struct {
	// Name - The metric dimension name.
	Name *string `json:"name,omitempty"`
	// Value - The metric dimension values.
	Value *string `json:"value,omitempty"`
}

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

type MetricFilter

type MetricFilter struct {
	// Name - Specifies the metric name filter specifying the name of the metric to be filtered on. Only 'Equality' operator is supported for this property.
	Name *MetricNameFilter `json:"name,omitempty"`
	// StartTime - Specifies the start time of the time range to be queried. Only 'Greater Than Or Equal To' operator is supported for this property.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - Specifies the end time of the time range to be queried. Only 'Less Than Or Equal To' operator is supported for this property.
	EndTime *date.Time `json:"endTime,omitempty"`
	// TimeGrain - Specifies the time granularity of the metrics to be returned. E.g., "P1D". Valid values are the ones returned as the field "timeGrain" in the ListMetricDefinitions call. Only 'Equality' operator is supported for this property.
	TimeGrain *string `json:"timeGrain,omitempty"`
	// Category - Specifies the category of the metrics to be filtered. E.g., "CapacityUtilization". Valid values are the ones returned as the field "category" in the ListMetricDefinitions call. Only 'Equality' operator is supported for this property.
	Category *string `json:"category,omitempty"`
	// Dimensions - Specifies the source(the dimension) of the metrics to be filtered. Only 'Equality' operator is supported for this property.
	Dimensions *DimensionFilter `json:"dimensions,omitempty"`
}

MetricFilter the OData filters to be used for metrics.

type MetricList

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

MetricList the metric list.

type MetricName

type MetricName struct {
	// Value - The metric name.
	Value *string `json:"value,omitempty"`
	// LocalizedValue - The localized metric name.
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

MetricName the metric name.

type MetricNameFilter

type MetricNameFilter struct {
	// Value - Specifies the metric name to be filtered on. E.g., CloudStorageUsed. Valid values are the ones returned in the field "name" in the ListMetricDefinitions call. Only 'Equality' operator is supported for this property.
	Value *string `json:"value,omitempty"`
}

MetricNameFilter 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 ...
	Bytes MetricUnit = "Bytes"
	// BytesPerSecond ...
	BytesPerSecond MetricUnit = "BytesPerSecond"
	// Count ...
	Count MetricUnit = "Count"
	// CountPerSecond ...
	CountPerSecond MetricUnit = "CountPerSecond"
	// Percent ...
	Percent MetricUnit = "Percent"
	// Seconds ...
	Seconds MetricUnit = "Seconds"
)

type Metrics

type Metrics struct {
	// ResourceID - The ID of metric source.
	ResourceID *string `json:"resourceId,omitempty"`
	// StartTime - The start time of the metric data.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The end time of the metric data.
	EndTime *date.Time `json:"endTime,omitempty"`
	// TimeGrain - The time granularity of the metric data.
	TimeGrain *string `json:"timeGrain,omitempty"`
	// PrimaryAggregation - The metric aggregation type. Possible values include: 'MetricAggregationTypeAverage', 'MetricAggregationTypeLast', 'MetricAggregationTypeMaximum', 'MetricAggregationTypeMinimum', 'MetricAggregationTypeNone', 'MetricAggregationTypeTotal'
	PrimaryAggregation MetricAggregationType `json:"primaryAggregation,omitempty"`
	// Name - The name of the metric.
	Name *MetricName `json:"name,omitempty"`
	// Dimensions - The metric dimensions.
	Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
	// Unit - The unit of the metric data. Possible values include: 'Bytes', 'BytesPerSecond', 'Count', 'CountPerSecond', 'Percent', 'Seconds'
	Unit MetricUnit `json:"unit,omitempty"`
	// Type - The type of the metric data.
	Type *string `json:"type,omitempty"`
	// Values - The list of the metric data.
	Values *[]MetricData `json:"values,omitempty"`
}

Metrics the monitoring metric.

type MonitoringStatus

type MonitoringStatus string

MonitoringStatus enumerates the values for monitoring status.

const (
	// MonitoringStatusDisabled ...
	MonitoringStatusDisabled MonitoringStatus = "Disabled"
	// MonitoringStatusEnabled ...
	MonitoringStatusEnabled MonitoringStatus = "Enabled"
)

type NetInterfaceID

type NetInterfaceID string

NetInterfaceID enumerates the values for net interface id.

const (
	// NetInterfaceIDData0 ...
	NetInterfaceIDData0 NetInterfaceID = "Data0"
	// NetInterfaceIDData1 ...
	NetInterfaceIDData1 NetInterfaceID = "Data1"
	// NetInterfaceIDData2 ...
	NetInterfaceIDData2 NetInterfaceID = "Data2"
	// NetInterfaceIDData3 ...
	NetInterfaceIDData3 NetInterfaceID = "Data3"
	// NetInterfaceIDData4 ...
	NetInterfaceIDData4 NetInterfaceID = "Data4"
	// NetInterfaceIDData5 ...
	NetInterfaceIDData5 NetInterfaceID = "Data5"
	// NetInterfaceIDInvalid ...
	NetInterfaceIDInvalid NetInterfaceID = "Invalid"
)

type NetInterfaceStatus

type NetInterfaceStatus string

NetInterfaceStatus enumerates the values for net interface status.

const (
	// NetInterfaceStatusDisabled ...
	NetInterfaceStatusDisabled NetInterfaceStatus = "Disabled"
	// NetInterfaceStatusEnabled ...
	NetInterfaceStatusEnabled NetInterfaceStatus = "Enabled"
)

type NetworkAdapterList

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

NetworkAdapterList the collection of network adapters on the device.

type NetworkAdapters

type NetworkAdapters struct {
	// InterfaceID - The ID of the network adapter. Possible values include: 'NetInterfaceIDInvalid', 'NetInterfaceIDData0', 'NetInterfaceIDData1', 'NetInterfaceIDData2', 'NetInterfaceIDData3', 'NetInterfaceIDData4', 'NetInterfaceIDData5'
	InterfaceID NetInterfaceID `json:"interfaceId,omitempty"`
	// NetInterfaceStatus - Value indicating status of network adapter. Possible values include: 'NetInterfaceStatusEnabled', 'NetInterfaceStatusDisabled'
	NetInterfaceStatus NetInterfaceStatus `json:"netInterfaceStatus,omitempty"`
	// IsDefault - Value indicating whether this instance is default.
	IsDefault *bool `json:"isDefault,omitempty"`
	// IscsiAndCloudStatus - Value indicating cloud and ISCSI status of network adapter. Possible values include: 'ISCSIAndCloudStatusDisabled', 'ISCSIAndCloudStatusIscsiEnabled', 'ISCSIAndCloudStatusCloudEnabled', 'ISCSIAndCloudStatusIscsiAndCloudEnabled'
	IscsiAndCloudStatus ISCSIAndCloudStatus `json:"iscsiAndCloudStatus,omitempty"`
	// Speed - The speed of the network adapter.
	Speed *int64 `json:"speed,omitempty"`
	// Mode - The mode of network adapter, either IPv4, IPv6 or both. Possible values include: 'NetworkModeInvalid', 'NetworkModeIPV4', 'NetworkModeIPV6', 'NetworkModeBOTH'
	Mode NetworkMode `json:"mode,omitempty"`
	// NicIpv4Settings - The IPv4 configuration of the network adapter.
	NicIpv4Settings *NicIPv4 `json:"nicIpv4Settings,omitempty"`
	// NicIpv6Settings - The IPv6 configuration of the network adapter.
	NicIpv6Settings *NicIPv6 `json:"nicIpv6Settings,omitempty"`
}

NetworkAdapters represents the network adapter on device.

type NetworkInterfaceData0Settings

type NetworkInterfaceData0Settings struct {
	// ControllerZeroIP - The controller 0's IPv4 address.
	ControllerZeroIP *string `json:"controllerZeroIp,omitempty"`
	// ControllerOneIP - The controller 1's IPv4 address.
	ControllerOneIP *string `json:"controllerOneIp,omitempty"`
}

NetworkInterfaceData0Settings the 'Data 0' network interface card settings.

type NetworkMode

type NetworkMode string

NetworkMode enumerates the values for network mode.

const (
	// NetworkModeBOTH ...
	NetworkModeBOTH NetworkMode = "BOTH"
	// NetworkModeInvalid ...
	NetworkModeInvalid NetworkMode = "Invalid"
	// NetworkModeIPV4 ...
	NetworkModeIPV4 NetworkMode = "IPV4"
	// NetworkModeIPV6 ...
	NetworkModeIPV6 NetworkMode = "IPV6"
)

type NetworkSettings

type NetworkSettings struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// NetworkSettingsProperties - The properties of network settings of a device.
	*NetworkSettingsProperties `json:"properties,omitempty"`
}

NetworkSettings represents the network settings of a device.

func (*NetworkSettings) UnmarshalJSON

func (ns *NetworkSettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for NetworkSettings struct.

type NetworkSettingsPatch

type NetworkSettingsPatch struct {
	// NetworkSettingsPatchProperties - The properties of the network settings patch.
	*NetworkSettingsPatchProperties `json:"properties,omitempty"`
}

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

func (*NetworkSettingsPatch) UnmarshalJSON

func (nsp *NetworkSettingsPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for NetworkSettingsPatch struct.

type NetworkSettingsPatchProperties

type NetworkSettingsPatchProperties struct {
	// DNSSettings - The DNS (Domain Name System) settings of device.
	DNSSettings *DNSSettings `json:"dnsSettings,omitempty"`
	// NetworkAdapters - The network adapter list of device.
	NetworkAdapters *NetworkAdapterList `json:"networkAdapters,omitempty"`
}

NetworkSettingsPatchProperties the properties of the network settings patch.

type NetworkSettingsProperties

type NetworkSettingsProperties struct {
	// DNSSettings - The DNS (Domain Name System) settings of device.
	DNSSettings *DNSSettings `json:"dnsSettings,omitempty"`
	// NetworkAdapters - The network adapter list of device.
	NetworkAdapters *NetworkAdapterList `json:"networkAdapters,omitempty"`
	// WebproxySettings - The webproxy settings of device.
	WebproxySettings *WebproxySettings `json:"webproxySettings,omitempty"`
}

NetworkSettingsProperties the properties of the network settings of device.

type NicIPv4

type NicIPv4 struct {
	// Ipv4Address - The IPv4 address of the network adapter.
	Ipv4Address *string `json:"ipv4Address,omitempty"`
	// Ipv4Netmask - The IPv4 netmask of the network adapter.
	Ipv4Netmask *string `json:"ipv4Netmask,omitempty"`
	// Ipv4Gateway - The IPv4 gateway of the network adapter.
	Ipv4Gateway *string `json:"ipv4Gateway,omitempty"`
	// Controller0Ipv4Address - The IPv4 address of Controller0.
	Controller0Ipv4Address *string `json:"controller0Ipv4Address,omitempty"`
	// Controller1Ipv4Address - The IPv4 address of Controller1.
	Controller1Ipv4Address *string `json:"controller1Ipv4Address,omitempty"`
}

NicIPv4 details related to the IPv4 address configuration.

type NicIPv6

type NicIPv6 struct {
	// Ipv6Address - The IPv6 address of the network adapter.
	Ipv6Address *string `json:"ipv6Address,omitempty"`
	// Ipv6Prefix - The IPv6 prefix of the network adapter.
	Ipv6Prefix *string `json:"ipv6Prefix,omitempty"`
	// Ipv6Gateway - The IPv6 gateway of the network adapter.
	Ipv6Gateway *string `json:"ipv6Gateway,omitempty"`
	// Controller0Ipv6Address - The IPv6 address of Controller0.
	Controller0Ipv6Address *string `json:"controller0Ipv6Address,omitempty"`
	// Controller1Ipv6Address - The IPv6 address of Controller1.
	Controller1Ipv6Address *string `json:"controller1Ipv6Address,omitempty"`
}

NicIPv6 details related to the IPv6 address configuration.

type OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// OperationStatusDeleting ...
	OperationStatusDeleting OperationStatus = "Deleting"
	// OperationStatusNone ...
	OperationStatusNone OperationStatus = "None"
	// OperationStatusRestoring ...
	OperationStatusRestoring OperationStatus = "Restoring"
	// OperationStatusUpdating ...
	OperationStatusUpdating OperationStatus = "Updating"
)

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the client for the Operations methods of the Storsimple 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

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

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result AvailableProviderOperationListIterator, err error)

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

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*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 ...
	NotOwned OwnerShipStatus = "NotOwned"
	// Owned ...
	Owned OwnerShipStatus = "Owned"
)

type PublicKey

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

PublicKey the public key.

type RecurrenceType

type RecurrenceType string

RecurrenceType enumerates the values for recurrence type.

const (
	// Daily ...
	Daily RecurrenceType = "Daily"
	// Hourly ...
	Hourly RecurrenceType = "Hourly"
	// Minutes ...
	Minutes RecurrenceType = "Minutes"
	// Weekly ...
	Weekly RecurrenceType = "Weekly"
)

type RemoteManagementModeConfiguration

type RemoteManagementModeConfiguration string

RemoteManagementModeConfiguration enumerates the values for remote management mode configuration.

const (
	// RemoteManagementModeConfigurationDisabled ...
	RemoteManagementModeConfigurationDisabled RemoteManagementModeConfiguration = "Disabled"
	// RemoteManagementModeConfigurationHTTPSAndHTTPEnabled ...
	RemoteManagementModeConfigurationHTTPSAndHTTPEnabled RemoteManagementModeConfiguration = "HttpsAndHttpEnabled"
	// RemoteManagementModeConfigurationHTTPSEnabled ...
	RemoteManagementModeConfigurationHTTPSEnabled RemoteManagementModeConfiguration = "HttpsEnabled"
	// RemoteManagementModeConfigurationUnknown ...
	RemoteManagementModeConfigurationUnknown RemoteManagementModeConfiguration = "Unknown"
)

type RemoteManagementSettings

type RemoteManagementSettings struct {
	// RemoteManagementMode - The remote management mode. Possible values include: 'RemoteManagementModeConfigurationUnknown', 'RemoteManagementModeConfigurationDisabled', 'RemoteManagementModeConfigurationHTTPSEnabled', 'RemoteManagementModeConfigurationHTTPSAndHTTPEnabled'
	RemoteManagementMode RemoteManagementModeConfiguration `json:"remoteManagementMode,omitempty"`
	// RemoteManagementCertificate - The remote management certificates.
	RemoteManagementCertificate *string `json:"remoteManagementCertificate,omitempty"`
}

RemoteManagementSettings the settings for remote management of a device.

type RemoteManagementSettingsPatch

type RemoteManagementSettingsPatch struct {
	// RemoteManagementMode - The remote management mode. Possible values include: 'RemoteManagementModeConfigurationUnknown', 'RemoteManagementModeConfigurationDisabled', 'RemoteManagementModeConfigurationHTTPSEnabled', 'RemoteManagementModeConfigurationHTTPSAndHTTPEnabled'
	RemoteManagementMode RemoteManagementModeConfiguration `json:"remoteManagementMode,omitempty"`
}

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

type Resource

type Resource struct {
	// ID - The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
	// Location - The geo location of the resource.
	Location *string `json:"location,omitempty"`
	// Tags - The tags attached to the resource.
	Tags *map[string]*string `json:"tags,omitempty"`
}

Resource the Azure Resource.

type ScheduleRecurrence

type ScheduleRecurrence struct {
	// RecurrenceType - The recurrence type. Possible values include: 'Minutes', 'Hourly', 'Daily', 'Weekly'
	RecurrenceType RecurrenceType `json:"recurrenceType,omitempty"`
	// RecurrenceValue - The recurrence value.
	RecurrenceValue *int32 `json:"recurrenceValue,omitempty"`
	// WeeklyDaysList - The week days list. Applicable only for schedules of recurrence type 'weekly'.
	WeeklyDaysList *[]DayOfWeek `json:"weeklyDaysList,omitempty"`
}

ScheduleRecurrence the schedule recurrence.

type ScheduleStatus

type ScheduleStatus string

ScheduleStatus enumerates the values for schedule status.

const (
	// ScheduleStatusDisabled ...
	ScheduleStatusDisabled ScheduleStatus = "Disabled"
	// ScheduleStatusEnabled ...
	ScheduleStatusEnabled ScheduleStatus = "Enabled"
)

type ScheduledBackupStatus

type ScheduledBackupStatus string

ScheduledBackupStatus enumerates the values for scheduled backup status.

const (
	// ScheduledBackupStatusDisabled ...
	ScheduledBackupStatusDisabled ScheduledBackupStatus = "Disabled"
	// ScheduledBackupStatusEnabled ...
	ScheduledBackupStatusEnabled ScheduledBackupStatus = "Enabled"
)

type SecondaryDNSSettings

type SecondaryDNSSettings struct {
	// SecondaryDNSServers - The list of secondary DNS Server IP addresses.
	SecondaryDNSServers *[]string `json:"secondaryDnsServers,omitempty"`
}

SecondaryDNSSettings the secondary DNS settings.

type SecuritySettings

type SecuritySettings struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// SecuritySettingsProperties - The properties of the security settings of a device.
	*SecuritySettingsProperties `json:"properties,omitempty"`
}

SecuritySettings the security settings of a device.

func (*SecuritySettings) UnmarshalJSON

func (ss *SecuritySettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecuritySettings struct.

type SecuritySettingsPatch

type SecuritySettingsPatch struct {
	// SecuritySettingsPatchProperties - The properties of the security settings patch.
	*SecuritySettingsPatchProperties `json:"properties,omitempty"`
}

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

func (*SecuritySettingsPatch) UnmarshalJSON

func (ssp *SecuritySettingsPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecuritySettingsPatch struct.

type SecuritySettingsPatchProperties

type SecuritySettingsPatchProperties struct {
	// RemoteManagementSettings - The remote management settings.
	RemoteManagementSettings *RemoteManagementSettingsPatch `json:"remoteManagementSettings,omitempty"`
	// DeviceAdminPassword - The device administrator password.
	DeviceAdminPassword *AsymmetricEncryptedSecret `json:"deviceAdminPassword,omitempty"`
	// SnapshotPassword - The snapshot manager password.
	SnapshotPassword *AsymmetricEncryptedSecret `json:"snapshotPassword,omitempty"`
	// ChapSettings - The device CHAP and reverse-CHAP settings.
	ChapSettings *ChapSettings `json:"chapSettings,omitempty"`
	// CloudApplianceSettings - The cloud appliance settings.
	CloudApplianceSettings *CloudApplianceSettings `json:"cloudApplianceSettings,omitempty"`
}

SecuritySettingsPatchProperties the properties of the security settings patch.

type SecuritySettingsProperties

type SecuritySettingsProperties struct {
	// RemoteManagementSettings - The settings for remote management of a device.
	RemoteManagementSettings *RemoteManagementSettings `json:"remoteManagementSettings,omitempty"`
	// ChapSettings - The Challenge-Handshake Authentication Protocol (CHAP) settings.
	ChapSettings *ChapSettings `json:"chapSettings,omitempty"`
}

SecuritySettingsProperties the properties of security settings of a device.

type SendTestAlertEmailRequest

type SendTestAlertEmailRequest struct {
	// EmailList - The list of email IDs to send the test alert email
	EmailList *[]string `json:"emailList,omitempty"`
}

SendTestAlertEmailRequest the request for sending test alert email

type SslStatus

type SslStatus string

SslStatus enumerates the values for ssl status.

const (
	// SslStatusDisabled ...
	SslStatusDisabled SslStatus = "Disabled"
	// SslStatusEnabled ...
	SslStatusEnabled SslStatus = "Enabled"
)

type StorageAccountCredential

type StorageAccountCredential struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// StorageAccountCredentialProperties - The storage account credential properties.
	*StorageAccountCredentialProperties `json:"properties,omitempty"`
}

StorageAccountCredential the storage account credential.

func (*StorageAccountCredential) UnmarshalJSON

func (sac *StorageAccountCredential) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StorageAccountCredential struct.

type StorageAccountCredentialList

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

StorageAccountCredentialList the collection of storage account credential entities.

type StorageAccountCredentialProperties

type StorageAccountCredentialProperties struct {
	// EndPoint - The storage endpoint
	EndPoint *string `json:"endPoint,omitempty"`
	// SslStatus - Signifies whether SSL needs to be enabled or not. Possible values include: 'SslStatusEnabled', 'SslStatusDisabled'
	SslStatus SslStatus `json:"sslStatus,omitempty"`
	// AccessKey - The details of the storage account password.
	AccessKey *AsymmetricEncryptedSecret `json:"accessKey,omitempty"`
	// VolumesCount - The count of volumes using this storage account credential.
	VolumesCount *int32 `json:"volumesCount,omitempty"`
}

StorageAccountCredentialProperties the storage account credential properties.

type StorageAccountCredentialsClient

type StorageAccountCredentialsClient struct {
	BaseClient
}

StorageAccountCredentialsClient is the client for the StorageAccountCredentials methods of the Storsimple 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(ctx context.Context, storageAccountCredentialName string, parameters StorageAccountCredential, resourceGroupName string, managerName string) (result StorageAccountCredentialsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the storage account credential.

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(ctx context.Context, storageAccountCredentialName string, parameters StorageAccountCredential, resourceGroupName string, managerName string) (*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

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(ctx context.Context, storageAccountCredentialName string, resourceGroupName string, managerName string) (result StorageAccountCredentialsDeleteFuture, err error)

Delete deletes the storage account credential.

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(ctx context.Context, storageAccountCredentialName string, resourceGroupName string, managerName string) (*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

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 StorageAccountCredentialsCreateOrUpdateFuture

type StorageAccountCredentialsCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (StorageAccountCredentialsCreateOrUpdateFuture) Result

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

type StorageAccountCredentialsDeleteFuture

type StorageAccountCredentialsDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (StorageAccountCredentialsDeleteFuture) Result

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

type SymmetricEncryptedSecret

type SymmetricEncryptedSecret struct {
	autorest.Response `json:"-"`
	// Value - The value of the secret itself. If the secret is in plaintext or null then EncryptionAlgorithm will be none.
	Value *string `json:"value,omitempty"`
	// ValueCertificateThumbprint - The thumbprint of the cert that was used to encrypt "Value".
	ValueCertificateThumbprint *string `json:"valueCertificateThumbprint,omitempty"`
	// EncryptionAlgorithm - The algorithm used to encrypt the "Value". Possible values include: 'EncryptionAlgorithmNone', 'EncryptionAlgorithmAES256', 'EncryptionAlgorithmRSAESPKCS1V15'
	EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}

SymmetricEncryptedSecret represents the secrets encrypted using Symmetric Encryption Key.

type TargetEligibilityErrorMessage

type TargetEligibilityErrorMessage struct {
	// Message - The localized error message stating the reason why the device is not eligible as a target device.
	Message *string `json:"message,omitempty"`
	// Resolution - The localized resolution message for the error.
	Resolution *string `json:"resolution,omitempty"`
	// ResultCode - The result code for the error, due to which the device does not qualify as a failover target device. Possible values include: 'TargetAndSourceCannotBeSameError', 'TargetIsNotOnlineError', 'TargetSourceIncompatibleVersionError', 'LocalToTieredVolumesConversionWarning', 'TargetInsufficientCapacityError', 'TargetInsufficientLocalVolumeMemoryError', 'TargetInsufficientTieredVolumeMemoryError'
	ResultCode TargetEligibilityResultCode `json:"resultCode,omitempty"`
}

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

type TargetEligibilityResult

type TargetEligibilityResult struct {
	// EligibilityStatus - The eligibility status of device, as a failover target device. Possible values include: 'TargetEligibilityStatusNotEligible', 'TargetEligibilityStatusEligible'
	EligibilityStatus TargetEligibilityStatus `json:"eligibilityStatus,omitempty"`
	// Messages - The list of error messages, if a device does not qualify as a failover target device.
	Messages *[]TargetEligibilityErrorMessage `json:"messages,omitempty"`
}

TargetEligibilityResult 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 ...
	LocalToTieredVolumesConversionWarning TargetEligibilityResultCode = "LocalToTieredVolumesConversionWarning"
	// TargetAndSourceCannotBeSameError ...
	TargetAndSourceCannotBeSameError TargetEligibilityResultCode = "TargetAndSourceCannotBeSameError"
	// TargetInsufficientCapacityError ...
	TargetInsufficientCapacityError TargetEligibilityResultCode = "TargetInsufficientCapacityError"
	// TargetInsufficientLocalVolumeMemoryError ...
	TargetInsufficientLocalVolumeMemoryError TargetEligibilityResultCode = "TargetInsufficientLocalVolumeMemoryError"
	// TargetInsufficientTieredVolumeMemoryError ...
	TargetInsufficientTieredVolumeMemoryError TargetEligibilityResultCode = "TargetInsufficientTieredVolumeMemoryError"
	// TargetIsNotOnlineError ...
	TargetIsNotOnlineError TargetEligibilityResultCode = "TargetIsNotOnlineError"
	// TargetSourceIncompatibleVersionError ...
	TargetSourceIncompatibleVersionError TargetEligibilityResultCode = "TargetSourceIncompatibleVersionError"
)

type TargetEligibilityStatus

type TargetEligibilityStatus string

TargetEligibilityStatus enumerates the values for target eligibility status.

const (
	// TargetEligibilityStatusEligible ...
	TargetEligibilityStatusEligible TargetEligibilityStatus = "Eligible"
	// TargetEligibilityStatusNotEligible ...
	TargetEligibilityStatusNotEligible TargetEligibilityStatus = "NotEligible"
)

type Time

type Time struct {
	// Hours - The hour.
	Hours *int32 `json:"hours,omitempty"`
	// Minutes - The minute.
	Minutes *int32 `json:"minutes,omitempty"`
	// Seconds - The second.
	Seconds *int32 `json:"seconds,omitempty"`
}

Time the time.

type TimeSettings

type TimeSettings struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// TimeSettingsProperties - The properties of the time settings of a device.
	*TimeSettingsProperties `json:"properties,omitempty"`
}

TimeSettings the time settings of a device.

func (*TimeSettings) UnmarshalJSON

func (ts *TimeSettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TimeSettings struct.

type TimeSettingsProperties

type TimeSettingsProperties struct {
	// TimeZone - The timezone of device, like '(UTC -06:00) Central America'
	TimeZone *string `json:"timeZone,omitempty"`
	// PrimaryTimeServer - The primary Network Time Protocol (NTP) server name, like 'time.windows.com'.
	PrimaryTimeServer *string `json:"primaryTimeServer,omitempty"`
	// SecondaryTimeServer - The secondary Network Time Protocol (NTP) server name, like 'time.contoso.com'. It's optional.
	SecondaryTimeServer *[]string `json:"secondaryTimeServer,omitempty"`
}

TimeSettingsProperties the properties of time settings of a device.

type Updates

type Updates struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// UpdatesProperties - The properties of the updates profile.
	*UpdatesProperties `json:"properties,omitempty"`
}

Updates the updates profile of a device.

func (*Updates) UnmarshalJSON

func (u *Updates) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Updates struct.

type UpdatesProperties

type UpdatesProperties struct {
	// RegularUpdatesAvailable - Set to 'true' if regular updates are available for the device.
	RegularUpdatesAvailable *bool `json:"regularUpdatesAvailable,omitempty"`
	// MaintenanceModeUpdatesAvailable - Set to 'true' if maintenance mode update available.
	MaintenanceModeUpdatesAvailable *bool `json:"maintenanceModeUpdatesAvailable,omitempty"`
	// IsUpdateInProgress - Indicates whether an update is in progress or not.
	IsUpdateInProgress *bool `json:"isUpdateInProgress,omitempty"`
	// LastUpdatedTime - The time when the last update was completed.
	LastUpdatedTime *date.Time `json:"lastUpdatedTime,omitempty"`
}

UpdatesProperties the properties of the updates profile.

type VMImage

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

VMImage the virtual machine image.

type VirtualMachineAPIType

type VirtualMachineAPIType string

VirtualMachineAPIType enumerates the values for virtual machine api type.

const (
	// Arm ...
	Arm VirtualMachineAPIType = "Arm"
	// Classic ...
	Classic VirtualMachineAPIType = "Classic"
)

type Volume

type Volume struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// VolumeProperties - The properties of the volume.
	*VolumeProperties `json:"properties,omitempty"`
}

Volume the volume.

func (*Volume) UnmarshalJSON

func (vVar *Volume) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Volume struct.

type VolumeContainer

type VolumeContainer struct {
	autorest.Response `json:"-"`
	// ID - The path ID that uniquely identifies the object.
	ID *string `json:"id,omitempty"`
	// Name - The name of the object.
	Name *string `json:"name,omitempty"`
	// Type - The hierarchical type of the object.
	Type *string `json:"type,omitempty"`
	// Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
	Kind Kind `json:"kind,omitempty"`
	// VolumeContainerProperties - The volume container properties.
	*VolumeContainerProperties `json:"properties,omitempty"`
}

VolumeContainer the volume container.

func (*VolumeContainer) UnmarshalJSON

func (vc *VolumeContainer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VolumeContainer struct.

type VolumeContainerFailoverMetadata

type VolumeContainerFailoverMetadata struct {
	// VolumeContainerID - The path ID of the volume container.
	VolumeContainerID *string `json:"volumeContainerId,omitempty"`
	// Volumes - The list of metadata of volumes inside the volume container, which contains valid cloud snapshots.
	Volumes *[]VolumeFailoverMetadata `json:"volumes,omitempty"`
}

VolumeContainerFailoverMetadata 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 - The value.
	Value *[]VolumeContainer `json:"value,omitempty"`
}

VolumeContainerList the collection of volume container entities.

type VolumeContainerProperties

type VolumeContainerProperties struct {
	// EncryptionKey - The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
	EncryptionKey *AsymmetricEncryptedSecret `json:"encryptionKey,omitempty"`
	// EncryptionStatus - The flag to denote whether encryption is enabled or not. Possible values include: 'EncryptionStatusEnabled', 'EncryptionStatusDisabled'
	EncryptionStatus EncryptionStatus `json:"encryptionStatus,omitempty"`
	// VolumeCount - The number of volumes in the volume Container.
	VolumeCount *int32 `json:"volumeCount,omitempty"`
	// StorageAccountCredentialID - The path ID of storage account associated with the volume container.
	StorageAccountCredentialID *string `json:"storageAccountCredentialId,omitempty"`
	// OwnerShipStatus - The owner ship status of the volume container. Only when the status is "NotOwned", the delete operation on the volume container is permitted. Possible values include: 'Owned', 'NotOwned'
	OwnerShipStatus OwnerShipStatus `json:"ownerShipStatus,omitempty"`
	// BandWidthRateInMbps - The bandwidth-rate set on the volume container.
	BandWidthRateInMbps *int32 `json:"bandWidthRateInMbps,omitempty"`
	// BandwidthSettingID - The ID of the bandwidth setting associated with the volume container.
	BandwidthSettingID *string `json:"bandwidthSettingId,omitempty"`
	// TotalCloudStorageUsageInBytes - The total cloud storage for the volume container.
	TotalCloudStorageUsageInBytes *int64 `json:"totalCloudStorageUsageInBytes,omitempty"`
}

VolumeContainerProperties the properties of volume container.

type VolumeContainersClient

type VolumeContainersClient struct {
	BaseClient
}

VolumeContainersClient is the client for the VolumeContainers methods of the Storsimple 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(ctx context.Context, deviceName string, volumeContainerName string, parameters VolumeContainer, resourceGroupName string, managerName string) (result VolumeContainersCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the volume container.

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(ctx context.Context, deviceName string, volumeContainerName string, parameters VolumeContainer, resourceGroupName string, managerName string) (*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) (future VolumeContainersCreateOrUpdateFuture, err 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(ctx context.Context, deviceName string, volumeContainerName string, resourceGroupName string, managerName string) (result VolumeContainersDeleteFuture, err error)

Delete deletes the volume container.

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(ctx context.Context, deviceName string, volumeContainerName string, resourceGroupName string, managerName string) (*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) (future VolumeContainersDeleteFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 VolumeContainersCreateOrUpdateFuture

type VolumeContainersCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (VolumeContainersCreateOrUpdateFuture) Result

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

type VolumeContainersDeleteFuture

type VolumeContainersDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (VolumeContainersDeleteFuture) Result

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

type VolumeFailoverMetadata

type VolumeFailoverMetadata struct {
	// VolumeID - The path ID of the volume.
	VolumeID *string `json:"volumeId,omitempty"`
	// VolumeType - The type of the volume. Possible values include: 'Tiered', 'Archival', 'LocallyPinned'
	VolumeType VolumeType `json:"volumeType,omitempty"`
	// SizeInBytes - The size of the volume in bytes at the time the snapshot was taken.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// BackupCreatedDate - The date at which the snapshot was taken.
	BackupCreatedDate *date.Time `json:"backupCreatedDate,omitempty"`
	// BackupElementID - The path ID of the backup-element for this volume, inside the backup set.
	BackupElementID *string `json:"backupElementId,omitempty"`
	// BackupID - The path ID of the backup set.
	BackupID *string `json:"backupId,omitempty"`
	// BackupPolicyID - The path ID of the backup policy using which the snapshot was taken.
	BackupPolicyID *string `json:"backupPolicyId,omitempty"`
}

VolumeFailoverMetadata the metadata of a volume that has valid cloud snapshot.

type VolumeList

type VolumeList struct {
	autorest.Response `json:"-"`
	// Value - The value.
	Value *[]Volume `json:"value,omitempty"`
}

VolumeList the collection of volumes.

type VolumeProperties

type VolumeProperties struct {
	// SizeInBytes - The size of the volume in bytes.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// VolumeType - The type of the volume. Possible values include: 'Tiered', 'Archival', 'LocallyPinned'
	VolumeType VolumeType `json:"volumeType,omitempty"`
	// VolumeContainerID - The ID of the volume container, in which this volume is created.
	VolumeContainerID *string `json:"volumeContainerId,omitempty"`
	// AccessControlRecordIds - The IDs of the access control records, associated with the volume.
	AccessControlRecordIds *[]string `json:"accessControlRecordIds,omitempty"`
	// VolumeStatus - The volume status. Possible values include: 'VolumeStatusOnline', 'VolumeStatusOffline'
	VolumeStatus VolumeStatus `json:"volumeStatus,omitempty"`
	// OperationStatus - The operation status on the volume. Possible values include: 'OperationStatusNone', 'OperationStatusUpdating', 'OperationStatusDeleting', 'OperationStatusRestoring'
	OperationStatus OperationStatus `json:"operationStatus,omitempty"`
	// BackupStatus - The backup status of the volume. Possible values include: 'BackupStatusEnabled', 'BackupStatusDisabled'
	BackupStatus BackupStatus `json:"backupStatus,omitempty"`
	// MonitoringStatus - The monitoring status of the volume. Possible values include: 'MonitoringStatusEnabled', 'MonitoringStatusDisabled'
	MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"`
	// BackupPolicyIds - The IDs of the backup policies, in which this volume is part of.
	BackupPolicyIds *[]string `json:"backupPolicyIds,omitempty"`
}

VolumeProperties the properties of volume.

type VolumeStatus

type VolumeStatus string

VolumeStatus enumerates the values for volume status.

const (
	// VolumeStatusOffline ...
	VolumeStatusOffline VolumeStatus = "Offline"
	// VolumeStatusOnline ...
	VolumeStatusOnline VolumeStatus = "Online"
)

type VolumeType

type VolumeType string

VolumeType enumerates the values for volume type.

const (
	// Archival ...
	Archival VolumeType = "Archival"
	// LocallyPinned ...
	LocallyPinned VolumeType = "LocallyPinned"
	// Tiered ...
	Tiered VolumeType = "Tiered"
)

type VolumesClient

type VolumesClient struct {
	BaseClient
}

VolumesClient is the client for the Volumes methods of the Storsimple 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(ctx context.Context, deviceName string, volumeContainerName string, volumeName string, parameters Volume, resourceGroupName string, managerName string) (result VolumesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the volume.

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(ctx context.Context, deviceName string, volumeContainerName string, volumeName string, parameters Volume, resourceGroupName string, managerName string) (*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) (future VolumesCreateOrUpdateFuture, err 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(ctx context.Context, deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string) (result VolumesDeleteFuture, err error)

Delete deletes the 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) DeletePreparer

func (client VolumesClient) DeletePreparer(ctx context.Context, deviceName string, volumeContainerName string, volumeName string, resourceGroupName string, managerName string) (*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) (future VolumesDeleteFuture, err 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 VolumesCreateOrUpdateFuture

type VolumesCreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (VolumesCreateOrUpdateFuture) Result

func (future VolumesCreateOrUpdateFuture) Result(client VolumesClient) (vVar Volume, err error)

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

type VolumesDeleteFuture

type VolumesDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (VolumesDeleteFuture) Result

func (future VolumesDeleteFuture) Result(client VolumesClient) (ar autorest.Response, err error)

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

type WebproxySettings

type WebproxySettings struct {
	// ConnectionURI - The connection URI.
	ConnectionURI *string `json:"connectionUri,omitempty"`
	// Authentication - The authentication type. Possible values include: 'Invalid', 'None', 'Basic', 'NTLM'
	Authentication AuthenticationType `json:"authentication,omitempty"`
	// Username - The webproxy username.
	Username *string `json:"username,omitempty"`
}

WebproxySettings 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