storsimple

package
v22.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package storsimple implements the Azure ARM Storsimple service API version 2016-10-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:"-"`
	// AccessControlRecordProperties - Properties of AccessControlRecord
	*AccessControlRecordProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

AccessControlRecord the access control record

func (AccessControlRecord) MarshalJSON

func (acr AccessControlRecord) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccessControlRecord.

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 collection of AccessControlRecords

type AccessControlRecordProperties

type AccessControlRecordProperties struct {
	// InitiatorName - The Iscsi initiator name (IQN)
	InitiatorName *string `json:"initiatorName,omitempty"`
}

AccessControlRecordProperties 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, accessControlRecord AccessControlRecord, resourceGroupName string, managerName string) (result AccessControlRecordsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or Updates an access control record. Parameters: accessControlRecordName - the name of the access control record. accessControlRecord - the access control record to be added or updated. resourceGroupName - the resource group name managerName - the manager name

func (AccessControlRecordsClient) CreateOrUpdatePreparer

func (client AccessControlRecordsClient) CreateOrUpdatePreparer(ctx context.Context, accessControlRecordName string, accessControlRecord 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. Parameters: accessControlRecordName - the name of the access control record to delete. resourceGroupName - the resource group name managerName - 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. Parameters: accessControlRecordName - name of access control record to be fetched. resourceGroupName - the resource group name managerName - 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. Parameters: resourceGroupName - the resource group name managerName - 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
}

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
}

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 Alert

type Alert struct {
	// AlertProperties - Properties of alert
	*AlertProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

Alert alert class

func (Alert) MarshalJSON

func (a Alert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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"
)

func PossibleAlertEmailNotificationStatusValues

func PossibleAlertEmailNotificationStatusValues() []AlertEmailNotificationStatus

PossibleAlertEmailNotificationStatusValues returns an array of possible values for the AlertEmailNotificationStatus const type.

type AlertErrorDetails

type AlertErrorDetails struct {
	// ErrorCode - Error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// ErrorMessage - Error Message
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// Occurences - Number of occurences.
	Occurences *int32 `json:"occurences,omitempty"`
}

AlertErrorDetails errordetails for the alert

type AlertFilter

type AlertFilter struct {
	// Status - Status of the alert. Possible values include: 'Active', 'Cleared'
	Status AlertStatus `json:"status,omitempty"`
	// Severity - Severity of the alert. Possible values include: 'Informational', 'Warning', 'Critical'
	Severity AlertSeverity `json:"severity,omitempty"`
	// SourceType - Source of the alert. Possible values include: 'AlertSourceTypeResource', 'AlertSourceTypeDevice'
	SourceType AlertSourceType `json:"sourceType,omitempty"`
	// SourceName - Source name of the alert
	SourceName *string `json:"sourceName,omitempty"`
	// AppearedOnTime - UTC time on which the alert appeared
	AppearedOnTime *date.Time `json:"appearedOnTime,omitempty"`
}

AlertFilter filters that can be specified on the alert

type AlertList

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

AlertList 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. Deprecated: Use NextWithContext() instead.

func (*AlertListIterator) NextWithContext

func (iter *AlertListIterator) NextWithContext(ctx context.Context) (err error)

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

func (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. Deprecated: Use NextWithContext() instead.

func (*AlertListPage) NextWithContext

func (page *AlertListPage) NextWithContext(ctx context.Context) (err error)

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

func (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 AlertProperties

type AlertProperties struct {
	// Title - Title of the alert
	Title *string `json:"title,omitempty"`
	// Scope - Device or Resource alert. Possible values include: 'AlertScopeResource', 'AlertScopeDevice'
	Scope AlertScope `json:"scope,omitempty"`
	// AlertType - Type of the alert
	AlertType *string `json:"alertType,omitempty"`
	// AppearedAtTime - UTC time at which the alert appeared
	AppearedAtTime *date.Time `json:"appearedAtTime,omitempty"`
	// AppearedAtSourceTime - UTC time at which the alert appeared on the source
	AppearedAtSourceTime *date.Time `json:"appearedAtSourceTime,omitempty"`
	// ClearedAtTime - UTC time at which the alert got cleared
	ClearedAtTime *date.Time `json:"clearedAtTime,omitempty"`
	// ClearedAtSourceTime - UTC time at which the alert was cleared on the source
	ClearedAtSourceTime *date.Time `json:"clearedAtSourceTime,omitempty"`
	// Source - Source at which the alert was cleared
	Source *AlertSource `json:"source,omitempty"`
	// Recommendation - Recommendation for acting on the alert
	Recommendation *string `json:"recommendation,omitempty"`
	// ResolutionReason - Reason for resolving the alert
	ResolutionReason *string `json:"resolutionReason,omitempty"`
	// Severity - Severity of the alert. Possible values include: 'Informational', 'Warning', 'Critical'
	Severity AlertSeverity `json:"severity,omitempty"`
	// Status - Current status of the alert. Possible values include: 'Active', 'Cleared'
	Status AlertStatus `json:"status,omitempty"`
	// ErrorDetails - ErrorDetails of the alert
	ErrorDetails *AlertErrorDetails `json:"errorDetails,omitempty"`
	// DetailedInformation - Other information about the alert
	DetailedInformation map[string]*string `json:"detailedInformation"`
}

AlertProperties properties of alert

func (AlertProperties) MarshalJSON

func (ap AlertProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertProperties.

type AlertScope

type AlertScope string

AlertScope enumerates the values for alert scope.

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

func PossibleAlertScopeValues

func PossibleAlertScopeValues() []AlertScope

PossibleAlertScopeValues returns an array of possible values for the AlertScope const type.

type AlertSettings

type AlertSettings struct {
	autorest.Response `json:"-"`
	// AlertSettingsProperties - Properties of AlertSettings
	*AlertSettingsProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

AlertSettings alertSettings on the device which represents how alerts will be processed

func (AlertSettings) MarshalJSON

func (as AlertSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AlertSettings.

func (*AlertSettings) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AlertSettings struct.

type AlertSettingsProperties

type AlertSettingsProperties struct {
	// EmailNotification - Value indicating whether user/admins will receive emails when an alert condition occurs on the system. Possible values include: 'Enabled', 'Disabled'
	EmailNotification AlertEmailNotificationStatus `json:"emailNotification,omitempty"`
	// NotificationToServiceOwners - Value indicating whether service owners will receive emails when an alert condition occurs on the system. Applicable only if emailNotification flag is Enabled. Possible values include: 'ServiceOwnersAlertNotificationStatusEnabled', 'ServiceOwnersAlertNotificationStatusDisabled'
	NotificationToServiceOwners ServiceOwnersAlertNotificationStatus `json:"notificationToServiceOwners,omitempty"`
	// AlertNotificationCulture - Culture setting to be used while building alert emails. For eg: "en-US"
	AlertNotificationCulture *string `json:"alertNotificationCulture,omitempty"`
	// AdditionalRecipientEmailList - List of email addresses (apart from admin/coadmin of subscription) to whom the alert emails need to be sent
	AdditionalRecipientEmailList *[]string `json:"additionalRecipientEmailList,omitempty"`
}

AlertSettingsProperties class containing the properties of Alertsettings

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"
)

func PossibleAlertSeverityValues

func PossibleAlertSeverityValues() []AlertSeverity

PossibleAlertSeverityValues returns an array of possible values for the AlertSeverity const type.

type AlertSource

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

AlertSource source at which the alert can be raised

type AlertSourceType

type AlertSourceType string

AlertSourceType enumerates the values for alert source type.

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

func PossibleAlertSourceTypeValues

func PossibleAlertSourceTypeValues() []AlertSourceType

PossibleAlertSourceTypeValues returns an array of possible values for the AlertSourceType const type.

type AlertStatus

type AlertStatus string

AlertStatus enumerates the values for alert status.

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

func PossibleAlertStatusValues

func PossibleAlertStatusValues() []AlertStatus

PossibleAlertStatusValues returns an array of possible values for the AlertStatus const type.

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, request ClearAlertRequest, resourceGroupName string, managerName string) (result autorest.Response, err error)

Clear clear the alerts. Parameters: request - the clear alert request. resourceGroupName - the resource group name managerName - the manager name

func (AlertsClient) ClearPreparer

func (client AlertsClient) ClearPreparer(ctx context.Context, request 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. Parameters: resourceGroupName - the resource group name managerName - the manager name filter - 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, request SendTestAlertEmailRequest, resourceGroupName string, managerName string) (result autorest.Response, err error)

SendTestEmail sends a test alert email. Parameters: deviceName - the device name. request - the send test alert email request. resourceGroupName - the resource group name managerName - the manager name

func (AlertsClient) SendTestEmailPreparer

func (client AlertsClient) SendTestEmailPreparer(ctx context.Context, deviceName string, request 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 itself. If the secret is in plaintext then EncryptionAlgorithm will be none and EncryptionCertThumbprint will be null.
	Value *string `json:"value,omitempty"`
	// EncryptionCertificateThumbprint - Thumbprint certificate that was used to encrypt "Value"
	EncryptionCertificateThumbprint *string `json:"encryptionCertificateThumbprint,omitempty"`
	// EncryptionAlgorithm - Algorithm used to encrypt "Value". Possible values include: 'EncryptionAlgorithmNone', 'EncryptionAlgorithmAES256', 'EncryptionAlgorithmRSAESPKCS1V15'
	EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}

AsymmetricEncryptedSecret this class can be used as the Type for any secret entity represented as Password, CertThumbprint, Algorithm. This class is intended to be used when the secret is encrypted with an asymmetric key pair. The encryptionAlgorithm field is mainly for future usage to potentially allow different entities encrypted using different algorithms.

type AuthType

type AuthType string

AuthType enumerates the values for auth type.

const (
	// AccessControlService ...
	AccessControlService AuthType = "AccessControlService"
	// AzureActiveDirectory ...
	AzureActiveDirectory AuthType = "AzureActiveDirectory"
	// Invalid ...
	Invalid AuthType = "Invalid"
)

func PossibleAuthTypeValues

func PossibleAuthTypeValues() []AuthType

PossibleAuthTypeValues returns an array of possible values for the AuthType const type.

type AvailableProviderOperation

type AvailableProviderOperation struct {
	// Name - Gets or sets the name of the operation being performed on this particular object
	// Return value format: "{resourceProviderNamespace}/{resourceType}/{read|write|deletion|action}"
	// Eg: Microsoft.StorSimple/managers/devices/fileServers/read
	//     Microsoft.StorSimple/managers/devices/alerts/clearAlerts/action
	Name *string `json:"name,omitempty"`
	// Display - Gets or sets Display information
	// Contains the localized display information for this particular operation/action
	Display *AvailableProviderOperationDisplay `json:"display,omitempty"`
	// Origin - Gets or sets 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 - Gets or sets Properties
	// Reserved for future use
	Properties interface{} `json:"properties,omitempty"`
}

AvailableProviderOperation class represents provider operation

type AvailableProviderOperationDisplay

type AvailableProviderOperationDisplay struct {
	// Provider - Gets or sets 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 - Gets or sets 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 - Gets or sets 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 - Gets or sets 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 (1) custom role definitions for RBAC; (2) complex query filters for the event service; and (3) audit history / records for management operations.

type AvailableProviderOperations

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

AvailableProviderOperations class for set of operations used for discovery of available provider operations.

func (AvailableProviderOperations) IsEmpty

func (apo AvailableProviderOperations) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableProviderOperationsClient

type AvailableProviderOperationsClient struct {
	BaseClient
}

AvailableProviderOperationsClient is the client for the AvailableProviderOperations methods of the Storsimple service.

func NewAvailableProviderOperationsClient

func NewAvailableProviderOperationsClient(subscriptionID string) AvailableProviderOperationsClient

NewAvailableProviderOperationsClient creates an instance of the AvailableProviderOperationsClient client.

func NewAvailableProviderOperationsClientWithBaseURI

func NewAvailableProviderOperationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableProviderOperationsClient

NewAvailableProviderOperationsClientWithBaseURI creates an instance of the AvailableProviderOperationsClient client.

func (AvailableProviderOperationsClient) List

List list of AvailableProviderOperations

func (AvailableProviderOperationsClient) ListComplete

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

func (AvailableProviderOperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (AvailableProviderOperationsClient) ListResponder

func (client AvailableProviderOperationsClient) ListResponder(resp *http.Response) (result AvailableProviderOperations, err error)

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

func (AvailableProviderOperationsClient) ListSender

func (client AvailableProviderOperationsClient) 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 AvailableProviderOperationsIterator

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

AvailableProviderOperationsIterator provides access to a complete listing of AvailableProviderOperation values.

func (*AvailableProviderOperationsIterator) 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. Deprecated: Use NextWithContext() instead.

func (*AvailableProviderOperationsIterator) NextWithContext

func (iter *AvailableProviderOperationsIterator) NextWithContext(ctx context.Context) (err error)

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

func (AvailableProviderOperationsIterator) NotDone

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

func (AvailableProviderOperationsIterator) Response

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

func (AvailableProviderOperationsIterator) Value

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

type AvailableProviderOperationsPage

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

AvailableProviderOperationsPage contains a page of AvailableProviderOperation values.

func (*AvailableProviderOperationsPage) 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. Deprecated: Use NextWithContext() instead.

func (*AvailableProviderOperationsPage) NextWithContext

func (page *AvailableProviderOperationsPage) NextWithContext(ctx context.Context) (err error)

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

func (AvailableProviderOperationsPage) NotDone

func (page AvailableProviderOperationsPage) NotDone() bool

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

func (AvailableProviderOperationsPage) Response

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

func (AvailableProviderOperationsPage) Values

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

type Backup

type Backup struct {
	// BackupProperties - Properties of backup
	*BackupProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

Backup the backup.

func (Backup) MarshalJSON

func (b Backup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Backup.

func (*Backup) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Backup struct.

type BackupElement

type BackupElement struct {
	// BackupElementProperties - The Properties of backup element
	*BackupElementProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

BackupElement class represents BackupElement

func (BackupElement) MarshalJSON

func (be BackupElement) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupElement.

func (*BackupElement) UnmarshalJSON

func (be *BackupElement) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupElement struct.

type BackupElementProperties

type BackupElementProperties struct {
	// SizeInBytes - The size in bytes.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// EndpointName - The name of the endpoint.
	EndpointName *string `json:"endpointName,omitempty"`
	// DataPolicy - The data policy of backed up endpoint. Possible values include: 'DataPolicyInvalid', 'DataPolicyLocal', 'DataPolicyTiered', 'DataPolicyCloud'
	DataPolicy DataPolicy `json:"dataPolicy,omitempty"`
}

BackupElementProperties the backup element properties

type BackupFilter

type BackupFilter struct {
	// InitiatedBy - Gets or sets InitiatedBy. Possible values include: 'Manual', 'Scheduled'
	InitiatedBy InitiatedBy `json:"initiatedBy,omitempty"`
	// CreatedTime - Gets or sets CreatedTime
	CreatedTime *date.Time `json:"createdTime,omitempty"`
}

BackupFilter backup OData filter class

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 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. Deprecated: Use NextWithContext() instead.

func (*BackupListIterator) NextWithContext

func (iter *BackupListIterator) NextWithContext(ctx context.Context) (err error)

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

func (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. Deprecated: Use NextWithContext() instead.

func (*BackupListPage) NextWithContext

func (page *BackupListPage) NextWithContext(ctx context.Context) (err error)

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

func (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 BackupProperties

type BackupProperties struct {
	// TargetID - The path id of the target FileServer or IscsiServer for which the backup was taken.
	TargetID *string `json:"targetId,omitempty"`
	// TargetType - Type of target, FileServer or IscsiServer
	TargetType *string `json:"targetType,omitempty"`
	// SizeInBytes - The backup size in bytes.
	SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
	// CreatedTime - The time when the backup was created.
	CreatedTime *date.Time `json:"createdTime,omitempty"`
	// ExpirationTime - The time when the backup will expire.
	ExpirationTime *date.Time `json:"expirationTime,omitempty"`
	// InitiatedBy - Indicates how the backup was initiated "Manual | Scheduled". Possible values include: 'Manual', 'Scheduled'
	InitiatedBy InitiatedBy `json:"initiatedBy,omitempty"`
	// DeviceID - The Device Identifier.
	DeviceID *string `json:"deviceId,omitempty"`
	// Elements - The backup elements.
	Elements *[]BackupElement `json:"elements,omitempty"`
}

BackupProperties class represents Backup properties

type BackupScheduleGroup

type BackupScheduleGroup struct {
	autorest.Response `json:"-"`
	// BackupScheduleGroupProperties - Properties of BackupScheduleGroup
	*BackupScheduleGroupProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

BackupScheduleGroup the Backup Schedule Group

func (BackupScheduleGroup) MarshalJSON

func (bsg BackupScheduleGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupScheduleGroup.

func (*BackupScheduleGroup) UnmarshalJSON

func (bsg *BackupScheduleGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackupScheduleGroup struct.

type BackupScheduleGroupList

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

BackupScheduleGroupList the list response of backup schedule groups

type BackupScheduleGroupProperties

type BackupScheduleGroupProperties struct {
	// StartTime - The start time. When this field is specified we will generate Default GrandFather Father Son Backup Schedules.
	StartTime *Time `json:"startTime,omitempty"`
}

BackupScheduleGroupProperties the Backup Schedule Group Properties

type BackupScheduleGroupsClient

type BackupScheduleGroupsClient struct {
	BaseClient
}

BackupScheduleGroupsClient is the client for the BackupScheduleGroups methods of the Storsimple service.

func NewBackupScheduleGroupsClient

func NewBackupScheduleGroupsClient(subscriptionID string) BackupScheduleGroupsClient

NewBackupScheduleGroupsClient creates an instance of the BackupScheduleGroupsClient client.

func NewBackupScheduleGroupsClientWithBaseURI

func NewBackupScheduleGroupsClientWithBaseURI(baseURI string, subscriptionID string) BackupScheduleGroupsClient

NewBackupScheduleGroupsClientWithBaseURI creates an instance of the BackupScheduleGroupsClient client.

func (BackupScheduleGroupsClient) CreateOrUpdate

func (client BackupScheduleGroupsClient) CreateOrUpdate(ctx context.Context, deviceName string, scheduleGroupName string, scheduleGroup BackupScheduleGroup, resourceGroupName string, managerName string) (result BackupScheduleGroupsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or Updates the backup schedule Group. Parameters: deviceName - the name of the device. scheduleGroupName - the name of the schedule group. scheduleGroup - the schedule group to be created resourceGroupName - the resource group name managerName - the manager name

func (BackupScheduleGroupsClient) CreateOrUpdatePreparer

func (client BackupScheduleGroupsClient) CreateOrUpdatePreparer(ctx context.Context, deviceName string, scheduleGroupName string, scheduleGroup BackupScheduleGroup, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackupScheduleGroupsClient) CreateOrUpdateResponder

func (client BackupScheduleGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result BackupScheduleGroup, err error)

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

func (BackupScheduleGroupsClient) CreateOrUpdateSender

func (client BackupScheduleGroupsClient) CreateOrUpdateSender(req *http.Request) (future BackupScheduleGroupsCreateOrUpdateFuture, err error)

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

func (BackupScheduleGroupsClient) Delete

func (client BackupScheduleGroupsClient) Delete(ctx context.Context, deviceName string, scheduleGroupName string, resourceGroupName string, managerName string) (result BackupScheduleGroupsDeleteFuture, err error)

Delete deletes the backup schedule group. Parameters: deviceName - the name of the device. scheduleGroupName - the name of the schedule group. resourceGroupName - the resource group name managerName - the manager name

func (BackupScheduleGroupsClient) DeletePreparer

func (client BackupScheduleGroupsClient) DeletePreparer(ctx context.Context, deviceName string, scheduleGroupName string, resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupScheduleGroupsClient) DeleteResponder

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

func (client BackupScheduleGroupsClient) DeleteSender(req *http.Request) (future BackupScheduleGroupsDeleteFuture, err error)

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

func (BackupScheduleGroupsClient) Get

func (client BackupScheduleGroupsClient) Get(ctx context.Context, deviceName string, scheduleGroupName string, resourceGroupName string, managerName string) (result BackupScheduleGroup, err error)

Get returns the properties of the specified backup schedule group name. Parameters: deviceName - the name of the device. scheduleGroupName - the name of the schedule group. resourceGroupName - the resource group name managerName - the manager name

func (BackupScheduleGroupsClient) GetPreparer

func (client BackupScheduleGroupsClient) GetPreparer(ctx context.Context, deviceName string, scheduleGroupName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BackupScheduleGroupsClient) GetResponder

func (client BackupScheduleGroupsClient) GetResponder(resp *http.Response) (result BackupScheduleGroup, err error)

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

func (BackupScheduleGroupsClient) GetSender

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

func (client BackupScheduleGroupsClient) ListByDevice(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result BackupScheduleGroupList, err error)

ListByDevice retrieves all the backup schedule groups in a device. Parameters: deviceName - the name of the device. resourceGroupName - the resource group name managerName - the manager name

func (BackupScheduleGroupsClient) ListByDevicePreparer

func (client BackupScheduleGroupsClient) ListByDevicePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (BackupScheduleGroupsClient) ListByDeviceResponder

func (client BackupScheduleGroupsClient) ListByDeviceResponder(resp *http.Response) (result BackupScheduleGroupList, err error)

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

func (BackupScheduleGroupsClient) ListByDeviceSender

func (client BackupScheduleGroupsClient) 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 BackupScheduleGroupsCreateOrUpdateFuture

type BackupScheduleGroupsCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*BackupScheduleGroupsCreateOrUpdateFuture) Result

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

type BackupScheduleGroupsDeleteFuture

type BackupScheduleGroupsDeleteFuture struct {
	azure.Future
}

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

func (*BackupScheduleGroupsDeleteFuture) Result

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

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, elementName string, cloneRequest CloneRequest, resourceGroupName string, managerName string) (result BackupsCloneFuture, err error)

Clone clones the given backup element to a new disk or share with given details. Parameters: deviceName - the device name. backupName - the backup name. elementName - the backup element name. cloneRequest - the clone request. resourceGroupName - the resource group name managerName - the manager name

func (BackupsClient) ClonePreparer

func (client BackupsClient) ClonePreparer(ctx context.Context, deviceName string, backupName string, elementName string, cloneRequest 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. Parameters: deviceName - the device name. backupName - the backup name. resourceGroupName - the resource group name managerName - 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, forFailover *bool, filter string) (result BackupListPage, err error)

ListByDevice retrieves all the backups in a device. Can be used to get the backups for failover also. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name forFailover - set to true if you need backups which can be used for failover. filter - oData Filter options

func (BackupsClient) ListByDeviceComplete

func (client BackupsClient) ListByDeviceComplete(ctx context.Context, deviceName string, resourceGroupName string, managerName string, forFailover *bool, 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, forFailover *bool, 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) ListByManager

func (client BackupsClient) ListByManager(ctx context.Context, resourceGroupName string, managerName string, filter string) (result BackupListPage, err error)

ListByManager retrieves all the backups in a manager. Parameters: resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (BackupsClient) ListByManagerComplete

func (client BackupsClient) ListByManagerComplete(ctx context.Context, resourceGroupName string, managerName string, filter string) (result BackupListIterator, err error)

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

func (BackupsClient) ListByManagerPreparer

func (client BackupsClient) ListByManagerPreparer(ctx context.Context, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (BackupsClient) ListByManagerResponder

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

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

func (BackupsClient) ListByManagerSender

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

type BackupsCloneFuture struct {
	azure.Future
}

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
}

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 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 identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

BaseModel base class for models

type ChapProperties

type ChapProperties struct {
	// Password - The chap password.
	Password *AsymmetricEncryptedSecret `json:"password,omitempty"`
}

ChapProperties chap properties

type ChapSettings

type ChapSettings struct {
	autorest.Response `json:"-"`
	// ChapProperties - Chap properties
	*ChapProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

ChapSettings challenge-Handshake Authentical Protocol (CHAP) setting

func (ChapSettings) MarshalJSON

func (cs ChapSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ChapSettings.

func (*ChapSettings) UnmarshalJSON

func (cs *ChapSettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ChapSettings struct.

type ChapSettingsClient

type ChapSettingsClient struct {
	BaseClient
}

ChapSettingsClient is the client for the ChapSettings methods of the Storsimple service.

func NewChapSettingsClient

func NewChapSettingsClient(subscriptionID string) ChapSettingsClient

NewChapSettingsClient creates an instance of the ChapSettingsClient client.

func NewChapSettingsClientWithBaseURI

func NewChapSettingsClientWithBaseURI(baseURI string, subscriptionID string) ChapSettingsClient

NewChapSettingsClientWithBaseURI creates an instance of the ChapSettingsClient client.

func (ChapSettingsClient) CreateOrUpdate

func (client ChapSettingsClient) CreateOrUpdate(ctx context.Context, deviceName string, chapUserName string, chapSetting ChapSettings, resourceGroupName string, managerName string) (result ChapSettingsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the chap setting. Parameters: deviceName - the device name. chapUserName - the chap user name. chapSetting - the chap setting to be added or updated. resourceGroupName - the resource group name managerName - the manager name

func (ChapSettingsClient) CreateOrUpdatePreparer

func (client ChapSettingsClient) CreateOrUpdatePreparer(ctx context.Context, deviceName string, chapUserName string, chapSetting ChapSettings, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ChapSettingsClient) CreateOrUpdateResponder

func (client ChapSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result ChapSettings, err error)

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

func (ChapSettingsClient) CreateOrUpdateSender

func (client ChapSettingsClient) CreateOrUpdateSender(req *http.Request) (future ChapSettingsCreateOrUpdateFuture, err error)

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

func (ChapSettingsClient) Delete

func (client ChapSettingsClient) Delete(ctx context.Context, deviceName string, chapUserName string, resourceGroupName string, managerName string) (result ChapSettingsDeleteFuture, err error)

Delete deletes the chap setting. Parameters: deviceName - the device name. chapUserName - the chap user name. resourceGroupName - the resource group name managerName - the manager name

func (ChapSettingsClient) DeletePreparer

func (client ChapSettingsClient) DeletePreparer(ctx context.Context, deviceName string, chapUserName string, resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ChapSettingsClient) DeleteResponder

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

func (client ChapSettingsClient) DeleteSender(req *http.Request) (future ChapSettingsDeleteFuture, err error)

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

func (ChapSettingsClient) Get

func (client ChapSettingsClient) Get(ctx context.Context, deviceName string, chapUserName string, resourceGroupName string, managerName string) (result ChapSettings, err error)

Get returns the properties of the specified chap setting name. Parameters: deviceName - the device name. chapUserName - the user name of chap to be fetched. resourceGroupName - the resource group name managerName - the manager name

func (ChapSettingsClient) GetPreparer

func (client ChapSettingsClient) GetPreparer(ctx context.Context, deviceName string, chapUserName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ChapSettingsClient) GetResponder

func (client ChapSettingsClient) GetResponder(resp *http.Response) (result ChapSettings, err error)

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

func (ChapSettingsClient) GetSender

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

func (client ChapSettingsClient) ListByDevice(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result ChapSettingsList, err error)

ListByDevice retrieves all the chap settings in a device. Parameters: deviceName - the name of the device. resourceGroupName - the resource group name managerName - the manager name

func (ChapSettingsClient) ListByDevicePreparer

func (client ChapSettingsClient) ListByDevicePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (ChapSettingsClient) ListByDeviceResponder

func (client ChapSettingsClient) ListByDeviceResponder(resp *http.Response) (result ChapSettingsList, err error)

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

func (ChapSettingsClient) ListByDeviceSender

func (client ChapSettingsClient) 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 ChapSettingsCreateOrUpdateFuture

type ChapSettingsCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*ChapSettingsCreateOrUpdateFuture) Result

func (future *ChapSettingsCreateOrUpdateFuture) Result(client ChapSettingsClient) (cs ChapSettings, err error)

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

type ChapSettingsDeleteFuture

type ChapSettingsDeleteFuture struct {
	azure.Future
}

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

func (*ChapSettingsDeleteFuture) Result

func (future *ChapSettingsDeleteFuture) Result(client ChapSettingsClient) (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 ChapSettingsList

type ChapSettingsList struct {
	autorest.Response `json:"-"`
	// Value - The chap settings entity collection
	Value *[]ChapSettings `json:"value,omitempty"`
}

ChapSettingsList collection of Chap setting entities

type ClearAlertRequest

type ClearAlertRequest struct {
	// ResolutionMessage - Resolution message while clearing the request
	ResolutionMessage *string `json:"resolutionMessage,omitempty"`
	// Alerts - List of alert Ids to be cleared
	Alerts *[]string `json:"alerts,omitempty"`
}

ClearAlertRequest request for clearing the alert

type CloneRequest

type CloneRequest struct {
	// CloneRequestProperties - CloneJob Properties are encapsulated in this object.
	*CloneRequestProperties `json:"properties,omitempty"`
}

CloneRequest clone Job Request Model.

func (CloneRequest) MarshalJSON

func (cr CloneRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloneRequest.

func (*CloneRequest) UnmarshalJSON

func (cr *CloneRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CloneRequest struct.

type CloneRequestProperties

type CloneRequestProperties struct {
	// TargetDeviceID - DeviceId of the device which will act as the Clone target
	TargetDeviceID *string `json:"targetDeviceId,omitempty"`
	// TargetAccessPointID - Accesspoint Id on which clone job will performed.
	TargetAccessPointID *string `json:"targetAccessPointId,omitempty"`
	// NewEndpointName - Name of new endpoint which will created as part of clone job.
	NewEndpointName *string `json:"newEndpointName,omitempty"`
	// Share - Share Object.
	Share *FileShare `json:"share,omitempty"`
	// Disk - Disk Object
	Disk *ISCSIDisk `json:"disk,omitempty"`
}

CloneRequestProperties properties of CloneRequest

type CloudType

type CloudType string

CloudType enumerates the values for cloud type.

const (
	// Azure ...
	Azure CloudType = "Azure"
	// HP ...
	HP CloudType = "HP"
	// OpenStack ...
	OpenStack CloudType = "OpenStack"
	// S3 ...
	S3 CloudType = "S3"
	// S3RRS ...
	S3RRS CloudType = "S3_RRS"
)

func PossibleCloudTypeValues

func PossibleCloudTypeValues() []CloudType

PossibleCloudTypeValues returns an array of possible values for the CloudType const type.

type ContractVersions

type ContractVersions string

ContractVersions enumerates the values for contract versions.

const (
	// InvalidVersion ...
	InvalidVersion ContractVersions = "InvalidVersion"
	// V201109 ...
	V201109 ContractVersions = "V2011_09"
	// V201202 ...
	V201202 ContractVersions = "V2012_02"
	// V201205 ...
	V201205 ContractVersions = "V2012_05"
	// V201212 ...
	V201212 ContractVersions = "V2012_12"
	// V201304 ...
	V201304 ContractVersions = "V2013_04"
	// V201310 ...
	V201310 ContractVersions = "V2013_10"
	// V201311 ...
	V201311 ContractVersions = "V2013_11"
	// V201404 ...
	V201404 ContractVersions = "V2014_04"
	// V201406 ...
	V201406 ContractVersions = "V2014_06"
	// V201407 ...
	V201407 ContractVersions = "V2014_07"
	// V201409 ...
	V201409 ContractVersions = "V2014_09"
	// V201410 ...
	V201410 ContractVersions = "V2014_10"
	// V201412 ...
	V201412 ContractVersions = "V2014_12"
	// V201501 ...
	V201501 ContractVersions = "V2015_01"
	// V201502 ...
	V201502 ContractVersions = "V2015_02"
	// V201504 ...
	V201504 ContractVersions = "V2015_04"
	// V201505 ...
	V201505 ContractVersions = "V2015_05"
	// V201506 ...
	V201506 ContractVersions = "V2015_06"
	// V201507 ...
	V201507 ContractVersions = "V2015_07"
	// V201508 ...
	V201508 ContractVersions = "V2015_08"
	// V201510 ...
	V201510 ContractVersions = "V2015_10"
	// V201512 ...
	V201512 ContractVersions = "V2015_12"
	// V201601 ...
	V201601 ContractVersions = "V2016_01"
	// V201602 ...
	V201602 ContractVersions = "V2016_02"
	// V201604 ...
	V201604 ContractVersions = "V2016_04"
	// V201605 ...
	V201605 ContractVersions = "V2016_05"
	// V201607 ...
	V201607 ContractVersions = "V2016_07"
	// V201608 ...
	V201608 ContractVersions = "V2016_08"
)

func PossibleContractVersionsValues

func PossibleContractVersionsValues() []ContractVersions

PossibleContractVersionsValues returns an array of possible values for the ContractVersions const type.

type DataPolicy

type DataPolicy string

DataPolicy enumerates the values for data policy.

const (
	// DataPolicyCloud ...
	DataPolicyCloud DataPolicy = "Cloud"
	// DataPolicyInvalid ...
	DataPolicyInvalid DataPolicy = "Invalid"
	// DataPolicyLocal ...
	DataPolicyLocal DataPolicy = "Local"
	// DataPolicyTiered ...
	DataPolicyTiered DataPolicy = "Tiered"
)

func PossibleDataPolicyValues

func PossibleDataPolicyValues() []DataPolicy

PossibleDataPolicyValues returns an array of possible values for the DataPolicy const type.

type Device

type Device struct {
	autorest.Response `json:"-"`
	// DeviceProperties - Collection of properties for the device
	*DeviceProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

Device represents a StorSimple device object along with its properties

func (Device) MarshalJSON

func (d Device) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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"
)

func PossibleDeviceConfigurationStatusValues

func PossibleDeviceConfigurationStatusValues() []DeviceConfigurationStatus

PossibleDeviceConfigurationStatusValues returns an array of possible values for the DeviceConfigurationStatus const type.

type DeviceDetails

type DeviceDetails struct {
	// EndpointCount - Total number of endpoints that are currently on the device ( i.e. number of shares on FileServer or number of volumes on IscsiServer)
	EndpointCount *int32 `json:"endpointCount,omitempty"`
	// TotalStorageInBytes - Total storage available on the device in bytes.
	TotalStorageInBytes *int64 `json:"totalStorageInBytes,omitempty"`
	// TotalLocalStorageInBytes - Total local storage capacity in device in bytes.
	TotalLocalStorageInBytes *int64 `json:"totalLocalStorageInBytes,omitempty"`
	// ProvisionedStorageInBytes - Storage in bytes that has been provisioned on the device including both local and cloud
	ProvisionedStorageInBytes *int64 `json:"provisionedStorageInBytes,omitempty"`
	// ProvisionedLocalStorageInBytes - Storage in bytes that has been provisioned locally on the device
	ProvisionedLocalStorageInBytes *int64 `json:"provisionedLocalStorageInBytes,omitempty"`
	// UsingStorageInBytes - Storage that is being currently used in bytes including both local and cloud
	UsingStorageInBytes *int64 `json:"usingStorageInBytes,omitempty"`
	// UsingLocalStorageInBytes - Local Storage that is being currently used in bytes
	UsingLocalStorageInBytes *int64 `json:"usingLocalStorageInBytes,omitempty"`
	// TotalBackupSizeInBytes - Total size taken up by backups in bytes
	TotalBackupSizeInBytes *int64 `json:"totalBackupSizeInBytes,omitempty"`
	// AvailableStorageInBytes - Total pending available storage on the device in bytes
	AvailableStorageInBytes *int64 `json:"availableStorageInBytes,omitempty"`
	// AvailableLocalStorageInBytes - Local pending storage available on the device in bytes
	AvailableLocalStorageInBytes *int64 `json:"availableLocalStorageInBytes,omitempty"`
}

DeviceDetails class containing more granular details about the device

type DeviceList

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

DeviceList collection of Devices

type DeviceOperation

type DeviceOperation string

DeviceOperation enumerates the values for device operation.

const (
	// Browsable ...
	Browsable DeviceOperation = "Browsable"
	// Deactivate ...
	Deactivate DeviceOperation = "Deactivate"
	// Delete ...
	Delete DeviceOperation = "Delete"
	// DeleteWithWarning ...
	DeleteWithWarning DeviceOperation = "DeleteWithWarning"
	// DRSource ...
	DRSource DeviceOperation = "DRSource"
	// DRTarget ...
	DRTarget DeviceOperation = "DRTarget"
	// None ...
	None DeviceOperation = "None"
	// ReadOnlyForDR ...
	ReadOnlyForDR DeviceOperation = "ReadOnlyForDR"
)

func PossibleDeviceOperationValues

func PossibleDeviceOperationValues() []DeviceOperation

PossibleDeviceOperationValues returns an array of possible values for the DeviceOperation const type.

type DevicePatch

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

DevicePatch class that represents the Input for the PATCH call on Device. Currently the only patchable property on device is "DeviceDescription"

type DeviceProperties

type DeviceProperties struct {
	// ActivationTime - The UTC time at which the device was activated
	ActivationTime *date.Time `json:"activationTime,omitempty"`
	// AllowedDeviceOperations - Operations that are allowed on the device based on its current state
	AllowedDeviceOperations *[]DeviceOperation `json:"allowedDeviceOperations,omitempty"`
	// Culture - Language culture setting on the device. For eg: "en-US"
	Culture *string `json:"culture,omitempty"`
	// DeviceCapabilities - Device can be configured either as FileServer or IscsiServer
	DeviceCapabilities *[]SupportedDeviceCapabilities `json:"deviceCapabilities,omitempty"`
	// DeviceDescription - Short description given for the device
	DeviceDescription *string `json:"deviceDescription,omitempty"`
	// DomainName - Fully qualified name of the domain to which the device is attached
	DomainName *string `json:"domainName,omitempty"`
	// DeviceSoftwareVersion - Version number of the software running on the device
	DeviceSoftwareVersion *string `json:"deviceSoftwareVersion,omitempty"`
	// FriendlySoftwareName - Friendly name for the software version
	FriendlySoftwareName *string `json:"friendlySoftwareName,omitempty"`
	// DeviceConfigurationStatus - "Complete" if the device has been successfully registered as File/IscsiServer and the creation of share/volume is complete, "Pending" if the device is only registered but the creation of share/volume is complete is still pending. Possible values include: 'Complete', 'Pending'
	DeviceConfigurationStatus DeviceConfigurationStatus `json:"deviceConfigurationStatus,omitempty"`
	// ModelDescription - Name of the device model
	ModelDescription *string `json:"modelDescription,omitempty"`
	// Status - Current status of the device. Possible values include: 'Unknown', 'Online', 'Offline', 'RequiresAttention', 'MaintenanceMode', 'Creating', 'Provisioning', 'Deleted', 'ReadyToSetup', 'Deactivated', 'Deactivating'
	Status DeviceStatus `json:"status,omitempty"`
	// Type - Type of the device. Possible values include: 'DeviceTypeInvalid', 'DeviceTypeAppliance', 'DeviceTypeVirtualAppliance', 'DeviceTypeSeries9000OnPremVirtualAppliance', 'DeviceTypeSeries9000VirtualAppliance', 'DeviceTypeSeries9000PhysicalAppliance'
	Type DeviceType `json:"type,omitempty"`
	// Details - subclass containing more storage-related information about the device. This field will be populated only if the get call is made with $expand = details.
	Details *DeviceDetails `json:"details,omitempty"`
}

DeviceProperties encases all the properties of the Device

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"
)

func PossibleDeviceStatusValues

func PossibleDeviceStatusValues() []DeviceStatus

PossibleDeviceStatusValues returns an array of possible values for the DeviceStatus const type.

type DeviceType

type DeviceType string

DeviceType enumerates the values for device type.

const (
	// DeviceTypeAppliance ...
	DeviceTypeAppliance DeviceType = "Appliance"
	// DeviceTypeInvalid ...
	DeviceTypeInvalid DeviceType = "Invalid"
	// DeviceTypeSeries9000OnPremVirtualAppliance ...
	DeviceTypeSeries9000OnPremVirtualAppliance DeviceType = "Series9000OnPremVirtualAppliance"
	// DeviceTypeSeries9000PhysicalAppliance ...
	DeviceTypeSeries9000PhysicalAppliance DeviceType = "Series9000PhysicalAppliance"
	// DeviceTypeSeries9000VirtualAppliance ...
	DeviceTypeSeries9000VirtualAppliance DeviceType = "Series9000VirtualAppliance"
	// DeviceTypeVirtualAppliance ...
	DeviceTypeVirtualAppliance DeviceType = "VirtualAppliance"
)

func PossibleDeviceTypeValues

func PossibleDeviceTypeValues() []DeviceType

PossibleDeviceTypeValues returns an array of possible values for the DeviceType const type.

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) CreateOrUpdateAlertSettings

func (client DevicesClient) CreateOrUpdateAlertSettings(ctx context.Context, deviceName string, alertSettings AlertSettings, resourceGroupName string, managerName string) (result DevicesCreateOrUpdateAlertSettingsFuture, err error)

CreateOrUpdateAlertSettings creates or updates the alert settings Parameters: deviceName - the device name. alertSettings - the alert settings. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) CreateOrUpdateAlertSettingsPreparer

func (client DevicesClient) CreateOrUpdateAlertSettingsPreparer(ctx context.Context, deviceName string, alertSettings AlertSettings, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdateAlertSettingsPreparer prepares the CreateOrUpdateAlertSettings request.

func (DevicesClient) CreateOrUpdateAlertSettingsResponder

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

func (client DevicesClient) CreateOrUpdateAlertSettingsSender(req *http.Request) (future DevicesCreateOrUpdateAlertSettingsFuture, err error)

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

func (DevicesClient) CreateOrUpdateSecuritySettings

func (client DevicesClient) CreateOrUpdateSecuritySettings(ctx context.Context, deviceName string, securitySettings SecuritySettings, resourceGroupName string, managerName string) (result DevicesCreateOrUpdateSecuritySettingsFuture, err error)

CreateOrUpdateSecuritySettings creates or updates the security settings. Parameters: deviceName - the device name. securitySettings - the security settings. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) CreateOrUpdateSecuritySettingsPreparer

func (client DevicesClient) CreateOrUpdateSecuritySettingsPreparer(ctx context.Context, deviceName string, securitySettings SecuritySettings, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdateSecuritySettingsPreparer prepares the CreateOrUpdateSecuritySettings request.

func (DevicesClient) CreateOrUpdateSecuritySettingsResponder

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

CreateOrUpdateSecuritySettingsResponder handles the response to the CreateOrUpdateSecuritySettings request. The method always closes the http.Response Body.

func (DevicesClient) CreateOrUpdateSecuritySettingsSender

func (client DevicesClient) CreateOrUpdateSecuritySettingsSender(req *http.Request) (future DevicesCreateOrUpdateSecuritySettingsFuture, err error)

CreateOrUpdateSecuritySettingsSender sends the CreateOrUpdateSecuritySettings 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. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - 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. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - 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) DownloadUpdates

func (client DevicesClient) DownloadUpdates(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result DevicesDownloadUpdatesFuture, err error)

DownloadUpdates downloads udpates on the device. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) DownloadUpdatesPreparer

func (client DevicesClient) DownloadUpdatesPreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

DownloadUpdatesPreparer prepares the DownloadUpdates request.

func (DevicesClient) DownloadUpdatesResponder

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

DownloadUpdatesResponder handles the response to the DownloadUpdates request. The method always closes the http.Response Body.

func (DevicesClient) DownloadUpdatesSender

func (client DevicesClient) DownloadUpdatesSender(req *http.Request) (future DevicesDownloadUpdatesFuture, err error)

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

func (DevicesClient) Failover

func (client DevicesClient) Failover(ctx context.Context, deviceName string, failoverRequest FailoverRequest, resourceGroupName string, managerName string) (result DevicesFailoverFuture, err error)

Failover fails over the device to another device. Parameters: deviceName - the device name. failoverRequest - the failover request. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) FailoverPreparer

func (client DevicesClient) FailoverPreparer(ctx context.Context, deviceName string, failoverRequest 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 name. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name expand - specify $expand=details to populate additional fields related to the device.

func (DevicesClient) GetAlertSettings

func (client DevicesClient) GetAlertSettings(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result AlertSettings, err error)

GetAlertSettings returns the alert settings of the specified device name. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) GetAlertSettingsPreparer

func (client DevicesClient) GetAlertSettingsPreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetAlertSettingsPreparer prepares the GetAlertSettings request.

func (DevicesClient) GetAlertSettingsResponder

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

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

func (client DevicesClient) GetNetworkSettings(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result NetworkSettings, err error)

GetNetworkSettings returns the network settings of the specified device name. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) GetNetworkSettingsPreparer

func (client DevicesClient) GetNetworkSettingsPreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetNetworkSettingsPreparer prepares the GetNetworkSettings request.

func (DevicesClient) GetNetworkSettingsResponder

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

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

func (client DevicesClient) GetTimeSettings(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result TimeSettings, err error)

GetTimeSettings returns the time settings of the specified device name. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) GetTimeSettingsPreparer

func (client DevicesClient) GetTimeSettingsPreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

GetTimeSettingsPreparer prepares the GetTimeSettings request.

func (DevicesClient) GetTimeSettingsResponder

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

func (client DevicesClient) 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 (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. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - 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 installs the updates on the device. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - 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 retrieves all the devices in a manager. Parameters: resourceGroupName - the resource group name managerName - the manager name expand - specify $expand=details to populate additional fields related to the 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) ListFailoverTarget

func (client DevicesClient) ListFailoverTarget(ctx context.Context, deviceName string, resourceGroupName string, managerName string, expand string) (result DeviceList, err error)

ListFailoverTarget retrieves all the devices which can be used as failover targets for the given device. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name expand - specify $expand=details to populate additional fields related to the device.

func (DevicesClient) ListFailoverTargetPreparer

func (client DevicesClient) ListFailoverTargetPreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string, expand string) (*http.Request, error)

ListFailoverTargetPreparer prepares the ListFailoverTarget request.

func (DevicesClient) ListFailoverTargetResponder

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

ListFailoverTargetResponder handles the response to the ListFailoverTarget request. The method always closes the http.Response Body.

func (DevicesClient) ListFailoverTargetSender

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

ListFailoverTargetSender sends the ListFailoverTarget 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 retrieves metric definition of all metrics aggregated at device. Parameters: deviceName - the name of the appliance. resourceGroupName - the resource group name managerName - 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 retrieves the device metrics. Parameters: deviceName - the name of the appliance. resourceGroupName - the resource group name managerName - the manager name filter - 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) Patch

func (client DevicesClient) Patch(ctx context.Context, deviceName string, devicePatch DevicePatch, resourceGroupName string, managerName string) (result DevicesPatchFuture, err error)

Patch patches the device. Parameters: deviceName - the device Name. devicePatch - patch representation of the device. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) PatchPreparer

func (client DevicesClient) PatchPreparer(ctx context.Context, deviceName string, devicePatch DevicePatch, resourceGroupName string, managerName string) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (DevicesClient) PatchResponder

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

PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.

func (DevicesClient) PatchSender

func (client DevicesClient) PatchSender(req *http.Request) (future DevicesPatchFuture, err error)

PatchSender sends the Patch 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. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - 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.

type DevicesCreateOrUpdateAlertSettingsFuture

type DevicesCreateOrUpdateAlertSettingsFuture struct {
	azure.Future
}

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

func (*DevicesCreateOrUpdateAlertSettingsFuture) Result

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

type DevicesCreateOrUpdateSecuritySettingsFuture

type DevicesCreateOrUpdateSecuritySettingsFuture struct {
	azure.Future
}

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

func (*DevicesCreateOrUpdateSecuritySettingsFuture) Result

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
}

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
}

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 DevicesDownloadUpdatesFuture

type DevicesDownloadUpdatesFuture struct {
	azure.Future
}

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

func (*DevicesDownloadUpdatesFuture) Result

func (future *DevicesDownloadUpdatesFuture) 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
}

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
}

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 DevicesPatchFuture

type DevicesPatchFuture struct {
	azure.Future
}

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

func (*DevicesPatchFuture) Result

func (future *DevicesPatchFuture) Result(client DevicesClient) (d Device, 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
}

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 DhcpStatus

type DhcpStatus string

DhcpStatus enumerates the values for dhcp status.

const (
	// DhcpStatusDisabled ...
	DhcpStatusDisabled DhcpStatus = "Disabled"
	// DhcpStatusEnabled ...
	DhcpStatusEnabled DhcpStatus = "Enabled"
)

func PossibleDhcpStatusValues

func PossibleDhcpStatusValues() []DhcpStatus

PossibleDhcpStatusValues returns an array of possible values for the DhcpStatus const type.

type DiskStatus

type DiskStatus string

DiskStatus enumerates the values for disk status.

const (
	// DiskStatusOffline ...
	DiskStatusOffline DiskStatus = "Offline"
	// DiskStatusOnline ...
	DiskStatusOnline DiskStatus = "Online"
)

func PossibleDiskStatusValues

func PossibleDiskStatusValues() []DiskStatus

PossibleDiskStatusValues returns an array of possible values for the DiskStatus const type.

type DownloadPhase

type DownloadPhase string

DownloadPhase enumerates the values for download phase.

const (
	// DownloadPhaseDownloading ...
	DownloadPhaseDownloading DownloadPhase = "Downloading"
	// DownloadPhaseInitializing ...
	DownloadPhaseInitializing DownloadPhase = "Initializing"
	// DownloadPhaseUnknown ...
	DownloadPhaseUnknown DownloadPhase = "Unknown"
	// DownloadPhaseVerifying ...
	DownloadPhaseVerifying DownloadPhase = "Verifying"
)

func PossibleDownloadPhaseValues

func PossibleDownloadPhaseValues() []DownloadPhase

PossibleDownloadPhaseValues returns an array of possible values for the DownloadPhase const type.

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"
)

func PossibleEncryptionAlgorithmValues

func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm

PossibleEncryptionAlgorithmValues returns an array of possible values for the EncryptionAlgorithm const type.

type EncryptionSettings

type EncryptionSettings struct {
	autorest.Response `json:"-"`
	// EncryptionSettingsProperties - Properties of the EncryptionSettings.
	*EncryptionSettingsProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

EncryptionSettings the EncryptionSettings

func (EncryptionSettings) MarshalJSON

func (es EncryptionSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncryptionSettings.

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 which indicates if encryption is enabled or not. Possible values include: 'EncryptionStatusEnabled', 'EncryptionStatusDisabled'
	EncryptionStatus EncryptionStatus `json:"encryptionStatus,omitempty"`
	// KeyRolloverStatus - The key rollover status which indicates if key rollover is required or not. If secrets encryption has been upgraded, then it requires key rollover. Possible values include: 'Required', 'NotRequired'
	KeyRolloverStatus KeyRolloverStatus `json:"keyRolloverStatus,omitempty"`
}

EncryptionSettingsProperties the properties of EncryptionSettings

type EncryptionStatus

type EncryptionStatus string

EncryptionStatus enumerates the values for encryption status.

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

func PossibleEncryptionStatusValues

func PossibleEncryptionStatusValues() []EncryptionStatus

PossibleEncryptionStatusValues returns an array of possible values for the EncryptionStatus const type.

type Error

type Error struct {
	ErrorCode *string  `json:"errorCode,omitempty"`
	Message   *Message `json:"message,omitempty"`
	Values    *[]Item  `json:"values,omitempty"`
}

Error ...

type FailoverRequest

type FailoverRequest struct {
	AccesspointIds   *[]string `json:"accesspointIds,omitempty"`
	TargetDeviceID   *string   `json:"targetDeviceId,omitempty"`
	SkipValidation   *bool     `json:"skipValidation,omitempty"`
	KeepSourceDevice *bool     `json:"keepSourceDevice,omitempty"`
}

FailoverRequest the Failover request object.

type FileServer

type FileServer struct {
	autorest.Response `json:"-"`
	// FileServerProperties - The properties.
	*FileServerProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

FileServer the file server.

func (FileServer) MarshalJSON

func (fs FileServer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileServer.

func (*FileServer) UnmarshalJSON

func (fs *FileServer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FileServer struct.

type FileServerList

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

FileServerList collection of file servers

type FileServerProperties

type FileServerProperties struct {
	// DomainName - Domain of the file server
	DomainName *string `json:"domainName,omitempty"`
	// StorageDomainID - The storage domain id.
	StorageDomainID *string `json:"storageDomainId,omitempty"`
	// BackupScheduleGroupID - The backup policy id.
	BackupScheduleGroupID *string `json:"backupScheduleGroupId,omitempty"`
	// Description - The description of the file server
	Description *string `json:"description,omitempty"`
}

FileServerProperties the file server properties.

type FileServersBackupNowFuture

type FileServersBackupNowFuture struct {
	azure.Future
}

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

func (*FileServersBackupNowFuture) Result

func (future *FileServersBackupNowFuture) Result(client FileServersClient) (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 FileServersClient

type FileServersClient struct {
	BaseClient
}

FileServersClient is the client for the FileServers methods of the Storsimple service.

func NewFileServersClient

func NewFileServersClient(subscriptionID string) FileServersClient

NewFileServersClient creates an instance of the FileServersClient client.

func NewFileServersClientWithBaseURI

func NewFileServersClientWithBaseURI(baseURI string, subscriptionID string) FileServersClient

NewFileServersClientWithBaseURI creates an instance of the FileServersClient client.

func (FileServersClient) BackupNow

func (client FileServersClient) BackupNow(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (result FileServersBackupNowFuture, err error)

BackupNow backup the file server now. Parameters: deviceName - the device name. fileServerName - the file server name. resourceGroupName - the resource group name managerName - the manager name

func (FileServersClient) BackupNowPreparer

func (client FileServersClient) BackupNowPreparer(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (*http.Request, error)

BackupNowPreparer prepares the BackupNow request.

func (FileServersClient) BackupNowResponder

func (client FileServersClient) 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 (FileServersClient) BackupNowSender

func (client FileServersClient) BackupNowSender(req *http.Request) (future FileServersBackupNowFuture, err error)

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

func (FileServersClient) CreateOrUpdate

func (client FileServersClient) CreateOrUpdate(ctx context.Context, deviceName string, fileServerName string, fileServer FileServer, resourceGroupName string, managerName string) (result FileServersCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the file server. Parameters: deviceName - the device name. fileServerName - the file server name. fileServer - the file server. resourceGroupName - the resource group name managerName - the manager name

func (FileServersClient) CreateOrUpdatePreparer

func (client FileServersClient) CreateOrUpdatePreparer(ctx context.Context, deviceName string, fileServerName string, fileServer FileServer, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FileServersClient) CreateOrUpdateResponder

func (client FileServersClient) CreateOrUpdateResponder(resp *http.Response) (result FileServer, err error)

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

func (FileServersClient) CreateOrUpdateSender

func (client FileServersClient) CreateOrUpdateSender(req *http.Request) (future FileServersCreateOrUpdateFuture, err error)

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

func (FileServersClient) Delete

func (client FileServersClient) Delete(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (result FileServersDeleteFuture, err error)

Delete deletes the file server. Parameters: deviceName - the device name. fileServerName - the file server name. resourceGroupName - the resource group name managerName - the manager name

func (FileServersClient) DeletePreparer

func (client FileServersClient) DeletePreparer(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FileServersClient) DeleteResponder

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

func (client FileServersClient) DeleteSender(req *http.Request) (future FileServersDeleteFuture, err error)

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

func (FileServersClient) Get

func (client FileServersClient) Get(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (result FileServer, err error)

Get returns the properties of the specified file server name. Parameters: deviceName - the device name. fileServerName - the file server name. resourceGroupName - the resource group name managerName - the manager name

func (FileServersClient) GetPreparer

func (client FileServersClient) GetPreparer(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FileServersClient) GetResponder

func (client FileServersClient) GetResponder(resp *http.Response) (result FileServer, err error)

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

func (FileServersClient) GetSender

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

func (client FileServersClient) ListByDevice(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result FileServerList, err error)

ListByDevice retrieves all the file servers in a device. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name

func (FileServersClient) ListByDevicePreparer

func (client FileServersClient) ListByDevicePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (FileServersClient) ListByDeviceResponder

func (client FileServersClient) ListByDeviceResponder(resp *http.Response) (result FileServerList, err error)

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

func (FileServersClient) ListByDeviceSender

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

func (client FileServersClient) ListByManager(ctx context.Context, resourceGroupName string, managerName string) (result FileServerList, err error)

ListByManager retrieves all the file servers in a manager. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (FileServersClient) ListByManagerPreparer

func (client FileServersClient) ListByManagerPreparer(ctx context.Context, resourceGroupName string, managerName string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (FileServersClient) ListByManagerResponder

func (client FileServersClient) ListByManagerResponder(resp *http.Response) (result FileServerList, err error)

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

func (FileServersClient) ListByManagerSender

func (client FileServersClient) 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 (FileServersClient) ListMetricDefinition

func (client FileServersClient) ListMetricDefinition(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition retrieves metric definitions of all metrics aggregated at the file server. Parameters: deviceName - the name of the device. fileServerName - the name of the file server. resourceGroupName - the resource group name managerName - the manager name

func (FileServersClient) ListMetricDefinitionPreparer

func (client FileServersClient) ListMetricDefinitionPreparer(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (*http.Request, error)

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (FileServersClient) ListMetricDefinitionResponder

func (client FileServersClient) 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 (FileServersClient) ListMetricDefinitionSender

func (client FileServersClient) 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 (FileServersClient) ListMetrics

func (client FileServersClient) ListMetrics(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string, filter string) (result MetricList, err error)

ListMetrics gets the file server metrics. Parameters: deviceName - the name of the device. fileServerName - the name of the file server name. resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (FileServersClient) ListMetricsPreparer

func (client FileServersClient) ListMetricsPreparer(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (FileServersClient) ListMetricsResponder

func (client FileServersClient) 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 (FileServersClient) ListMetricsSender

func (client FileServersClient) 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 FileServersCreateOrUpdateFuture

type FileServersCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*FileServersCreateOrUpdateFuture) Result

func (future *FileServersCreateOrUpdateFuture) Result(client FileServersClient) (fs FileServer, err error)

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

type FileServersDeleteFuture

type FileServersDeleteFuture struct {
	azure.Future
}

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

func (*FileServersDeleteFuture) Result

func (future *FileServersDeleteFuture) Result(client FileServersClient) (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 FileShare

type FileShare struct {
	autorest.Response `json:"-"`
	// FileShareProperties - The properties.
	*FileShareProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

FileShare the File Share.

func (FileShare) MarshalJSON

func (fs FileShare) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileShare.

func (*FileShare) UnmarshalJSON

func (fs *FileShare) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FileShare struct.

type FileShareList

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

FileShareList collection of file shares

type FileShareProperties

type FileShareProperties struct {
	// Description - Description for file share
	Description *string `json:"description,omitempty"`
	// ShareStatus - The Share Status. Possible values include: 'ShareStatusOnline', 'ShareStatusOffline'
	ShareStatus ShareStatus `json:"shareStatus,omitempty"`
	// DataPolicy - The data policy. Possible values include: 'DataPolicyInvalid', 'DataPolicyLocal', 'DataPolicyTiered', 'DataPolicyCloud'
	DataPolicy DataPolicy `json:"dataPolicy,omitempty"`
	// AdminUser - The user/group who will have full permission in this share. Active directory email address. Example: xyz@contoso.com or Contoso\xyz.
	AdminUser *string `json:"adminUser,omitempty"`
	// ProvisionedCapacityInBytes - The total provisioned capacity in Bytes
	ProvisionedCapacityInBytes *int64 `json:"provisionedCapacityInBytes,omitempty"`
	// UsedCapacityInBytes - The used capacity in Bytes.
	UsedCapacityInBytes *int64 `json:"usedCapacityInBytes,omitempty"`
	// LocalUsedCapacityInBytes - The local used capacity in Bytes.
	LocalUsedCapacityInBytes *int64 `json:"localUsedCapacityInBytes,omitempty"`
	// MonitoringStatus - The monitoring status. Possible values include: 'MonitoringStatusEnabled', 'MonitoringStatusDisabled'
	MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"`
}

FileShareProperties the File Share.

type FileSharesClient

type FileSharesClient struct {
	BaseClient
}

FileSharesClient is the client for the FileShares methods of the Storsimple service.

func NewFileSharesClient

func NewFileSharesClient(subscriptionID string) FileSharesClient

NewFileSharesClient creates an instance of the FileSharesClient client.

func NewFileSharesClientWithBaseURI

func NewFileSharesClientWithBaseURI(baseURI string, subscriptionID string) FileSharesClient

NewFileSharesClientWithBaseURI creates an instance of the FileSharesClient client.

func (FileSharesClient) CreateOrUpdate

func (client FileSharesClient) CreateOrUpdate(ctx context.Context, deviceName string, fileServerName string, shareName string, fileShare FileShare, resourceGroupName string, managerName string) (result FileSharesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the file share. Parameters: deviceName - the device name. fileServerName - the file server name. shareName - the file share name. fileShare - the file share. resourceGroupName - the resource group name managerName - the manager name

func (FileSharesClient) CreateOrUpdatePreparer

func (client FileSharesClient) CreateOrUpdatePreparer(ctx context.Context, deviceName string, fileServerName string, shareName string, fileShare FileShare, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FileSharesClient) CreateOrUpdateResponder

func (client FileSharesClient) CreateOrUpdateResponder(resp *http.Response) (result FileShare, err error)

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

func (FileSharesClient) CreateOrUpdateSender

func (client FileSharesClient) CreateOrUpdateSender(req *http.Request) (future FileSharesCreateOrUpdateFuture, err error)

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

func (FileSharesClient) Delete

func (client FileSharesClient) Delete(ctx context.Context, deviceName string, fileServerName string, shareName string, resourceGroupName string, managerName string) (result FileSharesDeleteFuture, err error)

Delete deletes the file share. Parameters: deviceName - the device name. fileServerName - the file server name. shareName - the file share Name resourceGroupName - the resource group name managerName - the manager name

func (FileSharesClient) DeletePreparer

func (client FileSharesClient) DeletePreparer(ctx context.Context, deviceName string, fileServerName string, shareName string, resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FileSharesClient) DeleteResponder

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

func (client FileSharesClient) DeleteSender(req *http.Request) (future FileSharesDeleteFuture, err error)

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

func (FileSharesClient) Get

func (client FileSharesClient) Get(ctx context.Context, deviceName string, fileServerName string, shareName string, resourceGroupName string, managerName string) (result FileShare, err error)

Get returns the properties of the specified file share name. Parameters: deviceName - the device name. fileServerName - the file server name. shareName - the file share name. resourceGroupName - the resource group name managerName - the manager name

func (FileSharesClient) GetPreparer

func (client FileSharesClient) GetPreparer(ctx context.Context, deviceName string, fileServerName string, shareName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FileSharesClient) GetResponder

func (client FileSharesClient) GetResponder(resp *http.Response) (result FileShare, err error)

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

func (FileSharesClient) GetSender

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

func (client FileSharesClient) ListByDevice(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result FileShareList, err error)

ListByDevice retrieves all the file shares in a device. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name

func (FileSharesClient) ListByDevicePreparer

func (client FileSharesClient) ListByDevicePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (FileSharesClient) ListByDeviceResponder

func (client FileSharesClient) ListByDeviceResponder(resp *http.Response) (result FileShareList, err error)

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

func (FileSharesClient) ListByDeviceSender

func (client FileSharesClient) 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 (FileSharesClient) ListByFileServer

func (client FileSharesClient) ListByFileServer(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (result FileShareList, err error)

ListByFileServer retrieves all the file shares in a file server. Parameters: deviceName - the device name. fileServerName - the file server name. resourceGroupName - the resource group name managerName - the manager name

func (FileSharesClient) ListByFileServerPreparer

func (client FileSharesClient) ListByFileServerPreparer(ctx context.Context, deviceName string, fileServerName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByFileServerPreparer prepares the ListByFileServer request.

func (FileSharesClient) ListByFileServerResponder

func (client FileSharesClient) ListByFileServerResponder(resp *http.Response) (result FileShareList, err error)

ListByFileServerResponder handles the response to the ListByFileServer request. The method always closes the http.Response Body.

func (FileSharesClient) ListByFileServerSender

func (client FileSharesClient) ListByFileServerSender(req *http.Request) (*http.Response, error)

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

func (FileSharesClient) ListMetricDefinition

func (client FileSharesClient) ListMetricDefinition(ctx context.Context, deviceName string, fileServerName string, shareName string, resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition retrieves metric definitions of all metrics aggregated at the file share. Parameters: deviceName - the device name. fileServerName - the file server name. shareName - the file share name. resourceGroupName - the resource group name managerName - the manager name

func (FileSharesClient) ListMetricDefinitionPreparer

func (client FileSharesClient) ListMetricDefinitionPreparer(ctx context.Context, deviceName string, fileServerName string, shareName string, resourceGroupName string, managerName string) (*http.Request, error)

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (FileSharesClient) ListMetricDefinitionResponder

func (client FileSharesClient) 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 (FileSharesClient) ListMetricDefinitionSender

func (client FileSharesClient) 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 (FileSharesClient) ListMetrics

func (client FileSharesClient) ListMetrics(ctx context.Context, deviceName string, fileServerName string, shareName string, resourceGroupName string, managerName string, filter string) (result MetricList, err error)

ListMetrics gets the file share metrics Parameters: deviceName - the device name. fileServerName - the file server name. shareName - the file share name. resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (FileSharesClient) ListMetricsPreparer

func (client FileSharesClient) ListMetricsPreparer(ctx context.Context, deviceName string, fileServerName string, shareName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (FileSharesClient) ListMetricsResponder

func (client FileSharesClient) 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 (FileSharesClient) ListMetricsSender

func (client FileSharesClient) 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 FileSharesCreateOrUpdateFuture

type FileSharesCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*FileSharesCreateOrUpdateFuture) Result

func (future *FileSharesCreateOrUpdateFuture) Result(client FileSharesClient) (fs FileShare, err error)

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

type FileSharesDeleteFuture

type FileSharesDeleteFuture struct {
	azure.Future
}

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

func (*FileSharesDeleteFuture) Result

func (future *FileSharesDeleteFuture) Result(client FileSharesClient) (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 IPConfig

type IPConfig struct {
	// IPAddress - The ipaddress of the network adapter, either ipv4 or ipv6.
	IPAddress *string `json:"ipAddress,omitempty"`
	// PrefixLength - The prefix length of the network adapter.
	PrefixLength *int32 `json:"prefixLength,omitempty"`
	// Gateway - The gateway of the network adapter.
	Gateway *string `json:"gateway,omitempty"`
}

IPConfig details related to the IP address configuration

type ISCSIDisk

type ISCSIDisk struct {
	autorest.Response `json:"-"`
	// ISCSIDiskProperties - The properties.
	*ISCSIDiskProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

ISCSIDisk the iscsi disk.

func (ISCSIDisk) MarshalJSON

func (ID ISCSIDisk) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ISCSIDisk.

func (*ISCSIDisk) UnmarshalJSON

func (ID *ISCSIDisk) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ISCSIDisk struct.

type ISCSIDiskList

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

ISCSIDiskList collection of Iscsi disk

type ISCSIDiskProperties

type ISCSIDiskProperties struct {
	// Description - The description.
	Description *string `json:"description,omitempty"`
	// DiskStatus - The disk status. Possible values include: 'DiskStatusOnline', 'DiskStatusOffline'
	DiskStatus DiskStatus `json:"diskStatus,omitempty"`
	// AccessControlRecords - The access control records.
	AccessControlRecords *[]string `json:"accessControlRecords,omitempty"`
	// DataPolicy - The data policy. Possible values include: 'DataPolicyInvalid', 'DataPolicyLocal', 'DataPolicyTiered', 'DataPolicyCloud'
	DataPolicy DataPolicy `json:"dataPolicy,omitempty"`
	// ProvisionedCapacityInBytes - The provisioned capacity in bytes.
	ProvisionedCapacityInBytes *int64 `json:"provisionedCapacityInBytes,omitempty"`
	// UsedCapacityInBytes - The used capacity in bytes.
	UsedCapacityInBytes *int64 `json:"usedCapacityInBytes,omitempty"`
	// LocalUsedCapacityInBytes - The local used capacity in bytes.
	LocalUsedCapacityInBytes *int64 `json:"localUsedCapacityInBytes,omitempty"`
	// MonitoringStatus - The monitoring. Possible values include: 'MonitoringStatusEnabled', 'MonitoringStatusDisabled'
	MonitoringStatus MonitoringStatus `json:"monitoringStatus,omitempty"`
}

ISCSIDiskProperties the iscsi disk properties.

type ISCSIServer

type ISCSIServer struct {
	autorest.Response `json:"-"`
	// ISCSIServerProperties - The properties.
	*ISCSIServerProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

ISCSIServer the iscsi server.

func (ISCSIServer) MarshalJSON

func (is ISCSIServer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ISCSIServer.

func (*ISCSIServer) UnmarshalJSON

func (is *ISCSIServer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ISCSIServer struct.

type ISCSIServerList

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

ISCSIServerList collection of Iscsi servers

type ISCSIServerProperties

type ISCSIServerProperties struct {
	// StorageDomainID - The storage domain id.
	StorageDomainID *string `json:"storageDomainId,omitempty"`
	// BackupScheduleGroupID - The backup policy id.
	BackupScheduleGroupID *string `json:"backupScheduleGroupId,omitempty"`
	// Description - The description.
	Description *string `json:"description,omitempty"`
	// ChapID - The chap id.
	ChapID *string `json:"chapId,omitempty"`
	// ReverseChapID - The reverse chap id.
	ReverseChapID *string `json:"reverseChapId,omitempty"`
}

ISCSIServerProperties the iscsi server properties.

type InitiatedBy

type InitiatedBy string

InitiatedBy enumerates the values for initiated by.

const (
	// Manual ...
	Manual InitiatedBy = "Manual"
	// Scheduled ...
	Scheduled InitiatedBy = "Scheduled"
)

func PossibleInitiatedByValues

func PossibleInitiatedByValues() []InitiatedBy

PossibleInitiatedByValues returns an array of possible values for the InitiatedBy const type.

type IscsiDisksClient

type IscsiDisksClient struct {
	BaseClient
}

IscsiDisksClient is the client for the IscsiDisks methods of the Storsimple service.

func NewIscsiDisksClient

func NewIscsiDisksClient(subscriptionID string) IscsiDisksClient

NewIscsiDisksClient creates an instance of the IscsiDisksClient client.

func NewIscsiDisksClientWithBaseURI

func NewIscsiDisksClientWithBaseURI(baseURI string, subscriptionID string) IscsiDisksClient

NewIscsiDisksClientWithBaseURI creates an instance of the IscsiDisksClient client.

func (IscsiDisksClient) CreateOrUpdate

func (client IscsiDisksClient) CreateOrUpdate(ctx context.Context, deviceName string, iscsiServerName string, diskName string, iscsiDisk ISCSIDisk, resourceGroupName string, managerName string) (result IscsiDisksCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the iscsi disk. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. diskName - the disk name. iscsiDisk - the iscsi disk. resourceGroupName - the resource group name managerName - the manager name

func (IscsiDisksClient) CreateOrUpdatePreparer

func (client IscsiDisksClient) CreateOrUpdatePreparer(ctx context.Context, deviceName string, iscsiServerName string, diskName string, iscsiDisk ISCSIDisk, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (IscsiDisksClient) CreateOrUpdateResponder

func (client IscsiDisksClient) CreateOrUpdateResponder(resp *http.Response) (result ISCSIDisk, err error)

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

func (IscsiDisksClient) CreateOrUpdateSender

func (client IscsiDisksClient) CreateOrUpdateSender(req *http.Request) (future IscsiDisksCreateOrUpdateFuture, err error)

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

func (IscsiDisksClient) Delete

func (client IscsiDisksClient) Delete(ctx context.Context, deviceName string, iscsiServerName string, diskName string, resourceGroupName string, managerName string) (result IscsiDisksDeleteFuture, err error)

Delete deletes the iscsi disk. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. diskName - the disk name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiDisksClient) DeletePreparer

func (client IscsiDisksClient) DeletePreparer(ctx context.Context, deviceName string, iscsiServerName string, diskName string, resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (IscsiDisksClient) DeleteResponder

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

func (client IscsiDisksClient) DeleteSender(req *http.Request) (future IscsiDisksDeleteFuture, err error)

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

func (IscsiDisksClient) Get

func (client IscsiDisksClient) Get(ctx context.Context, deviceName string, iscsiServerName string, diskName string, resourceGroupName string, managerName string) (result ISCSIDisk, err error)

Get returns the properties of the specified iscsi disk name. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. diskName - the disk name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiDisksClient) GetPreparer

func (client IscsiDisksClient) GetPreparer(ctx context.Context, deviceName string, iscsiServerName string, diskName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IscsiDisksClient) GetResponder

func (client IscsiDisksClient) GetResponder(resp *http.Response) (result ISCSIDisk, err error)

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

func (IscsiDisksClient) GetSender

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

func (client IscsiDisksClient) ListByDevice(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result ISCSIDiskList, err error)

ListByDevice retrieves all the iscsi disks in a device. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiDisksClient) ListByDevicePreparer

func (client IscsiDisksClient) ListByDevicePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (IscsiDisksClient) ListByDeviceResponder

func (client IscsiDisksClient) ListByDeviceResponder(resp *http.Response) (result ISCSIDiskList, err error)

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

func (IscsiDisksClient) ListByDeviceSender

func (client IscsiDisksClient) 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 (IscsiDisksClient) ListByIscsiServer

func (client IscsiDisksClient) ListByIscsiServer(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (result ISCSIDiskList, err error)

ListByIscsiServer retrieves all the disks in a iscsi server. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiDisksClient) ListByIscsiServerPreparer

func (client IscsiDisksClient) ListByIscsiServerPreparer(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByIscsiServerPreparer prepares the ListByIscsiServer request.

func (IscsiDisksClient) ListByIscsiServerResponder

func (client IscsiDisksClient) ListByIscsiServerResponder(resp *http.Response) (result ISCSIDiskList, err error)

ListByIscsiServerResponder handles the response to the ListByIscsiServer request. The method always closes the http.Response Body.

func (IscsiDisksClient) ListByIscsiServerSender

func (client IscsiDisksClient) ListByIscsiServerSender(req *http.Request) (*http.Response, error)

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

func (IscsiDisksClient) ListMetricDefinition

func (client IscsiDisksClient) ListMetricDefinition(ctx context.Context, deviceName string, iscsiServerName string, diskName string, resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition retrieves metric definitions for all metric aggregated at the iscsi disk. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. diskName - the iscsi disk name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiDisksClient) ListMetricDefinitionPreparer

func (client IscsiDisksClient) ListMetricDefinitionPreparer(ctx context.Context, deviceName string, iscsiServerName string, diskName string, resourceGroupName string, managerName string) (*http.Request, error)

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (IscsiDisksClient) ListMetricDefinitionResponder

func (client IscsiDisksClient) 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 (IscsiDisksClient) ListMetricDefinitionSender

func (client IscsiDisksClient) 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 (IscsiDisksClient) ListMetrics

func (client IscsiDisksClient) ListMetrics(ctx context.Context, deviceName string, iscsiServerName string, diskName string, resourceGroupName string, managerName string, filter string) (result MetricList, err error)

ListMetrics gets the iscsi disk metrics Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. diskName - the iscsi disk name. resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (IscsiDisksClient) ListMetricsPreparer

func (client IscsiDisksClient) ListMetricsPreparer(ctx context.Context, deviceName string, iscsiServerName string, diskName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (IscsiDisksClient) ListMetricsResponder

func (client IscsiDisksClient) 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 (IscsiDisksClient) ListMetricsSender

func (client IscsiDisksClient) 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 IscsiDisksCreateOrUpdateFuture

type IscsiDisksCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*IscsiDisksCreateOrUpdateFuture) Result

func (future *IscsiDisksCreateOrUpdateFuture) Result(client IscsiDisksClient) (ID ISCSIDisk, err error)

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

type IscsiDisksDeleteFuture

type IscsiDisksDeleteFuture struct {
	azure.Future
}

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

func (*IscsiDisksDeleteFuture) Result

func (future *IscsiDisksDeleteFuture) Result(client IscsiDisksClient) (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 IscsiServersBackupNowFuture

type IscsiServersBackupNowFuture struct {
	azure.Future
}

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

func (*IscsiServersBackupNowFuture) Result

func (future *IscsiServersBackupNowFuture) Result(client IscsiServersClient) (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 IscsiServersClient

type IscsiServersClient struct {
	BaseClient
}

IscsiServersClient is the client for the IscsiServers methods of the Storsimple service.

func NewIscsiServersClient

func NewIscsiServersClient(subscriptionID string) IscsiServersClient

NewIscsiServersClient creates an instance of the IscsiServersClient client.

func NewIscsiServersClientWithBaseURI

func NewIscsiServersClientWithBaseURI(baseURI string, subscriptionID string) IscsiServersClient

NewIscsiServersClientWithBaseURI creates an instance of the IscsiServersClient client.

func (IscsiServersClient) BackupNow

func (client IscsiServersClient) BackupNow(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (result IscsiServersBackupNowFuture, err error)

BackupNow backup the iscsi server now. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiServersClient) BackupNowPreparer

func (client IscsiServersClient) BackupNowPreparer(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (*http.Request, error)

BackupNowPreparer prepares the BackupNow request.

func (IscsiServersClient) BackupNowResponder

func (client IscsiServersClient) 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 (IscsiServersClient) BackupNowSender

func (client IscsiServersClient) BackupNowSender(req *http.Request) (future IscsiServersBackupNowFuture, err error)

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

func (IscsiServersClient) CreateOrUpdate

func (client IscsiServersClient) CreateOrUpdate(ctx context.Context, deviceName string, iscsiServerName string, iscsiServer ISCSIServer, resourceGroupName string, managerName string) (result IscsiServersCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the iscsi server. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. iscsiServer - the iscsi server. resourceGroupName - the resource group name managerName - the manager name

func (IscsiServersClient) CreateOrUpdatePreparer

func (client IscsiServersClient) CreateOrUpdatePreparer(ctx context.Context, deviceName string, iscsiServerName string, iscsiServer ISCSIServer, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (IscsiServersClient) CreateOrUpdateResponder

func (client IscsiServersClient) CreateOrUpdateResponder(resp *http.Response) (result ISCSIServer, err error)

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

func (IscsiServersClient) CreateOrUpdateSender

func (client IscsiServersClient) CreateOrUpdateSender(req *http.Request) (future IscsiServersCreateOrUpdateFuture, err error)

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

func (IscsiServersClient) Delete

func (client IscsiServersClient) Delete(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (result IscsiServersDeleteFuture, err error)

Delete deletes the iscsi server. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiServersClient) DeletePreparer

func (client IscsiServersClient) DeletePreparer(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (IscsiServersClient) DeleteResponder

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

func (client IscsiServersClient) DeleteSender(req *http.Request) (future IscsiServersDeleteFuture, err error)

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

func (IscsiServersClient) Get

func (client IscsiServersClient) Get(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (result ISCSIServer, err error)

Get returns the properties of the specified iscsi server name. Parameters: deviceName - the device name. iscsiServerName - the iscsi server name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiServersClient) GetPreparer

func (client IscsiServersClient) GetPreparer(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IscsiServersClient) GetResponder

func (client IscsiServersClient) GetResponder(resp *http.Response) (result ISCSIServer, err error)

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

func (IscsiServersClient) GetSender

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

func (client IscsiServersClient) ListByDevice(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result ISCSIServerList, err error)

ListByDevice retrieves all the iscsi in a device. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiServersClient) ListByDevicePreparer

func (client IscsiServersClient) ListByDevicePreparer(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (*http.Request, error)

ListByDevicePreparer prepares the ListByDevice request.

func (IscsiServersClient) ListByDeviceResponder

func (client IscsiServersClient) ListByDeviceResponder(resp *http.Response) (result ISCSIServerList, err error)

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

func (IscsiServersClient) ListByDeviceSender

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

func (client IscsiServersClient) ListByManager(ctx context.Context, resourceGroupName string, managerName string) (result ISCSIServerList, err error)

ListByManager retrieves all the iscsi servers in a manager. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (IscsiServersClient) ListByManagerPreparer

func (client IscsiServersClient) ListByManagerPreparer(ctx context.Context, resourceGroupName string, managerName string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (IscsiServersClient) ListByManagerResponder

func (client IscsiServersClient) ListByManagerResponder(resp *http.Response) (result ISCSIServerList, err error)

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

func (IscsiServersClient) ListByManagerSender

func (client IscsiServersClient) 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 (IscsiServersClient) ListMetricDefinition

func (client IscsiServersClient) ListMetricDefinition(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition retrieves metric definitions for all metrics aggregated at iscsi server. Parameters: deviceName - the devie name. iscsiServerName - the iscsi server name. resourceGroupName - the resource group name managerName - the manager name

func (IscsiServersClient) ListMetricDefinitionPreparer

func (client IscsiServersClient) ListMetricDefinitionPreparer(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string) (*http.Request, error)

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (IscsiServersClient) ListMetricDefinitionResponder

func (client IscsiServersClient) 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 (IscsiServersClient) ListMetricDefinitionSender

func (client IscsiServersClient) 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 (IscsiServersClient) ListMetrics

func (client IscsiServersClient) ListMetrics(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string, filter string) (result MetricList, err error)

ListMetrics gets the iscsi server metrics Parameters: deviceName - the devie name. iscsiServerName - the iscsi server name. resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (IscsiServersClient) ListMetricsPreparer

func (client IscsiServersClient) ListMetricsPreparer(ctx context.Context, deviceName string, iscsiServerName string, resourceGroupName string, managerName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (IscsiServersClient) ListMetricsResponder

func (client IscsiServersClient) 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 (IscsiServersClient) ListMetricsSender

func (client IscsiServersClient) 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 IscsiServersCreateOrUpdateFuture

type IscsiServersCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*IscsiServersCreateOrUpdateFuture) Result

func (future *IscsiServersCreateOrUpdateFuture) Result(client IscsiServersClient) (is ISCSIServer, err error)

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

type IscsiServersDeleteFuture

type IscsiServersDeleteFuture struct {
	azure.Future
}

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

func (*IscsiServersDeleteFuture) Result

func (future *IscsiServersDeleteFuture) Result(client IscsiServersClient) (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 Item

type Item struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

Item ...

type Job

type Job struct {
	autorest.Response `json:"-"`
	// Status - Current status of the job. Possible values include: 'JobStatusInvalid', 'JobStatusRunning', 'JobStatusSucceeded', 'JobStatusFailed', 'JobStatusCanceled', 'JobStatusPaused', 'JobStatusScheduled'
	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.
	Error *JobErrorDetails `json:"error,omitempty"`
	// JobProperties - Other properties of the job
	*JobProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

Job the Job.

func (Job) MarshalJSON

func (j Job) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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 code intended for programmatic access
	Code *string `json:"code,omitempty"`
	// Message - The message intended to describe the error in detail
	Message *string `json:"message,omitempty"`
}

JobErrorDetails the job error information containing List of JobErrorItem.

type JobErrorItem

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

JobErrorItem the job error items.

type JobFilter

type JobFilter struct {
	// JobType - The job type. Possible values include: 'JobTypeBackup', 'JobTypeClone', 'JobTypeFailover', 'JobTypeDownloadUpdates', 'JobTypeInstallUpdates'
	JobType JobType `json:"jobType,omitempty"`
	// Status - The job status. Possible values include: 'JobStatusInvalid', 'JobStatusRunning', 'JobStatusSucceeded', 'JobStatusFailed', 'JobStatusCanceled', 'JobStatusPaused', 'JobStatusScheduled'
	Status JobStatus `json:"status,omitempty"`
	// StartTime - The start time of the job.
	StartTime *date.Time `json:"startTime,omitempty"`
}

JobFilter filters that can be specified for the job

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 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. Deprecated: Use NextWithContext() instead.

func (*JobListIterator) NextWithContext

func (iter *JobListIterator) NextWithContext(ctx context.Context) (err error)

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

func (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. Deprecated: Use NextWithContext() instead.

func (*JobListPage) NextWithContext

func (page *JobListPage) NextWithContext(ctx context.Context) (err error)

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

func (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 - Type of the job. Possible values include: 'JobTypeBackup', 'JobTypeClone', 'JobTypeFailover', 'JobTypeDownloadUpdates', 'JobTypeInstallUpdates'
	JobType JobType `json:"jobType,omitempty"`
	// TargetID - Id of the object that is created by the job
	TargetID *string `json:"targetId,omitempty"`
	// EntityID - The entity identifier for which the job ran.
	EntityID *string `json:"entityId,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 is currently running
	DeviceID *string `json:"deviceId,omitempty"`
	// IsCancellable - Represents whether the job is cancellable or not
	IsCancellable *bool `json:"isCancellable,omitempty"`
	// Stats - stats properties for the job
	Stats *JobStats `json:"stats,omitempty"`
	// TargetType - The target type of the backup. Possible values include: 'TargetTypeFileServer', 'TargetTypeDiskServer'
	TargetType TargetType `json:"targetType,omitempty"`
	// SourceDeviceID - The source device identifier 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"`
	// DownloadProgress - The download progress.
	DownloadProgress *UpdateDownloadProgress `json:"downloadProgress,omitempty"`
	// InstallProgress - The install progress.
	InstallProgress *UpdateInstallProgress `json:"installProgress,omitempty"`
}

JobProperties properties for 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: 'JobStatusInvalid', 'JobStatusRunning', 'JobStatusSucceeded', 'JobStatusFailed', 'JobStatusCanceled', 'JobStatusPaused', 'JobStatusScheduled'
	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 contains details about the multiple job stages of a job

type JobStats

type JobStats struct {
	// CompletedWorkItemCount - Completed work item count.
	CompletedWorkItemCount *int32 `json:"completedWorkItemCount,omitempty"`
	// TotalWorkItemCount - Total work item count.
	TotalWorkItemCount *int32 `json:"totalWorkItemCount,omitempty"`
	// EstimatedTimeRemaining - The estimated time remaining.
	EstimatedTimeRemaining *int32 `json:"estimatedTimeRemaining,omitempty"`
}

JobStats stats that are available for all jobs in common

type JobStatus

type JobStatus string

JobStatus enumerates the values for job status.

const (
	// JobStatusCanceled ...
	JobStatusCanceled JobStatus = "Canceled"
	// JobStatusFailed ...
	JobStatusFailed JobStatus = "Failed"
	// JobStatusInvalid ...
	JobStatusInvalid JobStatus = "Invalid"
	// JobStatusPaused ...
	JobStatusPaused JobStatus = "Paused"
	// JobStatusRunning ...
	JobStatusRunning JobStatus = "Running"
	// JobStatusScheduled ...
	JobStatusScheduled JobStatus = "Scheduled"
	// JobStatusSucceeded ...
	JobStatusSucceeded JobStatus = "Succeeded"
)

func PossibleJobStatusValues

func PossibleJobStatusValues() []JobStatus

PossibleJobStatusValues returns an array of possible values for the JobStatus const type.

type JobType

type JobType string

JobType enumerates the values for job type.

const (
	// JobTypeBackup ...
	JobTypeBackup JobType = "Backup"
	// JobTypeClone ...
	JobTypeClone JobType = "Clone"
	// JobTypeDownloadUpdates ...
	JobTypeDownloadUpdates JobType = "DownloadUpdates"
	// JobTypeFailover ...
	JobTypeFailover JobType = "Failover"
	// JobTypeInstallUpdates ...
	JobTypeInstallUpdates JobType = "InstallUpdates"
)

func PossibleJobTypeValues

func PossibleJobTypeValues() []JobType

PossibleJobTypeValues returns an array of possible values for the JobType const type.

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) Get

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

Get returns the properties of the specified job name. Parameters: deviceName - the device name. jobName - the job name. resourceGroupName - the resource group name managerName - 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 retrieves all the jobs in a device. Parameters: deviceName - the device name. resourceGroupName - the resource group name managerName - the manager name filter - 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 retrieves all the jobs in a manager. Parameters: resourceGroupName - the resource group name managerName - the manager name filter - 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 KeyRolloverStatus

type KeyRolloverStatus string

KeyRolloverStatus enumerates the values for key rollover status.

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

func PossibleKeyRolloverStatusValues

func PossibleKeyRolloverStatusValues() []KeyRolloverStatus

PossibleKeyRolloverStatusValues returns an array of possible values for the KeyRolloverStatus const type.

type Manager

type Manager struct {
	autorest.Response `json:"-"`
	// ManagerProperties - List of properties of the Manager
	*ManagerProperties `json:"properties,omitempty"`
	// Etag - ETag of the Manager
	Etag *string `json:"etag,omitempty"`
	// 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 Manager
	Location *string `json:"location,omitempty"`
	// Tags - Tags attached to the Manager
	Tags map[string]*string `json:"tags"`
}

Manager the StorSimple Manager

func (Manager) MarshalJSON

func (mVar Manager) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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:"-"`
	// ManagerExtendedInfoProperties - The extended info properties.
	*ManagerExtendedInfoProperties `json:"properties,omitempty"`
	// Etag - ETag of the Resource
	Etag *string `json:"etag,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

ManagerExtendedInfo the extended info of the manager.

func (ManagerExtendedInfo) MarshalJSON

func (mei ManagerExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagerExtendedInfo.

func (*ManagerExtendedInfo) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ManagerExtendedInfo struct.

type ManagerExtendedInfoProperties

type ManagerExtendedInfoProperties struct {
	// Version - Represents the version of the ExtendedInfo object 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 other keys. None - if EncryptionKey is saved in plain text format. AlgorithmName - if encryption is used
	Algorithm *string `json:"algorithm,omitempty"`
}

ManagerExtendedInfoProperties properties of the ManagerExtendedInfo

type ManagerIntrinsicSettings

type ManagerIntrinsicSettings struct {
	// Type - Refers to the type of the 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 - List of Managers
	Value *[]Manager `json:"value,omitempty"`
}

ManagerList list of storsimple Managers under a particular resourceGroup

type ManagerPatch

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

ManagerPatch the StorSimple Manager patch.

func (ManagerPatch) MarshalJSON

func (mp ManagerPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagerPatch.

type ManagerProperties

type ManagerProperties struct {
	// CisIntrinsicSettings - Specifies if the Manager is Garda or Helsinki
	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 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"
)

func PossibleManagerTypeValues

func PossibleManagerTypeValues() []ManagerType

PossibleManagerTypeValues returns an array of possible values for the ManagerType const type.

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, managerExtendedInfo ManagerExtendedInfo, resourceGroupName string, managerName string) (result ManagerExtendedInfo, err error)

CreateExtendedInfo creates the extended info of the manager. Parameters: managerExtendedInfo - the manager extended information. resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) CreateExtendedInfoPreparer

func (client ManagersClient) CreateExtendedInfoPreparer(ctx context.Context, managerExtendedInfo 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, manager Manager, resourceGroupName string, managerName string) (result Manager, err error)

CreateOrUpdate creates or updates the manager. Parameters: manager - the manager. resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) CreateOrUpdatePreparer

func (client ManagersClient) CreateOrUpdatePreparer(ctx context.Context, manager 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. Parameters: resourceGroupName - the resource group name managerName - 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. Parameters: resourceGroupName - the resource group name managerName - 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. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) GetEncryptionKey

func (client ManagersClient) GetEncryptionKey(ctx context.Context, resourceGroupName string, managerName string) (result SymmetricEncryptedSecret, err error)

GetEncryptionKey returns the symmetric encryption key of the manager. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) GetEncryptionKeyPreparer

func (client ManagersClient) GetEncryptionKeyPreparer(ctx context.Context, resourceGroupName string, managerName string) (*http.Request, error)

GetEncryptionKeyPreparer prepares the GetEncryptionKey request.

func (ManagersClient) GetEncryptionKeyResponder

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

GetEncryptionKeyResponder handles the response to the GetEncryptionKey request. The method always closes the http.Response Body.

func (ManagersClient) GetEncryptionKeySender

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

GetEncryptionKeySender sends the GetEncryptionKey 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. Parameters: resourceGroupName - the resource group name managerName - 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. Parameters: resourceGroupName - the resource group name managerName - 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) 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. Parameters: resourceGroupName - 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) ListMetricDefinition

func (client ManagersClient) ListMetricDefinition(ctx context.Context, resourceGroupName string, managerName string) (result MetricDefinitionList, err error)

ListMetricDefinition retrieves metric definition of all metrics aggregated at manager. Parameters: resourceGroupName - the resource group name managerName - 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 manager metrics Parameters: resourceGroupName - the resource group name managerName - the manager name filter - 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) Update

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

Update updates the StorSimple Manager. Parameters: parameters - the manager update parameters. resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) UpdateExtendedInfo

func (client ManagersClient) UpdateExtendedInfo(ctx context.Context, managerExtendedInfo ManagerExtendedInfo, resourceGroupName string, managerName string, ifMatch string) (result ManagerExtendedInfo, err error)

UpdateExtendedInfo updates the extended info of the manager. Parameters: managerExtendedInfo - the manager extended information. resourceGroupName - the resource group name managerName - the manager name ifMatch - pass the ETag of ExtendedInfo fetched from GET call

func (ManagersClient) UpdateExtendedInfoPreparer

func (client ManagersClient) UpdateExtendedInfoPreparer(ctx context.Context, managerExtendedInfo 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.

func (ManagersClient) UploadRegistrationCertificate

func (client ManagersClient) UploadRegistrationCertificate(ctx context.Context, certificateName string, uploadCertificateRequestrequest UploadCertificateRequest, resourceGroupName string, managerName string) (result UploadCertificateResponse, err error)

UploadRegistrationCertificate upload Vault Cred Certificate. Returns UploadCertificateResponse Parameters: certificateName - certificate Name uploadCertificateRequestrequest - uploadCertificateRequest Request resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) UploadRegistrationCertificatePreparer

func (client ManagersClient) UploadRegistrationCertificatePreparer(ctx context.Context, certificateName string, uploadCertificateRequestrequest UploadCertificateRequest, resourceGroupName string, managerName string) (*http.Request, error)

UploadRegistrationCertificatePreparer prepares the UploadRegistrationCertificate request.

func (ManagersClient) UploadRegistrationCertificateResponder

func (client ManagersClient) UploadRegistrationCertificateResponder(resp *http.Response) (result UploadCertificateResponse, err error)

UploadRegistrationCertificateResponder handles the response to the UploadRegistrationCertificate request. The method always closes the http.Response Body.

func (ManagersClient) UploadRegistrationCertificateSender

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

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

type Message

type Message struct {
	Language *string `json:"language,omitempty"`
	Value    *string `json:"value,omitempty"`
}

Message ...

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"
)

func PossibleMetricAggregationTypeValues

func PossibleMetricAggregationTypeValues() []MetricAggregationType

PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.

type MetricAvailablity

type MetricAvailablity struct {
	// TimeGrain - The time grain, specifies 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 metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain

type MetricData

type MetricData struct {
	// TimeStamp - The time when the metric data is fetched
	TimeStamp *date.Time `json:"timeStamp,omitempty"`
	// Sum - The sum of all the samples available in the given instance of time for the specific metric data
	Sum *float64 `json:"sum,omitempty"`
	// Count - The count of samples of the metric data available for the given instance
	Count *int32 `json:"count,omitempty"`
	// Average - The average of all sample for the given instance
	Average *float64 `json:"average,omitempty"`
	// Minimum - The minimum of all samples available
	Minimum *float64 `json:"minimum,omitempty"`
	// Maximum - The maximum of all samples available
	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 supported dimensions
	Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
	// Type - The metric definition type
	Type *string `json:"type,omitempty"`
}

MetricDefinition monitoring metric definition represents the metadata of the metrics.

type MetricDefinitionList

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

MetricDefinitionList list of metric definition

type MetricDimension

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

MetricDimension metric dimension

type MetricFilter

type MetricFilter struct {
	// Name - filter for name property
	Name *MetricNameFilter `json:"name,omitempty"`
	// StartTime - starttime for fetching metrics
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - endtime for fetching metrics
	EndTime *date.Time `json:"endTime,omitempty"`
	// TimeGrain - timegrain of the metrics
	TimeGrain *string `json:"timeGrain,omitempty"`
}

MetricFilter class representing the filters to be passed while fetching metrics

type MetricList

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

MetricList collection of metrics

type MetricName

type MetricName struct {
	// Value - Name of the metric
	Value *string `json:"value,omitempty"`
	// LocalizedValue - Localized name of the metric
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

MetricName the name of the metric

type MetricNameFilter

type MetricNameFilter struct {
	// Value - The value.
	Value *string `json:"value,omitempty"`
}

MetricNameFilter class representing the name filter to be passed while fetching metrics

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"
)

func PossibleMetricUnitValues

func PossibleMetricUnitValues() []MetricUnit

PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.

type Metrics

type Metrics struct {
	// ResourceID - The id of metric source
	ResourceID *string `json:"resourceId,omitempty"`
	// StartTime - The metric start time
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The metric end time
	EndTime *date.Time `json:"endTime,omitempty"`
	// TimeGrain - The time grain, time grain indicates frequency 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 metrics
	Name *MetricName `json:"name,omitempty"`
	// Dimensions - The Metric dimension which indicates the source of the metric
	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 metric data
	Values *[]MetricData `json:"values,omitempty"`
}

Metrics monitoring metric

type MonitoringStatus

type MonitoringStatus string

MonitoringStatus enumerates the values for monitoring status.

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

func PossibleMonitoringStatusValues

func PossibleMonitoringStatusValues() []MonitoringStatus

PossibleMonitoringStatusValues returns an array of possible values for the MonitoringStatus const type.

type NetworkAdapter

type NetworkAdapter struct {
	// NetworkAdapterName - The name of the network adapter.
	NetworkAdapterName *string `json:"networkAdapterName,omitempty"`
	// IPv4Info - The ipv4 configuration of the network adapter.
	IPv4Info *IPConfig `json:"iPv4Info,omitempty"`
	// IPv6Info - The ipv6 configuration of the network adapter.
	IPv6Info *IPConfig `json:"iPv6Info,omitempty"`
	// DhcpStatus - Represents state of DHCP. Possible values include: 'DhcpStatusEnabled', 'DhcpStatusDisabled'
	DhcpStatus DhcpStatus `json:"dhcpStatus,omitempty"`
	// LinkSpeed - The speed of the network adapter.
	LinkSpeed *int64 `json:"linkSpeed,omitempty"`
}

NetworkAdapter represents a networkAdapter in a particular node.

type NetworkSettings

type NetworkSettings struct {
	autorest.Response `json:"-"`
	// NetworkSettingsProperties - Properties of the given NetworkSettings.
	*NetworkSettingsProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

NetworkSettings the NetworkSettings of a device

func (NetworkSettings) MarshalJSON

func (ns NetworkSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkSettings.

func (*NetworkSettings) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for NetworkSettings struct.

type NetworkSettingsProperties

type NetworkSettingsProperties struct {
	// PrimaryDNSServer - The Primary DNS server for the device
	PrimaryDNSServer *string `json:"primaryDnsServer,omitempty"`
	// SecondaryDNSServer - The secondary DNS server for the device
	SecondaryDNSServer *string `json:"secondaryDnsServer,omitempty"`
	// NodeNetworks - The NetworkAdapters under each node of the device.
	NodeNetworks *[]NodeNetwork `json:"nodeNetworks,omitempty"`
}

NetworkSettingsProperties the properties of NetworkSettings

type NodeNetwork

type NodeNetwork struct {
	// NetworkAdapters - The array of network adapters in the node.
	NetworkAdapters *[]NetworkAdapter `json:"networkAdapters,omitempty"`
}

NodeNetwork represents a single node in a device.

type RawCertificateData

type RawCertificateData struct {
	// AuthType - Specify the Authentication type. Possible values include: 'Invalid', 'AccessControlService', 'AzureActiveDirectory'
	AuthType AuthType `json:"authType,omitempty"`
	// Certificate - Gets or sets the base64 encoded certificate raw data string
	Certificate *string `json:"certificate,omitempty"`
}

RawCertificateData raw Certificate Data From IDM

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 Manager
	Location *string `json:"location,omitempty"`
	// Tags - Tags attached to the Manager
	Tags map[string]*string `json:"tags"`
}

Resource the Azure Resource.

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type ResourceCertificateAndAADDetails

type ResourceCertificateAndAADDetails struct {
	// AuthType - Specify the Authentication type. Possible values include: 'Invalid', 'AccessControlService', 'AzureActiveDirectory'
	AuthType AuthType `json:"authType,omitempty"`
	// Certificate - Gets or sets the base64 encoded certificate raw data string
	Certificate *string `json:"certificate,omitempty"`
	// ResourceID - Gets or Sets the ResourceId
	ResourceID *int64 `json:"resourceId,omitempty"`
	// AadAuthority - AAD tenant authority
	AadAuthority *string `json:"aadAuthority,omitempty"`
	// AadTenantID - AAD tenant Id
	AadTenantID *string `json:"aadTenantId,omitempty"`
	// ServicePrincipalClientID - AAD service principal clientId
	ServicePrincipalClientID *string `json:"servicePrincipalClientId,omitempty"`
	// ServicePrincipalObjectID - AAD service principal ObjectId
	ServicePrincipalObjectID *string `json:"servicePrincipalObjectId,omitempty"`
	// AzureManagementEndpointAudience - Azure Management Endpoint Audience
	AzureManagementEndpointAudience *string `json:"azureManagementEndpointAudience,omitempty"`
	// Subject - Certificate Subject Name
	Subject *string `json:"subject,omitempty"`
	// ValidFrom - Certificate Validity start Date time
	ValidFrom *date.Time `json:"validFrom,omitempty"`
	// ValidTo - Certificate Validity End Date time
	ValidTo *date.Time `json:"validTo,omitempty"`
	// Thumbprint - Certificate thumbrprint
	Thumbprint *string `json:"thumbprint,omitempty"`
	// FriendlyName - Certificate friendlyname
	FriendlyName *string `json:"friendlyName,omitempty"`
	// Issuer - Certificate issuer
	Issuer *string `json:"issuer,omitempty"`
}

ResourceCertificateAndAADDetails resource Certificate And AAD Details from IDM

type SecuritySettings

type SecuritySettings struct {
	// SecuritySettingsProperties - Properties of the SecuritySettings.
	*SecuritySettingsProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

SecuritySettings the SecuritySettings of a device

func (SecuritySettings) MarshalJSON

func (ss SecuritySettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecuritySettings.

func (*SecuritySettings) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for SecuritySettings struct.

type SecuritySettingsProperties

type SecuritySettingsProperties struct {
	// DeviceAdminPassword - Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to log into the  local web UI of the device. Actual password could have at least 8 characters that are a combination of  uppercase, lowercase, numeric, and special characters
	DeviceAdminPassword *AsymmetricEncryptedSecret `json:"deviceAdminPassword,omitempty"`
}

SecuritySettingsProperties the properties of SecuritySettings

type SendTestAlertEmailRequest

type SendTestAlertEmailRequest struct {
	// EmailList - List of emails to send the test alerts
	EmailList *[]string `json:"emailList,omitempty"`
}

SendTestAlertEmailRequest request for sending test alert email

type ServiceOwnersAlertNotificationStatus

type ServiceOwnersAlertNotificationStatus string

ServiceOwnersAlertNotificationStatus enumerates the values for service owners alert notification status.

const (
	// ServiceOwnersAlertNotificationStatusDisabled ...
	ServiceOwnersAlertNotificationStatusDisabled ServiceOwnersAlertNotificationStatus = "Disabled"
	// ServiceOwnersAlertNotificationStatusEnabled ...
	ServiceOwnersAlertNotificationStatusEnabled ServiceOwnersAlertNotificationStatus = "Enabled"
)

func PossibleServiceOwnersAlertNotificationStatusValues

func PossibleServiceOwnersAlertNotificationStatusValues() []ServiceOwnersAlertNotificationStatus

PossibleServiceOwnersAlertNotificationStatusValues returns an array of possible values for the ServiceOwnersAlertNotificationStatus const type.

type ShareStatus

type ShareStatus string

ShareStatus enumerates the values for share status.

const (
	// ShareStatusOffline ...
	ShareStatusOffline ShareStatus = "Offline"
	// ShareStatusOnline ...
	ShareStatusOnline ShareStatus = "Online"
)

func PossibleShareStatusValues

func PossibleShareStatusValues() []ShareStatus

PossibleShareStatusValues returns an array of possible values for the ShareStatus const type.

type SslStatus

type SslStatus string

SslStatus enumerates the values for ssl status.

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

func PossibleSslStatusValues

func PossibleSslStatusValues() []SslStatus

PossibleSslStatusValues returns an array of possible values for the SslStatus const type.

type StorageAccountCredential

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

StorageAccountCredential the storage account credential

func (StorageAccountCredential) MarshalJSON

func (sac StorageAccountCredential) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageAccountCredential.

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 collection of Storage account credential entities

type StorageAccountCredentialProperties

type StorageAccountCredentialProperties struct {
	// CloudType - The cloud service provider. Possible values include: 'Azure', 'S3', 'S3RRS', 'OpenStack', 'HP'
	CloudType CloudType `json:"cloudType,omitempty"`
	// EndPoint - The storage endpoint
	EndPoint *string `json:"endPoint,omitempty"`
	// Login - The storage account login
	Login *string `json:"login,omitempty"`
	// Location - The storage account's geo location
	Location *string `json:"location,omitempty"`
	// EnableSSL - SSL needs to be enabled or not. Possible values include: 'SslStatusEnabled', 'SslStatusDisabled'
	EnableSSL SslStatus `json:"enableSSL,omitempty"`
	// AccessKey - The details of the storage account password
	AccessKey *AsymmetricEncryptedSecret `json:"accessKey,omitempty"`
}

StorageAccountCredentialProperties storage account 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, credentialName string, storageAccount StorageAccountCredential, resourceGroupName string, managerName string) (result StorageAccountCredentialsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the storage account credential Parameters: credentialName - the credential name. storageAccount - the storage account credential to be added or updated. resourceGroupName - the resource group name managerName - the manager name

func (StorageAccountCredentialsClient) CreateOrUpdatePreparer

func (client StorageAccountCredentialsClient) CreateOrUpdatePreparer(ctx context.Context, credentialName string, storageAccount 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, credentialName string, resourceGroupName string, managerName string) (result StorageAccountCredentialsDeleteFuture, err error)

Delete deletes the storage account credential Parameters: credentialName - the name of the storage account credential. resourceGroupName - the resource group name managerName - the manager name

func (StorageAccountCredentialsClient) DeletePreparer

func (client StorageAccountCredentialsClient) DeletePreparer(ctx context.Context, credentialName 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, credentialName string, resourceGroupName string, managerName string) (result StorageAccountCredential, err error)

Get returns the properties of the specified storage account credential name. Parameters: credentialName - the name of storage account credential to be fetched. resourceGroupName - the resource group name managerName - the manager name

func (StorageAccountCredentialsClient) GetPreparer

func (client StorageAccountCredentialsClient) GetPreparer(ctx context.Context, credentialName 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 retrieves all the storage account credentials in a manager. Parameters: resourceGroupName - the resource group name managerName - 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
}

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
}

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 StorageDomain

type StorageDomain struct {
	autorest.Response `json:"-"`
	// StorageDomainProperties - The properties.
	*StorageDomainProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

StorageDomain the storage domain.

func (StorageDomain) MarshalJSON

func (sd StorageDomain) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageDomain.

func (*StorageDomain) UnmarshalJSON

func (sd *StorageDomain) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StorageDomain struct.

type StorageDomainList

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

StorageDomainList collection of storage domains

type StorageDomainProperties

type StorageDomainProperties struct {
	// StorageAccountCredentialIds - The storage account credentials.
	StorageAccountCredentialIds *[]string `json:"storageAccountCredentialIds,omitempty"`
	// EncryptionKey - The encryption key used to encrypt the data. This is a user secret.
	EncryptionKey *AsymmetricEncryptedSecret `json:"encryptionKey,omitempty"`
	// EncryptionStatus - The encryption status "Enabled | Disabled". Possible values include: 'EncryptionStatusEnabled', 'EncryptionStatusDisabled'
	EncryptionStatus EncryptionStatus `json:"encryptionStatus,omitempty"`
}

StorageDomainProperties the storage domain properties.

type StorageDomainsClient

type StorageDomainsClient struct {
	BaseClient
}

StorageDomainsClient is the client for the StorageDomains methods of the Storsimple service.

func NewStorageDomainsClient

func NewStorageDomainsClient(subscriptionID string) StorageDomainsClient

NewStorageDomainsClient creates an instance of the StorageDomainsClient client.

func NewStorageDomainsClientWithBaseURI

func NewStorageDomainsClientWithBaseURI(baseURI string, subscriptionID string) StorageDomainsClient

NewStorageDomainsClientWithBaseURI creates an instance of the StorageDomainsClient client.

func (StorageDomainsClient) CreateOrUpdate

func (client StorageDomainsClient) CreateOrUpdate(ctx context.Context, storageDomainName string, storageDomain StorageDomain, resourceGroupName string, managerName string) (result StorageDomainsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the storage domain. Parameters: storageDomainName - the storage domain name. storageDomain - the storageDomain. resourceGroupName - the resource group name managerName - the manager name

func (StorageDomainsClient) CreateOrUpdatePreparer

func (client StorageDomainsClient) CreateOrUpdatePreparer(ctx context.Context, storageDomainName string, storageDomain StorageDomain, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (StorageDomainsClient) CreateOrUpdateResponder

func (client StorageDomainsClient) CreateOrUpdateResponder(resp *http.Response) (result StorageDomain, err error)

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

func (StorageDomainsClient) CreateOrUpdateSender

func (client StorageDomainsClient) CreateOrUpdateSender(req *http.Request) (future StorageDomainsCreateOrUpdateFuture, err error)

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

func (StorageDomainsClient) Delete

func (client StorageDomainsClient) Delete(ctx context.Context, storageDomainName string, resourceGroupName string, managerName string) (result StorageDomainsDeleteFuture, err error)

Delete deletes the storage domain. Parameters: storageDomainName - the storage domain name. resourceGroupName - the resource group name managerName - the manager name

func (StorageDomainsClient) DeletePreparer

func (client StorageDomainsClient) DeletePreparer(ctx context.Context, storageDomainName string, resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (StorageDomainsClient) DeleteResponder

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

func (client StorageDomainsClient) DeleteSender(req *http.Request) (future StorageDomainsDeleteFuture, err error)

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

func (StorageDomainsClient) Get

func (client StorageDomainsClient) Get(ctx context.Context, storageDomainName string, resourceGroupName string, managerName string) (result StorageDomain, err error)

Get returns the properties of the specified storage domain name. Parameters: storageDomainName - the storage domain name. resourceGroupName - the resource group name managerName - the manager name

func (StorageDomainsClient) GetPreparer

func (client StorageDomainsClient) GetPreparer(ctx context.Context, storageDomainName string, resourceGroupName string, managerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StorageDomainsClient) GetResponder

func (client StorageDomainsClient) GetResponder(resp *http.Response) (result StorageDomain, err error)

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

func (StorageDomainsClient) GetSender

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

func (client StorageDomainsClient) ListByManager(ctx context.Context, resourceGroupName string, managerName string) (result StorageDomainList, err error)

ListByManager retrieves all the storage domains in a manager. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (StorageDomainsClient) ListByManagerPreparer

func (client StorageDomainsClient) ListByManagerPreparer(ctx context.Context, resourceGroupName string, managerName string) (*http.Request, error)

ListByManagerPreparer prepares the ListByManager request.

func (StorageDomainsClient) ListByManagerResponder

func (client StorageDomainsClient) ListByManagerResponder(resp *http.Response) (result StorageDomainList, err error)

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

func (StorageDomainsClient) ListByManagerSender

func (client StorageDomainsClient) 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 StorageDomainsCreateOrUpdateFuture

type StorageDomainsCreateOrUpdateFuture struct {
	azure.Future
}

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

func (*StorageDomainsCreateOrUpdateFuture) Result

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

type StorageDomainsDeleteFuture

type StorageDomainsDeleteFuture struct {
	azure.Future
}

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

func (*StorageDomainsDeleteFuture) Result

func (future *StorageDomainsDeleteFuture) Result(client StorageDomainsClient) (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 SupportedDeviceCapabilities

type SupportedDeviceCapabilities string

SupportedDeviceCapabilities enumerates the values for supported device capabilities.

const (
	// SupportedDeviceCapabilitiesFileServer ...
	SupportedDeviceCapabilitiesFileServer SupportedDeviceCapabilities = "FileServer"
	// SupportedDeviceCapabilitiesInvalid ...
	SupportedDeviceCapabilitiesInvalid SupportedDeviceCapabilities = "Invalid"
	// SupportedDeviceCapabilitiesIscsiServer ...
	SupportedDeviceCapabilitiesIscsiServer SupportedDeviceCapabilities = "IscsiServer"
)

func PossibleSupportedDeviceCapabilitiesValues

func PossibleSupportedDeviceCapabilitiesValues() []SupportedDeviceCapabilities

PossibleSupportedDeviceCapabilitiesValues returns an array of possible values for the SupportedDeviceCapabilities const type.

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 - Thumbprint cert that was used to encrypt "Value"
	ValueCertificateThumbprint *string `json:"valueCertificateThumbprint,omitempty"`
	// EncryptionAlgorithm - Algorithm used to encrypt "Value". Possible values include: 'EncryptionAlgorithmNone', 'EncryptionAlgorithmAES256', 'EncryptionAlgorithmRSAESPKCS1V15'
	EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}

SymmetricEncryptedSecret this class can be used as the Type for any secret entity represented as Value, ValueCertificateThumbprint, EncryptionAlgorithm. In this case, "Value" is a secret and the "valueThumbprint" represents the certificate thumbprint of the value. The algorithm field is mainly for future usage to potentially allow different entities encrypted using different algorithms.

type TargetType

type TargetType string

TargetType enumerates the values for target type.

const (
	// TargetTypeDiskServer ...
	TargetTypeDiskServer TargetType = "DiskServer"
	// TargetTypeFileServer ...
	TargetTypeFileServer TargetType = "FileServer"
)

func PossibleTargetTypeValues

func PossibleTargetTypeValues() []TargetType

PossibleTargetTypeValues returns an array of possible values for the TargetType const type.

type Time

type Time struct {
	// Hour - The hour.
	Hour *int32 `json:"hour,omitempty"`
	// Minute - The minute.
	Minute *int32 `json:"minute,omitempty"`
}

Time the Time.

type TimeSettings

type TimeSettings struct {
	autorest.Response `json:"-"`
	// TimeSettingsProperties - Properties of the TimeSettings.
	*TimeSettingsProperties `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

TimeSettings the TimeSettings of a device

func (TimeSettings) MarshalJSON

func (ts TimeSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TimeSettings.

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 TimeSettings

type UpdateDownloadProgress

type UpdateDownloadProgress struct {
	// DownloadPhase - The download phase. Possible values include: 'DownloadPhaseUnknown', 'DownloadPhaseInitializing', 'DownloadPhaseDownloading', 'DownloadPhaseVerifying'
	DownloadPhase DownloadPhase `json:"downloadPhase,omitempty"`
	// PercentComplete - Percentage of completion.
	PercentComplete *int32 `json:"percentComplete,omitempty"`
	// TotalBytesToDownload - Total bytes to download.
	TotalBytesToDownload *float64 `json:"totalBytesToDownload,omitempty"`
	// TotalBytesDownloaded - Total bytes downloaded.
	TotalBytesDownloaded *float64 `json:"totalBytesDownloaded,omitempty"`
	// NumberOfUpdatesToDownload - Number of updates to download.
	NumberOfUpdatesToDownload *int32 `json:"numberOfUpdatesToDownload,omitempty"`
	// NumberOfUpdatesDownloaded - Number of updates downloaded.
	NumberOfUpdatesDownloaded *int32 `json:"numberOfUpdatesDownloaded,omitempty"`
}

UpdateDownloadProgress details available during the download

type UpdateInstallProgress

type UpdateInstallProgress struct {
	// PercentComplete - Percentage of completion.
	PercentComplete *int32 `json:"percentComplete,omitempty"`
	// NumberOfUpdatesToInstall - Number of updates to install.
	NumberOfUpdatesToInstall *int32 `json:"numberOfUpdatesToInstall,omitempty"`
	// NumberOfUpdatesInstalled - Number of updates installed.
	NumberOfUpdatesInstalled *int32 `json:"numberOfUpdatesInstalled,omitempty"`
}

UpdateInstallProgress class representing the progress during installation of updates

type UpdateOperation

type UpdateOperation string

UpdateOperation enumerates the values for update operation.

const (
	// Downloading ...
	Downloading UpdateOperation = "Downloading"
	// Idle ...
	Idle UpdateOperation = "Idle"
	// Installing ...
	Installing UpdateOperation = "Installing"
	// Scanning ...
	Scanning UpdateOperation = "Scanning"
)

func PossibleUpdateOperationValues

func PossibleUpdateOperationValues() []UpdateOperation

PossibleUpdateOperationValues returns an array of possible values for the UpdateOperation const type.

type Updates

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

Updates the updates profile

func (Updates) MarshalJSON

func (u Updates) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Updates.

func (*Updates) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Updates struct.

type UpdatesProperties

type UpdatesProperties struct {
	// DeviceVersion - The current Device version.
	DeviceVersion *string `json:"deviceVersion,omitempty"`
	// DeviceLastScannedTime - The last time when the device did an update scan.
	DeviceLastScannedTime *date.Time `json:"deviceLastScannedTime,omitempty"`
	// RegularUpdatesAvailable - Set to true if regular updates were detected for the current version of the device.
	RegularUpdatesAvailable *bool `json:"regularUpdatesAvailable,omitempty"`
	// RebootRequiredForInstall - Set to true if RegularUpdatesAvailable is true and if atleast one of the updateItems detected has needs a reboot to install.
	RebootRequiredForInstall *bool `json:"rebootRequiredForInstall,omitempty"`
	// TotalItemsPendingForDownload - The total number of items pending for download.
	TotalItemsPendingForDownload *int32 `json:"totalItemsPendingForDownload,omitempty"`
	// TotalItemsPendingForInstall - The total number of items pending for install.
	TotalItemsPendingForInstall *int32 `json:"totalItemsPendingForInstall,omitempty"`
	// Status - The current update operation. Possible values include: 'Idle', 'Scanning', 'Downloading', 'Installing'
	Status UpdateOperation `json:"status,omitempty"`
	// LastCompletedScanTime - The time when the last scan job was completed (success|cancelled|failed) on the device.
	LastCompletedScanTime *date.Time `json:"lastCompletedScanTime,omitempty"`
	// LastCompletedDownloadJobTime - The time when the last Download job was completed (success|cancelled|failed) on the device.
	LastCompletedDownloadJobTime *date.Time `json:"lastCompletedDownloadJobTime,omitempty"`
	// LastCompletedInstallJobTime - The time when the last Install job was completed (success|cancelled|failed) on the device.
	LastCompletedInstallJobTime *date.Time `json:"lastCompletedInstallJobTime,omitempty"`
	// InProgressDownloadJobID - If a download is in progress, this field contains the JobId of that particular download job
	InProgressDownloadJobID *string `json:"inProgressDownloadJobId,omitempty"`
	// InProgressInstallJobID - If an install is in progress, this field contains the JobId of that particular install job
	InProgressInstallJobID *string `json:"inProgressInstallJobId,omitempty"`
	// InProgressScanStartedTime - The time when the currently running scan (if any) started
	InProgressScanStartedTime *date.Time `json:"inProgressScanStartedTime,omitempty"`
	// InProgressDownloadJobStartedTime - The time when the currently running download (if any) started
	InProgressDownloadJobStartedTime *date.Time `json:"inProgressDownloadJobStartedTime,omitempty"`
	// InProgressInstallJobStartedTime - The time when the currently running install (if any) started
	InProgressInstallJobStartedTime *date.Time `json:"inProgressInstallJobStartedTime,omitempty"`
}

UpdatesProperties properties of the update profile

type UploadCertificateRequest

type UploadCertificateRequest struct {
	*RawCertificateData `json:"properties,omitempty"`
	// ContractVersion - Gets ContractVersion. Possible values include: 'InvalidVersion', 'V201109', 'V201202', 'V201205', 'V201212', 'V201304', 'V201310', 'V201311', 'V201404', 'V201406', 'V201407', 'V201409', 'V201410', 'V201412', 'V201501', 'V201502', 'V201504', 'V201505', 'V201506', 'V201507', 'V201508', 'V201510', 'V201512', 'V201601', 'V201602', 'V201604', 'V201605', 'V201607', 'V201608'
	ContractVersion ContractVersions `json:"contractVersion,omitempty"`
}

UploadCertificateRequest upload Certificate Request to IDM

func (UploadCertificateRequest) MarshalJSON

func (ucr UploadCertificateRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UploadCertificateRequest.

func (*UploadCertificateRequest) UnmarshalJSON

func (ucr *UploadCertificateRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UploadCertificateRequest struct.

type UploadCertificateResponse

type UploadCertificateResponse struct {
	autorest.Response                 `json:"-"`
	*ResourceCertificateAndAADDetails `json:"properties,omitempty"`
	// ID - The identifier.
	ID *string `json:"id,omitempty"`
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Type - The type.
	Type *string `json:"type,omitempty"`
}

UploadCertificateResponse upload Certificate Response from IDM

func (UploadCertificateResponse) MarshalJSON

func (ucr UploadCertificateResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UploadCertificateResponse.

func (*UploadCertificateResponse) UnmarshalJSON

func (ucr *UploadCertificateResponse) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UploadCertificateResponse struct.

Jump to

Keyboard shortcuts

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