azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/storsimple8000series/mgmt/2017-06-01/storsimple Index | Files | Directories

package storsimple

import "github.com/Azure/azure-sdk-for-go/services/storsimple8000series/mgmt/2017-06-01/storsimple"

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

Index

Package Files

accesscontrolrecords.go alerts.go backuppolicies.go backups.go backupschedules.go bandwidthsettings.go client.go cloudappliances.go devices.go devicesettings.go hardwarecomponentgroups.go jobs.go managers.go models.go operations.go storageaccountcredentials.go version.go volumecontainers.go volumes.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Storsimple
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AccessControlRecord Uses

type AccessControlRecord struct {
    autorest.Response `json:"-"`
    // AccessControlRecordProperties - The properties of access control record.
    *AccessControlRecordProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The path ID that uniquely identifies the object.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the object.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The hierarchical type of the object.
    Type *string `json:"type,omitempty"`
    // Kind - The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'
    Kind Kind `json:"kind,omitempty"`
}

AccessControlRecord the access control record.

func (AccessControlRecord) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AccessControlRecord.

func (*AccessControlRecord) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AccessControlRecord struct.

type AccessControlRecordList Uses

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

AccessControlRecordList the collection of access control records.

type AccessControlRecordProperties Uses

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

AccessControlRecordProperties the properties of access control record.

type AccessControlRecordsClient Uses

type AccessControlRecordsClient struct {
    BaseClient
}

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

func NewAccessControlRecordsClient Uses

func NewAccessControlRecordsClient(subscriptionID string) AccessControlRecordsClient

NewAccessControlRecordsClient creates an instance of the AccessControlRecordsClient client.

func NewAccessControlRecordsClientWithBaseURI Uses

func NewAccessControlRecordsClientWithBaseURI(baseURI string, subscriptionID string) AccessControlRecordsClient

NewAccessControlRecordsClientWithBaseURI creates an instance of the AccessControlRecordsClient client.

func (AccessControlRecordsClient) CreateOrUpdate Uses

func (client AccessControlRecordsClient) CreateOrUpdate(ctx context.Context, accessControlRecordName string, parameters AccessControlRecord, resourceGroupName string, managerName string) (result AccessControlRecordsCreateOrUpdateFuture, err error)

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

func (AccessControlRecordsClient) CreateOrUpdatePreparer Uses

func (client AccessControlRecordsClient) CreateOrUpdatePreparer(ctx context.Context, accessControlRecordName string, parameters AccessControlRecord, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccessControlRecordsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (AccessControlRecordsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (AccessControlRecordsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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

ListByManagerPreparer prepares the ListByManager request.

func (AccessControlRecordsClient) ListByManagerResponder Uses

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 Uses

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 Uses

type AccessControlRecordsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*AccessControlRecordsCreateOrUpdateFuture) Result Uses

func (future *AccessControlRecordsCreateOrUpdateFuture) Result(client AccessControlRecordsClient) (acr AccessControlRecord, err error)

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

type AccessControlRecordsDeleteFuture Uses

type AccessControlRecordsDeleteFuture struct {
    azure.Future
}

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

func (*AccessControlRecordsDeleteFuture) Result Uses

func (future *AccessControlRecordsDeleteFuture) Result(client AccessControlRecordsClient) (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 AcsConfiguration Uses

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

AcsConfiguration the ACS configuration.

type Alert Uses

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

Alert the alert.

func (Alert) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Alert.

func (*Alert) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Alert struct.

type AlertEmailNotificationStatus Uses

type AlertEmailNotificationStatus string

AlertEmailNotificationStatus enumerates the values for alert email notification status.

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

func PossibleAlertEmailNotificationStatusValues Uses

func PossibleAlertEmailNotificationStatusValues() []AlertEmailNotificationStatus

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

type AlertErrorDetails Uses

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

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

type AlertFilter Uses

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

AlertFilter the OData filters to be used for Alert

type AlertList Uses

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

AlertList the collection of alerts.

func (AlertList) IsEmpty Uses

func (al AlertList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AlertListIterator Uses

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

AlertListIterator provides access to a complete listing of Alert values.

func NewAlertListIterator Uses

func NewAlertListIterator(page AlertListPage) AlertListIterator

Creates a new instance of the AlertListIterator type.

func (*AlertListIterator) Next Uses

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 Uses

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 Uses

func (iter AlertListIterator) NotDone() bool

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

func (AlertListIterator) Response Uses

func (iter AlertListIterator) Response() AlertList

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

func (AlertListIterator) Value Uses

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 Uses

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

AlertListPage contains a page of Alert values.

func NewAlertListPage Uses

func NewAlertListPage(getNextPage func(context.Context, AlertList) (AlertList, error)) AlertListPage

Creates a new instance of the AlertListPage type.

func (*AlertListPage) Next Uses

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 Uses

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 Uses

func (page AlertListPage) NotDone() bool

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

func (AlertListPage) Response Uses

func (page AlertListPage) Response() AlertList

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

func (AlertListPage) Values Uses

func (page AlertListPage) Values() []Alert

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

type AlertNotificationProperties Uses

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

AlertNotificationProperties the properties of the alert notification settings.

type AlertProperties Uses

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

AlertProperties the properties of alert

func (AlertProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AlertProperties.

type AlertScope Uses

type AlertScope string

AlertScope enumerates the values for alert scope.

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

func PossibleAlertScopeValues Uses

func PossibleAlertScopeValues() []AlertScope

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

type AlertSettings Uses

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

AlertSettings the alert settings.

func (AlertSettings) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AlertSettings.

func (*AlertSettings) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AlertSettings struct.

type AlertSeverity Uses

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 Uses

func PossibleAlertSeverityValues() []AlertSeverity

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

type AlertSource Uses

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

AlertSource the source details at which the alert was raised

type AlertSourceType Uses

type AlertSourceType string

AlertSourceType enumerates the values for alert source type.

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

func PossibleAlertSourceTypeValues Uses

func PossibleAlertSourceTypeValues() []AlertSourceType

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

type AlertStatus Uses

type AlertStatus string

AlertStatus enumerates the values for alert status.

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

func PossibleAlertStatusValues Uses

func PossibleAlertStatusValues() []AlertStatus

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

type AlertsClient Uses

type AlertsClient struct {
    BaseClient
}

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

func NewAlertsClient Uses

func NewAlertsClient(subscriptionID string) AlertsClient

NewAlertsClient creates an instance of the AlertsClient client.

func NewAlertsClientWithBaseURI Uses

func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient

NewAlertsClientWithBaseURI creates an instance of the AlertsClient client.

func (AlertsClient) Clear Uses

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

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

func (AlertsClient) ClearPreparer Uses

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

ClearPreparer prepares the Clear request.

func (AlertsClient) ClearResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByManagerPreparer prepares the ListByManager request.

func (AlertsClient) ListByManagerResponder Uses

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 Uses

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 Uses

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

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

func (AlertsClient) SendTestEmailPreparer Uses

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

SendTestEmailPreparer prepares the SendTestEmail request.

func (AlertsClient) SendTestEmailResponder Uses

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 Uses

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 Uses

type AsymmetricEncryptedSecret struct {
    // Value - The value of the secret.
    Value *string `json:"value,omitempty"`
    // EncryptionCertThumbprint - Thumbprint certificate that was used to encrypt "Value". If the value in unencrypted, it will be null.
    EncryptionCertThumbprint *string `json:"encryptionCertThumbprint,omitempty"`
    // EncryptionAlgorithm - The algorithm used to encrypt "Value". Possible values include: 'EncryptionAlgorithmNone', 'EncryptionAlgorithmAES256', 'EncryptionAlgorithmRSAESPKCS1V15'
    EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}

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

type AuthenticationType Uses

type AuthenticationType string

AuthenticationType enumerates the values for authentication type.

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

func PossibleAuthenticationTypeValues Uses

func PossibleAuthenticationTypeValues() []AuthenticationType

PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.

type AuthorizationEligibility Uses

type AuthorizationEligibility string

AuthorizationEligibility enumerates the values for authorization eligibility.

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

func PossibleAuthorizationEligibilityValues Uses

func PossibleAuthorizationEligibilityValues() []AuthorizationEligibility

PossibleAuthorizationEligibilityValues returns an array of possible values for the AuthorizationEligibility const type.

type AuthorizationStatus Uses

type AuthorizationStatus string

AuthorizationStatus enumerates the values for authorization status.

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

func PossibleAuthorizationStatusValues Uses

func PossibleAuthorizationStatusValues() []AuthorizationStatus

PossibleAuthorizationStatusValues returns an array of possible values for the AuthorizationStatus const type.

type AvailableProviderOperation Uses

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

AvailableProviderOperation represents available provider operation.

type AvailableProviderOperationDisplay Uses

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

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

type AvailableProviderOperationList Uses

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

AvailableProviderOperationList list of available provider operations.

func (AvailableProviderOperationList) IsEmpty Uses

func (apol AvailableProviderOperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableProviderOperationListIterator Uses

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

AvailableProviderOperationListIterator provides access to a complete listing of AvailableProviderOperation values.

func NewAvailableProviderOperationListIterator Uses

func NewAvailableProviderOperationListIterator(page AvailableProviderOperationListPage) AvailableProviderOperationListIterator

Creates a new instance of the AvailableProviderOperationListIterator type.

func (*AvailableProviderOperationListIterator) Next Uses

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

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

func (iter AvailableProviderOperationListIterator) NotDone() bool

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

func (AvailableProviderOperationListIterator) Response Uses

func (iter AvailableProviderOperationListIterator) Response() AvailableProviderOperationList

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

func (AvailableProviderOperationListIterator) Value Uses

func (iter AvailableProviderOperationListIterator) Value() AvailableProviderOperation

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

type AvailableProviderOperationListPage Uses

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

AvailableProviderOperationListPage contains a page of AvailableProviderOperation values.

func NewAvailableProviderOperationListPage Uses

func NewAvailableProviderOperationListPage(getNextPage func(context.Context, AvailableProviderOperationList) (AvailableProviderOperationList, error)) AvailableProviderOperationListPage

Creates a new instance of the AvailableProviderOperationListPage type.

func (*AvailableProviderOperationListPage) Next Uses

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

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

func (page AvailableProviderOperationListPage) NotDone() bool

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

func (AvailableProviderOperationListPage) Response Uses

func (page AvailableProviderOperationListPage) Response() AvailableProviderOperationList

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

func (AvailableProviderOperationListPage) Values Uses

func (page AvailableProviderOperationListPage) Values() []AvailableProviderOperation

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

type Backup Uses

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

Backup the backup.

func (Backup) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Backup.

func (*Backup) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Backup struct.

type BackupElement Uses

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

BackupElement the backup element.

type BackupFilter Uses

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

BackupFilter the OData filters to be used for backups.

type BackupJobCreationType Uses

type BackupJobCreationType string

BackupJobCreationType enumerates the values for backup job creation type.

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

func PossibleBackupJobCreationTypeValues Uses

func PossibleBackupJobCreationTypeValues() []BackupJobCreationType

PossibleBackupJobCreationTypeValues returns an array of possible values for the BackupJobCreationType const type.

type BackupList Uses

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

BackupList the collection of backups.

func (BackupList) IsEmpty Uses

func (bl BackupList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BackupListIterator Uses

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

BackupListIterator provides access to a complete listing of Backup values.

func NewBackupListIterator Uses

func NewBackupListIterator(page BackupListPage) BackupListIterator

Creates a new instance of the BackupListIterator type.

func (*BackupListIterator) Next Uses

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 Uses

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 Uses

func (iter BackupListIterator) NotDone() bool

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

func (BackupListIterator) Response Uses

func (iter BackupListIterator) Response() BackupList

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

func (BackupListIterator) Value Uses

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 Uses

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

BackupListPage contains a page of Backup values.

func NewBackupListPage Uses

func NewBackupListPage(getNextPage func(context.Context, BackupList) (BackupList, error)) BackupListPage

Creates a new instance of the BackupListPage type.

func (*BackupListPage) Next Uses

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 Uses

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 Uses

func (page BackupListPage) NotDone() bool

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

func (BackupListPage) Response Uses

func (page BackupListPage) Response() BackupList

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

func (BackupListPage) Values Uses

func (page BackupListPage) Values() []Backup

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

type BackupPoliciesBackupNowFuture Uses

type BackupPoliciesBackupNowFuture struct {
    azure.Future
}

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

func (*BackupPoliciesBackupNowFuture) Result Uses

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

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

type BackupPoliciesClient Uses

type BackupPoliciesClient struct {
    BaseClient
}

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

func NewBackupPoliciesClient Uses

func NewBackupPoliciesClient(subscriptionID string) BackupPoliciesClient

NewBackupPoliciesClient creates an instance of the BackupPoliciesClient client.

func NewBackupPoliciesClientWithBaseURI Uses

func NewBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupPoliciesClient

NewBackupPoliciesClientWithBaseURI creates an instance of the BackupPoliciesClient client.

func (BackupPoliciesClient) BackupNow Uses

func (client BackupPoliciesClient) BackupNow(ctx context.Context, deviceName string, backupPolicyName string, backupType string, resourceGroupName string, managerName string) (result BackupPoliciesBackupNowFuture, err error)

BackupNow backup the backup policy now. Parameters: deviceName - the device name backupPolicyName - the backup policy name. backupType - the backup Type. This can be cloudSnapshot or localSnapshot. resourceGroupName - the resource group name managerName - the manager name

func (BackupPoliciesClient) BackupNowPreparer Uses

func (client BackupPoliciesClient) BackupNowPreparer(ctx context.Context, deviceName string, backupPolicyName string, backupType string, resourceGroupName string, managerName string) (*http.Request, error)

BackupNowPreparer prepares the BackupNow request.

func (BackupPoliciesClient) BackupNowResponder Uses

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

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

func (BackupPoliciesClient) BackupNowSender Uses

func (client BackupPoliciesClient) BackupNowSender(req *http.Request) (future BackupPoliciesBackupNowFuture, err error)

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

func (BackupPoliciesClient) CreateOrUpdate Uses

func (client BackupPoliciesClient) CreateOrUpdate(ctx context.Context, deviceName string, backupPolicyName string, parameters BackupPolicy, resourceGroupName string, managerName string) (result BackupPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the backup policy. Parameters: deviceName - the device name backupPolicyName - the name of the backup policy to be created/updated. parameters - the backup policy. resourceGroupName - the resource group name managerName - the manager name

func (BackupPoliciesClient) CreateOrUpdatePreparer Uses

func (client BackupPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, deviceName string, backupPolicyName string, parameters BackupPolicy, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackupPoliciesClient) CreateOrUpdateResponder Uses

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

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

func (BackupPoliciesClient) CreateOrUpdateSender Uses

func (client BackupPoliciesClient) CreateOrUpdateSender(req *http.Request) (future BackupPoliciesCreateOrUpdateFuture, err error)

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

func (BackupPoliciesClient) Delete Uses

func (client BackupPoliciesClient) Delete(ctx context.Context, deviceName string, backupPolicyName string, resourceGroupName string, managerName string) (result BackupPoliciesDeleteFuture, err error)

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

func (BackupPoliciesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (BackupPoliciesClient) DeleteResponder Uses

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

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BackupPoliciesClient) DeleteSender Uses

func (client BackupPoliciesClient) DeleteSender(req *http.Request) (future BackupPoliciesDeleteFuture, err error)

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

func (BackupPoliciesClient) Get Uses

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

Get gets the properties of the specified backup policy name. Parameters: deviceName - the device name backupPolicyName - the name of backup policy to be fetched. resourceGroupName - the resource group name managerName - the manager name

func (BackupPoliciesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (BackupPoliciesClient) GetResponder Uses

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

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

func (BackupPoliciesClient) GetSender Uses

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

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

func (BackupPoliciesClient) ListByDevice Uses

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

ListByDevice gets all the backup policies in a device. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (BackupPoliciesClient) ListByDevicePreparer Uses

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

ListByDevicePreparer prepares the ListByDevice request.

func (BackupPoliciesClient) ListByDeviceResponder Uses

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

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

func (BackupPoliciesClient) ListByDeviceSender Uses

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

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

type BackupPoliciesCreateOrUpdateFuture Uses

type BackupPoliciesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*BackupPoliciesCreateOrUpdateFuture) Result Uses

func (future *BackupPoliciesCreateOrUpdateFuture) Result(client BackupPoliciesClient) (bp BackupPolicy, err error)

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

type BackupPoliciesDeleteFuture Uses

type BackupPoliciesDeleteFuture struct {
    azure.Future
}

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

func (*BackupPoliciesDeleteFuture) Result Uses

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

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

type BackupPolicy Uses

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

BackupPolicy the backup policy.

func (BackupPolicy) MarshalJSON Uses

func (bp BackupPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupPolicy.

func (*BackupPolicy) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for BackupPolicy struct.

type BackupPolicyCreationType Uses

type BackupPolicyCreationType string

BackupPolicyCreationType enumerates the values for backup policy creation type.

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

func PossibleBackupPolicyCreationTypeValues Uses

func PossibleBackupPolicyCreationTypeValues() []BackupPolicyCreationType

PossibleBackupPolicyCreationTypeValues returns an array of possible values for the BackupPolicyCreationType const type.

type BackupPolicyList Uses

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

BackupPolicyList the collection of backup policies.

type BackupPolicyProperties Uses

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

BackupPolicyProperties the properties of the backup policy.

type BackupProperties Uses

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

BackupProperties the properties of the backup.

type BackupSchedule Uses

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

BackupSchedule the backup schedule.

func (BackupSchedule) MarshalJSON Uses

func (bs BackupSchedule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackupSchedule.

func (*BackupSchedule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for BackupSchedule struct.

type BackupScheduleList Uses

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

BackupScheduleList the backup schedule list.

type BackupScheduleProperties Uses

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

BackupScheduleProperties the properties of the backup schedule.

type BackupSchedulesClient Uses

type BackupSchedulesClient struct {
    BaseClient
}

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

func NewBackupSchedulesClient Uses

func NewBackupSchedulesClient(subscriptionID string) BackupSchedulesClient

NewBackupSchedulesClient creates an instance of the BackupSchedulesClient client.

func NewBackupSchedulesClientWithBaseURI Uses

func NewBackupSchedulesClientWithBaseURI(baseURI string, subscriptionID string) BackupSchedulesClient

NewBackupSchedulesClientWithBaseURI creates an instance of the BackupSchedulesClient client.

func (BackupSchedulesClient) CreateOrUpdate Uses

func (client BackupSchedulesClient) CreateOrUpdate(ctx context.Context, deviceName string, backupPolicyName string, backupScheduleName string, parameters BackupSchedule, resourceGroupName string, managerName string) (result BackupSchedulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the backup schedule. Parameters: deviceName - the device name backupPolicyName - the backup policy name. backupScheduleName - the backup schedule name. parameters - the backup schedule. resourceGroupName - the resource group name managerName - the manager name

func (BackupSchedulesClient) CreateOrUpdatePreparer Uses

func (client BackupSchedulesClient) CreateOrUpdatePreparer(ctx context.Context, deviceName string, backupPolicyName string, backupScheduleName string, parameters BackupSchedule, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackupSchedulesClient) CreateOrUpdateResponder Uses

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

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

func (BackupSchedulesClient) CreateOrUpdateSender Uses

func (client BackupSchedulesClient) CreateOrUpdateSender(req *http.Request) (future BackupSchedulesCreateOrUpdateFuture, err error)

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

func (BackupSchedulesClient) Delete Uses

func (client BackupSchedulesClient) Delete(ctx context.Context, deviceName string, backupPolicyName string, backupScheduleName string, resourceGroupName string, managerName string) (result BackupSchedulesDeleteFuture, err error)

Delete deletes the backup schedule. Parameters: deviceName - the device name backupPolicyName - the backup policy name. backupScheduleName - the name the backup schedule. resourceGroupName - the resource group name managerName - the manager name

func (BackupSchedulesClient) DeletePreparer Uses

func (client BackupSchedulesClient) DeletePreparer(ctx context.Context, deviceName string, backupPolicyName string, backupScheduleName string, resourceGroupName string, managerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BackupSchedulesClient) DeleteResponder Uses

func (client BackupSchedulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BackupSchedulesClient) DeleteSender Uses

func (client BackupSchedulesClient) DeleteSender(req *http.Request) (future BackupSchedulesDeleteFuture, err error)

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

func (BackupSchedulesClient) Get Uses

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

Get gets the properties of the specified backup schedule name. Parameters: deviceName - the device name backupPolicyName - the backup policy name. backupScheduleName - the name of the backup schedule to be fetched resourceGroupName - the resource group name managerName - the manager name

func (BackupSchedulesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (BackupSchedulesClient) GetResponder Uses

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

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

func (BackupSchedulesClient) GetSender Uses

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

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

func (BackupSchedulesClient) ListByBackupPolicy Uses

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

ListByBackupPolicy gets all the backup schedules in a backup policy. Parameters: deviceName - the device name backupPolicyName - the backup policy name. resourceGroupName - the resource group name managerName - the manager name

func (BackupSchedulesClient) ListByBackupPolicyPreparer Uses

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

ListByBackupPolicyPreparer prepares the ListByBackupPolicy request.

func (BackupSchedulesClient) ListByBackupPolicyResponder Uses

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

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

func (BackupSchedulesClient) ListByBackupPolicySender Uses

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

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

type BackupSchedulesCreateOrUpdateFuture Uses

type BackupSchedulesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*BackupSchedulesCreateOrUpdateFuture) Result Uses

func (future *BackupSchedulesCreateOrUpdateFuture) Result(client BackupSchedulesClient) (bs BackupSchedule, err error)

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

type BackupSchedulesDeleteFuture Uses

type BackupSchedulesDeleteFuture struct {
    azure.Future
}

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

func (*BackupSchedulesDeleteFuture) Result Uses

func (future *BackupSchedulesDeleteFuture) Result(client BackupSchedulesClient) (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 BackupStatus Uses

type BackupStatus string

BackupStatus enumerates the values for backup status.

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

func PossibleBackupStatusValues Uses

func PossibleBackupStatusValues() []BackupStatus

PossibleBackupStatusValues returns an array of possible values for the BackupStatus const type.

type BackupType Uses

type BackupType string

BackupType enumerates the values for backup type.

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

func PossibleBackupTypeValues Uses

func PossibleBackupTypeValues() []BackupType

PossibleBackupTypeValues returns an array of possible values for the BackupType const type.

type BackupsClient Uses

type BackupsClient struct {
    BaseClient
}

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

func NewBackupsClient Uses

func NewBackupsClient(subscriptionID string) BackupsClient

NewBackupsClient creates an instance of the BackupsClient client.

func NewBackupsClientWithBaseURI Uses

func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient

NewBackupsClientWithBaseURI creates an instance of the BackupsClient client.

func (BackupsClient) Clone Uses

func (client BackupsClient) Clone(ctx context.Context, deviceName string, backupName string, backupElementName string, parameters CloneRequest, resourceGroupName string, managerName string) (result BackupsCloneFuture, err error)

Clone clones the backup element as a new volume. Parameters: deviceName - the device name backupName - the backup name. backupElementName - the backup element name. parameters - the clone request object. resourceGroupName - the resource group name managerName - the manager name

func (BackupsClient) ClonePreparer Uses

func (client BackupsClient) ClonePreparer(ctx context.Context, deviceName string, backupName string, backupElementName string, parameters CloneRequest, resourceGroupName string, managerName string) (*http.Request, error)

ClonePreparer prepares the Clone request.

func (BackupsClient) CloneResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

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

func (BackupsClient) ListByDeviceComplete Uses

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

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

func (BackupsClient) ListByDevicePreparer Uses

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

ListByDevicePreparer prepares the ListByDevice request.

func (BackupsClient) ListByDeviceResponder Uses

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 Uses

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

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

func (BackupsClient) Restore Uses

func (client BackupsClient) Restore(ctx context.Context, deviceName string, backupName string, resourceGroupName string, managerName string) (result BackupsRestoreFuture, err error)

Restore restores the backup on the device. Parameters: deviceName - the device name backupName - the backupSet name resourceGroupName - the resource group name managerName - the manager name

func (BackupsClient) RestorePreparer Uses

func (client BackupsClient) RestorePreparer(ctx context.Context, deviceName string, backupName string, resourceGroupName string, managerName string) (*http.Request, error)

RestorePreparer prepares the Restore request.

func (BackupsClient) RestoreResponder Uses

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

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

func (BackupsClient) RestoreSender Uses

func (client BackupsClient) RestoreSender(req *http.Request) (future BackupsRestoreFuture, err error)

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

type BackupsCloneFuture Uses

type BackupsCloneFuture struct {
    azure.Future
}

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

func (*BackupsCloneFuture) Result Uses

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 Uses

type BackupsDeleteFuture struct {
    azure.Future
}

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

func (*BackupsDeleteFuture) Result Uses

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

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

type BackupsRestoreFuture Uses

type BackupsRestoreFuture struct {
    azure.Future
}

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

func (*BackupsRestoreFuture) Result Uses

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

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

type BandwidthRateSettingProperties Uses

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

BandwidthRateSettingProperties the properties of the bandwidth setting.

type BandwidthSchedule Uses

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

BandwidthSchedule the schedule for bandwidth setting.

type BandwidthSetting Uses

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

BandwidthSetting the bandwidth setting.

func (BandwidthSetting) MarshalJSON Uses

func (bs BandwidthSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BandwidthSetting.

func (*BandwidthSetting) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for BandwidthSetting struct.

type BandwidthSettingList Uses

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

BandwidthSettingList the collection of bandwidth setting entities.

type BandwidthSettingsClient Uses

type BandwidthSettingsClient struct {
    BaseClient
}

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

func NewBandwidthSettingsClient Uses

func NewBandwidthSettingsClient(subscriptionID string) BandwidthSettingsClient

NewBandwidthSettingsClient creates an instance of the BandwidthSettingsClient client.

func NewBandwidthSettingsClientWithBaseURI Uses

func NewBandwidthSettingsClientWithBaseURI(baseURI string, subscriptionID string) BandwidthSettingsClient

NewBandwidthSettingsClientWithBaseURI creates an instance of the BandwidthSettingsClient client.

func (BandwidthSettingsClient) CreateOrUpdate Uses

func (client BandwidthSettingsClient) CreateOrUpdate(ctx context.Context, bandwidthSettingName string, parameters BandwidthSetting, resourceGroupName string, managerName string) (result BandwidthSettingsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the bandwidth setting Parameters: bandwidthSettingName - the bandwidth setting name. parameters - the bandwidth setting to be added or updated. resourceGroupName - the resource group name managerName - the manager name

func (BandwidthSettingsClient) CreateOrUpdatePreparer Uses

func (client BandwidthSettingsClient) CreateOrUpdatePreparer(ctx context.Context, bandwidthSettingName string, parameters BandwidthSetting, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BandwidthSettingsClient) CreateOrUpdateResponder Uses

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

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

func (BandwidthSettingsClient) CreateOrUpdateSender Uses

func (client BandwidthSettingsClient) CreateOrUpdateSender(req *http.Request) (future BandwidthSettingsCreateOrUpdateFuture, err error)

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

func (BandwidthSettingsClient) Delete Uses

func (client BandwidthSettingsClient) Delete(ctx context.Context, bandwidthSettingName string, resourceGroupName string, managerName string) (result BandwidthSettingsDeleteFuture, err error)

Delete deletes the bandwidth setting Parameters: bandwidthSettingName - the name of the bandwidth setting. resourceGroupName - the resource group name managerName - the manager name

func (BandwidthSettingsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (BandwidthSettingsClient) DeleteResponder Uses

func (client BandwidthSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BandwidthSettingsClient) DeleteSender Uses

func (client BandwidthSettingsClient) DeleteSender(req *http.Request) (future BandwidthSettingsDeleteFuture, err error)

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

func (BandwidthSettingsClient) Get Uses

func (client BandwidthSettingsClient) Get(ctx context.Context, bandwidthSettingName string, resourceGroupName string, managerName string) (result BandwidthSetting, err error)

Get returns the properties of the specified bandwidth setting name. Parameters: bandwidthSettingName - the name of bandwidth setting to be fetched. resourceGroupName - the resource group name managerName - the manager name

func (BandwidthSettingsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (BandwidthSettingsClient) GetResponder Uses

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

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

func (BandwidthSettingsClient) GetSender Uses

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

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

func (BandwidthSettingsClient) ListByManager Uses

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

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

func (BandwidthSettingsClient) ListByManagerPreparer Uses

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

ListByManagerPreparer prepares the ListByManager request.

func (BandwidthSettingsClient) ListByManagerResponder Uses

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

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

func (BandwidthSettingsClient) ListByManagerSender Uses

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

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

type BandwidthSettingsCreateOrUpdateFuture Uses

type BandwidthSettingsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*BandwidthSettingsCreateOrUpdateFuture) Result Uses

func (future *BandwidthSettingsCreateOrUpdateFuture) Result(client BandwidthSettingsClient) (bs BandwidthSetting, err error)

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

type BandwidthSettingsDeleteFuture Uses

type BandwidthSettingsDeleteFuture struct {
    azure.Future
}

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

func (*BandwidthSettingsDeleteFuture) Result Uses

func (future *BandwidthSettingsDeleteFuture) Result(client BandwidthSettingsClient) (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 Uses

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

BaseClient is the base client for Storsimple.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BaseModel Uses

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

BaseModel represents the base class for all other ARM object models

type ChapSettings Uses

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

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

type ClearAlertRequest Uses

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

ClearAlertRequest the request for clearing the alert

type CloneRequest Uses

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

CloneRequest the clone job request.

type CloudAppliance Uses

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

CloudAppliance the cloud appliance.

type CloudApplianceConfiguration Uses

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

CloudApplianceConfiguration the cloud appliance configuration

func (CloudApplianceConfiguration) MarshalJSON Uses

func (cac CloudApplianceConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudApplianceConfiguration.

func (*CloudApplianceConfiguration) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for CloudApplianceConfiguration struct.

type CloudApplianceConfigurationList Uses

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

CloudApplianceConfigurationList the cloud appliance configuration list

type CloudApplianceConfigurationProperties Uses

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

CloudApplianceConfigurationProperties the properties of cloud appliance configuration.

type CloudApplianceSettings Uses

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

CloudApplianceSettings the cloud appliance settings.

type CloudAppliancesClient Uses

type CloudAppliancesClient struct {
    BaseClient
}

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

func NewCloudAppliancesClient Uses

func NewCloudAppliancesClient(subscriptionID string) CloudAppliancesClient

NewCloudAppliancesClient creates an instance of the CloudAppliancesClient client.

func NewCloudAppliancesClientWithBaseURI Uses

func NewCloudAppliancesClientWithBaseURI(baseURI string, subscriptionID string) CloudAppliancesClient

NewCloudAppliancesClientWithBaseURI creates an instance of the CloudAppliancesClient client.

func (CloudAppliancesClient) ListSupportedConfigurations Uses

func (client CloudAppliancesClient) ListSupportedConfigurations(ctx context.Context, resourceGroupName string, managerName string) (result CloudApplianceConfigurationList, err error)

ListSupportedConfigurations lists supported cloud appliance models and supported configurations. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (CloudAppliancesClient) ListSupportedConfigurationsPreparer Uses

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

ListSupportedConfigurationsPreparer prepares the ListSupportedConfigurations request.

func (CloudAppliancesClient) ListSupportedConfigurationsResponder Uses

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

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

func (CloudAppliancesClient) ListSupportedConfigurationsSender Uses

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

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

func (CloudAppliancesClient) Provision Uses

func (client CloudAppliancesClient) Provision(ctx context.Context, parameters CloudAppliance, resourceGroupName string, managerName string) (result CloudAppliancesProvisionFuture, err error)

Provision provisions cloud appliance. Parameters: parameters - the cloud appliance resourceGroupName - the resource group name managerName - the manager name

func (CloudAppliancesClient) ProvisionPreparer Uses

func (client CloudAppliancesClient) ProvisionPreparer(ctx context.Context, parameters CloudAppliance, resourceGroupName string, managerName string) (*http.Request, error)

ProvisionPreparer prepares the Provision request.

func (CloudAppliancesClient) ProvisionResponder Uses

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

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

func (CloudAppliancesClient) ProvisionSender Uses

func (client CloudAppliancesClient) ProvisionSender(req *http.Request) (future CloudAppliancesProvisionFuture, err error)

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

type CloudAppliancesProvisionFuture Uses

type CloudAppliancesProvisionFuture struct {
    azure.Future
}

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

func (*CloudAppliancesProvisionFuture) Result Uses

func (future *CloudAppliancesProvisionFuture) Result(client CloudAppliancesClient) (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 ConfigureDeviceRequest Uses

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

ConfigureDeviceRequest the mandatory device configuration request.

func (ConfigureDeviceRequest) MarshalJSON Uses

func (cdr ConfigureDeviceRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigureDeviceRequest.

func (*ConfigureDeviceRequest) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConfigureDeviceRequest struct.

type ConfigureDeviceRequestProperties Uses

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

ConfigureDeviceRequestProperties the properties of the configure device request.

type ControllerID Uses

type ControllerID string

ControllerID enumerates the values for controller id.

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

func PossibleControllerIDValues Uses

func PossibleControllerIDValues() []ControllerID

PossibleControllerIDValues returns an array of possible values for the ControllerID const type.

type ControllerPowerStateAction Uses

type ControllerPowerStateAction string

ControllerPowerStateAction enumerates the values for controller power state action.

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

func PossibleControllerPowerStateActionValues Uses

func PossibleControllerPowerStateActionValues() []ControllerPowerStateAction

PossibleControllerPowerStateActionValues returns an array of possible values for the ControllerPowerStateAction const type.

type ControllerPowerStateChangeRequest Uses

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

ControllerPowerStateChangeRequest the controller power state change request.

func (ControllerPowerStateChangeRequest) MarshalJSON Uses

func (cpscr ControllerPowerStateChangeRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ControllerPowerStateChangeRequest.

func (*ControllerPowerStateChangeRequest) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ControllerPowerStateChangeRequest struct.

type ControllerPowerStateChangeRequestProperties Uses

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

ControllerPowerStateChangeRequestProperties the properties of the controller power state change request.

type ControllerStatus Uses

type ControllerStatus string

ControllerStatus enumerates the values for controller status.

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

func PossibleControllerStatusValues Uses

func PossibleControllerStatusValues() []ControllerStatus

PossibleControllerStatusValues returns an array of possible values for the ControllerStatus const type.

type DNSSettings Uses

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

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

type DataStatistics Uses

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

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

type DayOfWeek Uses

type DayOfWeek string

DayOfWeek enumerates the values for day of week.

const (
    // Friday ...
    Friday DayOfWeek = "Friday"
    // Monday ...
    Monday DayOfWeek = "Monday"
    // Saturday ...
    Saturday DayOfWeek = "Saturday"
    // Sunday ...
    Sunday DayOfWeek = "Sunday"
    // Thursday ...
    Thursday DayOfWeek = "Thursday"
    // Tuesday ...
    Tuesday DayOfWeek = "Tuesday"
    // Wednesday ...
    Wednesday DayOfWeek = "Wednesday"
)

func PossibleDayOfWeekValues Uses

func PossibleDayOfWeekValues() []DayOfWeek

PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.

type Device Uses

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

Device the StorSimple device.

func (Device) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Device.

func (*Device) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Device struct.

type DeviceConfigurationStatus Uses

type DeviceConfigurationStatus string

DeviceConfigurationStatus enumerates the values for device configuration status.

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

func PossibleDeviceConfigurationStatusValues Uses

func PossibleDeviceConfigurationStatusValues() []DeviceConfigurationStatus

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

type DeviceDetails Uses

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

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

type DeviceList Uses

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

DeviceList the collection of devices.

type DevicePatch Uses

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

DevicePatch the device patch.

func (DevicePatch) MarshalJSON Uses

func (dp DevicePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DevicePatch.

func (*DevicePatch) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DevicePatch struct.

type DevicePatchProperties Uses

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

DevicePatchProperties the properties of the device patch.

type DeviceProperties Uses

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

DeviceProperties the properties of the StorSimple device.

type DeviceRolloverDetails Uses

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

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

type DeviceSettingsClient Uses

type DeviceSettingsClient struct {
    BaseClient
}

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

func NewDeviceSettingsClient Uses

func NewDeviceSettingsClient(subscriptionID string) DeviceSettingsClient

NewDeviceSettingsClient creates an instance of the DeviceSettingsClient client.

func NewDeviceSettingsClientWithBaseURI Uses

func NewDeviceSettingsClientWithBaseURI(baseURI string, subscriptionID string) DeviceSettingsClient

NewDeviceSettingsClientWithBaseURI creates an instance of the DeviceSettingsClient client.

func (DeviceSettingsClient) CreateOrUpdateAlertSettings Uses

func (client DeviceSettingsClient) CreateOrUpdateAlertSettings(ctx context.Context, deviceName string, parameters AlertSettings, resourceGroupName string, managerName string) (result DeviceSettingsCreateOrUpdateAlertSettingsFuture, err error)

CreateOrUpdateAlertSettings creates or updates the alert settings of the specified device. Parameters: deviceName - the device name parameters - the alert settings to be added or updated. resourceGroupName - the resource group name managerName - the manager name

func (DeviceSettingsClient) CreateOrUpdateAlertSettingsPreparer Uses

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

CreateOrUpdateAlertSettingsPreparer prepares the CreateOrUpdateAlertSettings request.

func (DeviceSettingsClient) CreateOrUpdateAlertSettingsResponder Uses

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

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

func (DeviceSettingsClient) CreateOrUpdateAlertSettingsSender Uses

func (client DeviceSettingsClient) CreateOrUpdateAlertSettingsSender(req *http.Request) (future DeviceSettingsCreateOrUpdateAlertSettingsFuture, err error)

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

func (DeviceSettingsClient) CreateOrUpdateTimeSettings Uses

func (client DeviceSettingsClient) CreateOrUpdateTimeSettings(ctx context.Context, deviceName string, parameters TimeSettings, resourceGroupName string, managerName string) (result DeviceSettingsCreateOrUpdateTimeSettingsFuture, err error)

CreateOrUpdateTimeSettings creates or updates the time settings of the specified device. Parameters: deviceName - the device name parameters - the time settings to be added or updated. resourceGroupName - the resource group name managerName - the manager name

func (DeviceSettingsClient) CreateOrUpdateTimeSettingsPreparer Uses

func (client DeviceSettingsClient) CreateOrUpdateTimeSettingsPreparer(ctx context.Context, deviceName string, parameters TimeSettings, resourceGroupName string, managerName string) (*http.Request, error)

CreateOrUpdateTimeSettingsPreparer prepares the CreateOrUpdateTimeSettings request.

func (DeviceSettingsClient) CreateOrUpdateTimeSettingsResponder Uses

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

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

func (DeviceSettingsClient) CreateOrUpdateTimeSettingsSender Uses

func (client DeviceSettingsClient) CreateOrUpdateTimeSettingsSender(req *http.Request) (future DeviceSettingsCreateOrUpdateTimeSettingsFuture, err error)

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

func (DeviceSettingsClient) GetAlertSettings Uses

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

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

func (DeviceSettingsClient) GetAlertSettingsPreparer Uses

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

GetAlertSettingsPreparer prepares the GetAlertSettings request.

func (DeviceSettingsClient) GetAlertSettingsResponder Uses

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

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

func (DeviceSettingsClient) GetAlertSettingsSender Uses

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

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

func (DeviceSettingsClient) GetNetworkSettings Uses

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

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

func (DeviceSettingsClient) GetNetworkSettingsPreparer Uses

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

GetNetworkSettingsPreparer prepares the GetNetworkSettings request.

func (DeviceSettingsClient) GetNetworkSettingsResponder Uses

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

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

func (DeviceSettingsClient) GetNetworkSettingsSender Uses

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

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

func (DeviceSettingsClient) GetSecuritySettings Uses

func (client DeviceSettingsClient) GetSecuritySettings(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result SecuritySettings, err error)

GetSecuritySettings returns the Security properties of the specified device name. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (DeviceSettingsClient) GetSecuritySettingsPreparer Uses

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

GetSecuritySettingsPreparer prepares the GetSecuritySettings request.

func (DeviceSettingsClient) GetSecuritySettingsResponder Uses

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

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

func (DeviceSettingsClient) GetSecuritySettingsSender Uses

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

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

func (DeviceSettingsClient) GetTimeSettings Uses

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

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

func (DeviceSettingsClient) GetTimeSettingsPreparer Uses

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

GetTimeSettingsPreparer prepares the GetTimeSettings request.

func (DeviceSettingsClient) GetTimeSettingsResponder Uses

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

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

func (DeviceSettingsClient) GetTimeSettingsSender Uses

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

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

func (DeviceSettingsClient) SyncRemotemanagementCertificate Uses

func (client DeviceSettingsClient) SyncRemotemanagementCertificate(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result DeviceSettingsSyncRemotemanagementCertificateFuture, err error)

SyncRemotemanagementCertificate sync Remote management Certificate between appliance and Service Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (DeviceSettingsClient) SyncRemotemanagementCertificatePreparer Uses

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

SyncRemotemanagementCertificatePreparer prepares the SyncRemotemanagementCertificate request.

func (DeviceSettingsClient) SyncRemotemanagementCertificateResponder Uses

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

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

func (DeviceSettingsClient) SyncRemotemanagementCertificateSender Uses

func (client DeviceSettingsClient) SyncRemotemanagementCertificateSender(req *http.Request) (future DeviceSettingsSyncRemotemanagementCertificateFuture, err error)

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

func (DeviceSettingsClient) UpdateNetworkSettings Uses

func (client DeviceSettingsClient) UpdateNetworkSettings(ctx context.Context, deviceName string, parameters NetworkSettingsPatch, resourceGroupName string, managerName string) (result DeviceSettingsUpdateNetworkSettingsFuture, err error)

UpdateNetworkSettings updates the network settings on the specified device. Parameters: deviceName - the device name parameters - the network settings to be updated. resourceGroupName - the resource group name managerName - the manager name

func (DeviceSettingsClient) UpdateNetworkSettingsPreparer Uses

func (client DeviceSettingsClient) UpdateNetworkSettingsPreparer(ctx context.Context, deviceName string, parameters NetworkSettingsPatch, resourceGroupName string, managerName string) (*http.Request, error)

UpdateNetworkSettingsPreparer prepares the UpdateNetworkSettings request.

func (DeviceSettingsClient) UpdateNetworkSettingsResponder Uses

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

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

func (DeviceSettingsClient) UpdateNetworkSettingsSender Uses

func (client DeviceSettingsClient) UpdateNetworkSettingsSender(req *http.Request) (future DeviceSettingsUpdateNetworkSettingsFuture, err error)

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

func (DeviceSettingsClient) UpdateSecuritySettings Uses

func (client DeviceSettingsClient) UpdateSecuritySettings(ctx context.Context, deviceName string, parameters SecuritySettingsPatch, resourceGroupName string, managerName string) (result DeviceSettingsUpdateSecuritySettingsFuture, err error)

UpdateSecuritySettings patch Security properties of the specified device name. Parameters: deviceName - the device name parameters - the security settings properties to be patched. resourceGroupName - the resource group name managerName - the manager name

func (DeviceSettingsClient) UpdateSecuritySettingsPreparer Uses

func (client DeviceSettingsClient) UpdateSecuritySettingsPreparer(ctx context.Context, deviceName string, parameters SecuritySettingsPatch, resourceGroupName string, managerName string) (*http.Request, error)

UpdateSecuritySettingsPreparer prepares the UpdateSecuritySettings request.

func (DeviceSettingsClient) UpdateSecuritySettingsResponder Uses

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

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

func (DeviceSettingsClient) UpdateSecuritySettingsSender Uses

func (client DeviceSettingsClient) UpdateSecuritySettingsSender(req *http.Request) (future DeviceSettingsUpdateSecuritySettingsFuture, err error)

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

type DeviceSettingsCreateOrUpdateAlertSettingsFuture Uses

type DeviceSettingsCreateOrUpdateAlertSettingsFuture struct {
    azure.Future
}

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

func (*DeviceSettingsCreateOrUpdateAlertSettingsFuture) Result Uses

func (future *DeviceSettingsCreateOrUpdateAlertSettingsFuture) Result(client DeviceSettingsClient) (as AlertSettings, err error)

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

type DeviceSettingsCreateOrUpdateTimeSettingsFuture Uses

type DeviceSettingsCreateOrUpdateTimeSettingsFuture struct {
    azure.Future
}

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

func (*DeviceSettingsCreateOrUpdateTimeSettingsFuture) Result Uses

func (future *DeviceSettingsCreateOrUpdateTimeSettingsFuture) Result(client DeviceSettingsClient) (ts TimeSettings, err error)

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

type DeviceSettingsSyncRemotemanagementCertificateFuture Uses

type DeviceSettingsSyncRemotemanagementCertificateFuture struct {
    azure.Future
}

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

func (*DeviceSettingsSyncRemotemanagementCertificateFuture) Result Uses

func (future *DeviceSettingsSyncRemotemanagementCertificateFuture) Result(client DeviceSettingsClient) (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 DeviceSettingsUpdateNetworkSettingsFuture Uses

type DeviceSettingsUpdateNetworkSettingsFuture struct {
    azure.Future
}

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

func (*DeviceSettingsUpdateNetworkSettingsFuture) Result Uses

func (future *DeviceSettingsUpdateNetworkSettingsFuture) Result(client DeviceSettingsClient) (ns NetworkSettings, err error)

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

type DeviceSettingsUpdateSecuritySettingsFuture Uses

type DeviceSettingsUpdateSecuritySettingsFuture struct {
    azure.Future
}

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

func (*DeviceSettingsUpdateSecuritySettingsFuture) Result Uses

func (future *DeviceSettingsUpdateSecuritySettingsFuture) Result(client DeviceSettingsClient) (ss SecuritySettings, err error)

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

type DeviceStatus Uses

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 Uses

func PossibleDeviceStatusValues() []DeviceStatus

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

type DeviceType Uses

type DeviceType string

DeviceType enumerates the values for device type.

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

func PossibleDeviceTypeValues Uses

func PossibleDeviceTypeValues() []DeviceType

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

type DevicesClient Uses

type DevicesClient struct {
    BaseClient
}

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

func NewDevicesClient Uses

func NewDevicesClient(subscriptionID string) DevicesClient

NewDevicesClient creates an instance of the DevicesClient client.

func NewDevicesClientWithBaseURI Uses

func NewDevicesClientWithBaseURI(baseURI string, subscriptionID string) DevicesClient

NewDevicesClientWithBaseURI creates an instance of the DevicesClient client.

func (DevicesClient) AuthorizeForServiceEncryptionKeyRollover Uses

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

AuthorizeForServiceEncryptionKeyRollover authorizes the specified device for service data encryption key rollover. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) AuthorizeForServiceEncryptionKeyRolloverPreparer Uses

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

AuthorizeForServiceEncryptionKeyRolloverPreparer prepares the AuthorizeForServiceEncryptionKeyRollover request.

func (DevicesClient) AuthorizeForServiceEncryptionKeyRolloverResponder Uses

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

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

func (DevicesClient) AuthorizeForServiceEncryptionKeyRolloverSender Uses

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

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

func (DevicesClient) Configure Uses

func (client DevicesClient) Configure(ctx context.Context, parameters ConfigureDeviceRequest, resourceGroupName string, managerName string) (result DevicesConfigureFuture, err error)

Configure complete minimal setup before using the device. Parameters: parameters - the minimal properties to configure a device. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) ConfigurePreparer Uses

func (client DevicesClient) ConfigurePreparer(ctx context.Context, parameters ConfigureDeviceRequest, resourceGroupName string, managerName string) (*http.Request, error)

ConfigurePreparer prepares the Configure request.

func (DevicesClient) ConfigureResponder Uses

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

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

func (DevicesClient) ConfigureSender Uses

func (client DevicesClient) ConfigureSender(req *http.Request) (future DevicesConfigureFuture, err error)

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

func (DevicesClient) Deactivate Uses

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 Uses

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

DeactivatePreparer prepares the Deactivate request.

func (DevicesClient) DeactivateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (DevicesClient) DeleteResponder Uses

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 Uses

func (client DevicesClient) DeleteSender(req *http.Request) (future DevicesDeleteFuture, err error)

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

func (DevicesClient) Failover Uses

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

Failover failovers a set of volume containers from a specified source device to a target device. Parameters: sourceDeviceName - the source device name on which failover is performed. parameters - failoverRequest containing the source device and the list of volume containers to be failed over. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) FailoverPreparer Uses

func (client DevicesClient) FailoverPreparer(ctx context.Context, sourceDeviceName string, parameters FailoverRequest, resourceGroupName string, managerName string) (*http.Request, error)

FailoverPreparer prepares the Failover request.

func (DevicesClient) FailoverResponder Uses

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 Uses

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 Uses

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. 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 or $expand=rolloverdetails to populate additional fields related to the service data encryption key rollover on device

func (DevicesClient) GetPreparer Uses

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 Uses

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 Uses

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

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

func (DevicesClient) GetUpdateSummary Uses

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 Uses

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

GetUpdateSummaryPreparer prepares the GetUpdateSummary request.

func (DevicesClient) GetUpdateSummaryResponder Uses

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 Uses

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 Uses

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

InstallUpdates downloads and installs the updates on the device. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) InstallUpdatesPreparer Uses

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

InstallUpdatesPreparer prepares the InstallUpdates request.

func (DevicesClient) InstallUpdatesResponder Uses

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 Uses

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 Uses

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

ListByManager returns the list of devices for the specified manager. Parameters: resourceGroupName - the resource group name managerName - the manager name expand - specify $expand=details to populate additional fields related to the device or $expand=rolloverdetails to populate additional fields related to the service data encryption key rollover on device

func (DevicesClient) ListByManagerPreparer Uses

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

ListByManagerPreparer prepares the ListByManager request.

func (DevicesClient) ListByManagerResponder Uses

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 Uses

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

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

func (DevicesClient) ListFailoverSets Uses

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

ListFailoverSets returns all failover sets for a given device and their eligibility for participating in a failover. A failover set refers to a set of volume containers that need to be failed-over as a single unit to maintain data integrity. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) ListFailoverSetsPreparer Uses

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

ListFailoverSetsPreparer prepares the ListFailoverSets request.

func (DevicesClient) ListFailoverSetsResponder Uses

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

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

func (DevicesClient) ListFailoverSetsSender Uses

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

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

func (DevicesClient) ListFailoverTargets Uses

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

ListFailoverTargets given a list of volume containers to be failed over from a source device, this method returns the eligibility result, as a failover target, for all devices under that resource. Parameters: sourceDeviceName - the source device name on which failover is performed. parameters - listFailoverTargetsRequest containing the list of volume containers to be failed over. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) ListFailoverTargetsPreparer Uses

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

ListFailoverTargetsPreparer prepares the ListFailoverTargets request.

func (DevicesClient) ListFailoverTargetsResponder Uses

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

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

func (DevicesClient) ListFailoverTargetsSender Uses

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

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

func (DevicesClient) ListMetricDefinition Uses

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

ListMetricDefinition gets the metric definitions for the specified device. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) ListMetricDefinitionPreparer Uses

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

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (DevicesClient) ListMetricDefinitionResponder Uses

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 Uses

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 Uses

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

ListMetrics gets the metrics for the specified device. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (DevicesClient) ListMetricsPreparer Uses

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 Uses

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 Uses

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

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

func (DevicesClient) ScanForUpdates Uses

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 Uses

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

ScanForUpdatesPreparer prepares the ScanForUpdates request.

func (DevicesClient) ScanForUpdatesResponder Uses

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 Uses

func (client DevicesClient) ScanForUpdatesSender(req *http.Request) (future DevicesScanForUpdatesFuture, err error)

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

func (DevicesClient) Update Uses

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

Update patches the device. Parameters: deviceName - the device name parameters - patch representation of the device. resourceGroupName - the resource group name managerName - the manager name

func (DevicesClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (DevicesClient) UpdateResponder Uses

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

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

func (DevicesClient) UpdateSender Uses

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

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

type DevicesConfigureFuture Uses

type DevicesConfigureFuture struct {
    azure.Future
}

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

func (*DevicesConfigureFuture) Result Uses

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

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

type DevicesDeactivateFuture Uses

type DevicesDeactivateFuture struct {
    azure.Future
}

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

func (*DevicesDeactivateFuture) Result Uses

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 Uses

type DevicesDeleteFuture struct {
    azure.Future
}

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

func (*DevicesDeleteFuture) Result Uses

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

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

type DevicesFailoverFuture Uses

type DevicesFailoverFuture struct {
    azure.Future
}

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

func (*DevicesFailoverFuture) Result Uses

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 Uses

type DevicesInstallUpdatesFuture struct {
    azure.Future
}

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

func (*DevicesInstallUpdatesFuture) Result Uses

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

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

type DevicesScanForUpdatesFuture Uses

type DevicesScanForUpdatesFuture struct {
    azure.Future
}

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

func (*DevicesScanForUpdatesFuture) Result Uses

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

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

type DimensionFilter Uses

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

DimensionFilter the dimension filter.

type EncryptionAlgorithm Uses

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 Uses

func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm

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

type EncryptionSettings Uses

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

EncryptionSettings the encryption settings.

func (EncryptionSettings) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EncryptionSettings.

func (*EncryptionSettings) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for EncryptionSettings struct.

type EncryptionSettingsProperties Uses

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

EncryptionSettingsProperties the properties of encryption settings.

type EncryptionStatus Uses

type EncryptionStatus string

EncryptionStatus enumerates the values for encryption status.

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

func PossibleEncryptionStatusValues Uses

func PossibleEncryptionStatusValues() []EncryptionStatus

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

type FailoverRequest Uses

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

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

type FailoverSet Uses

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

FailoverSet the failover set on a device.

type FailoverSetEligibilityResult Uses

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

FailoverSetEligibilityResult the eligibility result of failover set, for failover.

type FailoverSetsList Uses

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

FailoverSetsList the list of failover sets.

type FailoverTarget Uses

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

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

type FailoverTargetsList Uses

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

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

type Feature Uses

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

Feature the feature.

type FeatureFilter Uses

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

FeatureFilter the OData filter to be used for features.

type FeatureList Uses

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

FeatureList the collections of features.

type FeatureSupportStatus Uses

type FeatureSupportStatus string

FeatureSupportStatus enumerates the values for feature support status.

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

func PossibleFeatureSupportStatusValues Uses

func PossibleFeatureSupportStatusValues() []FeatureSupportStatus

PossibleFeatureSupportStatusValues returns an array of possible values for the FeatureSupportStatus const type.

type HardwareComponent Uses

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

HardwareComponent the hardware component.

type HardwareComponentGroup Uses

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

HardwareComponentGroup the hardware component group.

func (HardwareComponentGroup) MarshalJSON Uses

func (hcg HardwareComponentGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HardwareComponentGroup.

func (*HardwareComponentGroup) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for HardwareComponentGroup struct.

type HardwareComponentGroupList Uses

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

HardwareComponentGroupList the collection of hardware component groups.

type HardwareComponentGroupProperties Uses

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

HardwareComponentGroupProperties the properties of hardware component group.

type HardwareComponentGroupsChangeControllerPowerStateFuture Uses

type HardwareComponentGroupsChangeControllerPowerStateFuture struct {
    azure.Future
}

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

func (*HardwareComponentGroupsChangeControllerPowerStateFuture) Result Uses

func (future *HardwareComponentGroupsChangeControllerPowerStateFuture) Result(client HardwareComponentGroupsClient) (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 HardwareComponentGroupsClient Uses

type HardwareComponentGroupsClient struct {
    BaseClient
}

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

func NewHardwareComponentGroupsClient Uses

func NewHardwareComponentGroupsClient(subscriptionID string) HardwareComponentGroupsClient

NewHardwareComponentGroupsClient creates an instance of the HardwareComponentGroupsClient client.

func NewHardwareComponentGroupsClientWithBaseURI Uses

func NewHardwareComponentGroupsClientWithBaseURI(baseURI string, subscriptionID string) HardwareComponentGroupsClient

NewHardwareComponentGroupsClientWithBaseURI creates an instance of the HardwareComponentGroupsClient client.

func (HardwareComponentGroupsClient) ChangeControllerPowerState Uses

func (client HardwareComponentGroupsClient) ChangeControllerPowerState(ctx context.Context, deviceName string, hardwareComponentGroupName string, parameters ControllerPowerStateChangeRequest, resourceGroupName string, managerName string) (result HardwareComponentGroupsChangeControllerPowerStateFuture, err error)

ChangeControllerPowerState changes the power state of the controller. Parameters: deviceName - the device name hardwareComponentGroupName - the hardware component group name. parameters - the controller power state change request. resourceGroupName - the resource group name managerName - the manager name

func (HardwareComponentGroupsClient) ChangeControllerPowerStatePreparer Uses

func (client HardwareComponentGroupsClient) ChangeControllerPowerStatePreparer(ctx context.Context, deviceName string, hardwareComponentGroupName string, parameters ControllerPowerStateChangeRequest, resourceGroupName string, managerName string) (*http.Request, error)

ChangeControllerPowerStatePreparer prepares the ChangeControllerPowerState request.

func (HardwareComponentGroupsClient) ChangeControllerPowerStateResponder Uses

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

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

func (HardwareComponentGroupsClient) ChangeControllerPowerStateSender Uses

func (client HardwareComponentGroupsClient) ChangeControllerPowerStateSender(req *http.Request) (future HardwareComponentGroupsChangeControllerPowerStateFuture, err error)

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

func (HardwareComponentGroupsClient) ListByDevice Uses

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

ListByDevice lists the hardware component groups at device-level. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (HardwareComponentGroupsClient) ListByDevicePreparer Uses

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

ListByDevicePreparer prepares the ListByDevice request.

func (HardwareComponentGroupsClient) ListByDeviceResponder Uses

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

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

func (HardwareComponentGroupsClient) ListByDeviceSender Uses

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

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

type HardwareComponentStatus Uses

type HardwareComponentStatus string

HardwareComponentStatus enumerates the values for hardware component status.

const (
    // HardwareComponentStatusFailure ...
    HardwareComponentStatusFailure HardwareComponentStatus = "Failure"
    // HardwareComponentStatusNotPresent ...
    HardwareComponentStatusNotPresent HardwareComponentStatus = "NotPresent"
    // HardwareComponentStatusOk ...
    HardwareComponentStatusOk HardwareComponentStatus = "Ok"
    // HardwareComponentStatusPoweredOff ...
    HardwareComponentStatusPoweredOff HardwareComponentStatus = "PoweredOff"
    // HardwareComponentStatusRecovering ...
    HardwareComponentStatusRecovering HardwareComponentStatus = "Recovering"
    // HardwareComponentStatusUnknown ...
    HardwareComponentStatusUnknown HardwareComponentStatus = "Unknown"
    // HardwareComponentStatusWarning ...
    HardwareComponentStatusWarning HardwareComponentStatus = "Warning"
)

func PossibleHardwareComponentStatusValues Uses

func PossibleHardwareComponentStatusValues() []HardwareComponentStatus

PossibleHardwareComponentStatusValues returns an array of possible values for the HardwareComponentStatus const type.

type ISCSIAndCloudStatus Uses

type ISCSIAndCloudStatus string

ISCSIAndCloudStatus enumerates the values for iscsi and cloud status.

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

func PossibleISCSIAndCloudStatusValues Uses

func PossibleISCSIAndCloudStatusValues() []ISCSIAndCloudStatus

PossibleISCSIAndCloudStatusValues returns an array of possible values for the ISCSIAndCloudStatus const type.

type InEligibilityCategory Uses

type InEligibilityCategory string

InEligibilityCategory enumerates the values for in eligibility category.

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

func PossibleInEligibilityCategoryValues Uses

func PossibleInEligibilityCategoryValues() []InEligibilityCategory

PossibleInEligibilityCategoryValues returns an array of possible values for the InEligibilityCategory const type.

type Job Uses

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

Job the job.

func (Job) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Job.

func (*Job) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Job struct.

type JobErrorDetails Uses

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

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

type JobErrorItem Uses

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

JobErrorItem the job error items.

type JobFilter Uses

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

JobFilter the OData filter to be used for jobs.

type JobList Uses

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

JobList the collection of jobs.

func (JobList) IsEmpty Uses

func (jl JobList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobListIterator Uses

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

JobListIterator provides access to a complete listing of Job values.

func NewJobListIterator Uses

func NewJobListIterator(page JobListPage) JobListIterator

Creates a new instance of the JobListIterator type.

func (*JobListIterator) Next Uses

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 Uses

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 Uses

func (iter JobListIterator) NotDone() bool

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

func (JobListIterator) Response Uses

func (iter JobListIterator) Response() JobList

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

func (JobListIterator) Value Uses

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 Uses

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

JobListPage contains a page of Job values.

func NewJobListPage Uses

func NewJobListPage(getNextPage func(context.Context, JobList) (JobList, error)) JobListPage

Creates a new instance of the JobListPage type.

func (*JobListPage) Next Uses

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 Uses

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 Uses

func (page JobListPage) NotDone() bool

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

func (JobListPage) Response Uses

func (page JobListPage) Response() JobList

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

func (JobListPage) Values Uses

func (page JobListPage) Values() []Job

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

type JobProperties Uses

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

JobProperties the properties of the job.

type JobStage Uses

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

JobStage the details about the specific stage of a job.

type JobStatus Uses

type JobStatus string

JobStatus enumerates the values for job status.

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

func PossibleJobStatusValues Uses

func PossibleJobStatusValues() []JobStatus

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

type JobType Uses

type JobType string

JobType enumerates the values for job type.

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

func PossibleJobTypeValues Uses

func PossibleJobTypeValues() []JobType

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

type JobsCancelFuture Uses

type JobsCancelFuture struct {
    azure.Future
}

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

func (*JobsCancelFuture) Result Uses

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

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

type JobsClient Uses

type JobsClient struct {
    BaseClient
}

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

func NewJobsClient Uses

func NewJobsClient(subscriptionID string) JobsClient

NewJobsClient creates an instance of the JobsClient client.

func NewJobsClientWithBaseURI Uses

func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient

NewJobsClientWithBaseURI creates an instance of the JobsClient client.

func (JobsClient) Cancel Uses

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

Cancel cancels a job on the device. Parameters: deviceName - the device name jobName - the jobName. resourceGroupName - the resource group name managerName - the manager name

func (JobsClient) CancelPreparer Uses

func (client JobsClient) CancelPreparer(ctx context.Context, deviceName string, jobName string, resourceGroupName string, managerName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (JobsClient) CancelResponder Uses

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

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

func (JobsClient) CancelSender Uses

func (client JobsClient) CancelSender(req *http.Request) (future JobsCancelFuture, err error)

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

func (JobsClient) Get Uses

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

Get gets the details of the specified job name. Parameters: deviceName - the device name jobName - the job Name. resourceGroupName - the resource group name managerName - the manager name

func (JobsClient) GetPreparer Uses

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 Uses

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 Uses

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 Uses

func (client JobsClient) ListByDevice(ctx context.Context, deviceName string, resourceGroupName string, managerName string, filter string) (result JobListPage, err error)

ListByDevice gets all the jobs for specified device. With optional OData query parameters, a filtered set of jobs is returned. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (JobsClient) ListByDeviceComplete Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByManager gets all the jobs for the specified manager. With optional OData query parameters, a filtered set of jobs is returned. Parameters: resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (JobsClient) ListByManagerComplete Uses

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 Uses

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

ListByManagerPreparer prepares the ListByManager request.

func (JobsClient) ListByManagerResponder Uses

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 Uses

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

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

type Key Uses

type Key struct {
    autorest.Response `json:"-"`
    // ActivationKey - The activation key for the device.
    ActivationKey *string `json:"activationKey,omitempty"`
}

Key the key.

type KeyRolloverStatus Uses

type KeyRolloverStatus string

KeyRolloverStatus enumerates the values for key rollover status.

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

func PossibleKeyRolloverStatusValues Uses

func PossibleKeyRolloverStatusValues() []KeyRolloverStatus

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

type Kind Uses

type Kind string

Kind enumerates the values for kind.

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

func PossibleKindValues Uses

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type ListFailoverTargetsRequest Uses

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

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

type Manager Uses

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

Manager the StorSimple Manager.

func (Manager) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Manager.

func (*Manager) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Manager struct.

type ManagerExtendedInfo Uses

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

ManagerExtendedInfo the extended info of the manager.

func (ManagerExtendedInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ManagerExtendedInfo.

func (*ManagerExtendedInfo) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ManagerExtendedInfo struct.

type ManagerExtendedInfoProperties Uses

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

ManagerExtendedInfoProperties the properties of the manager extended info.

type ManagerIntrinsicSettings Uses

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

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

type ManagerList Uses

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

ManagerList the list of StorSimple Managers.

type ManagerPatch Uses

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

ManagerPatch the StorSimple Manager patch.

func (ManagerPatch) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ManagerPatch.

type ManagerProperties Uses

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

ManagerProperties the properties of the StorSimple Manager.

type ManagerSku Uses

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

ManagerSku the Sku.

type ManagerType Uses

type ManagerType string

ManagerType enumerates the values for manager type.

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

func PossibleManagerTypeValues Uses

func PossibleManagerTypeValues() []ManagerType

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

type ManagersClient Uses

type ManagersClient struct {
    BaseClient
}

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

func NewManagersClient Uses

func NewManagersClient(subscriptionID string) ManagersClient

NewManagersClient creates an instance of the ManagersClient client.

func NewManagersClientWithBaseURI Uses

func NewManagersClientWithBaseURI(baseURI string, subscriptionID string) ManagersClient

NewManagersClientWithBaseURI creates an instance of the ManagersClient client.

func (ManagersClient) CreateExtendedInfo Uses

func (client ManagersClient) CreateExtendedInfo(ctx context.Context, parameters ManagerExtendedInfo, resourceGroupName string, managerName string) (result ManagerExtendedInfo, err error)

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

func (ManagersClient) CreateExtendedInfoPreparer Uses

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

CreateExtendedInfoPreparer prepares the CreateExtendedInfo request.

func (ManagersClient) CreateExtendedInfoResponder Uses

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 Uses

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 Uses

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

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

func (ManagersClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ManagersClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeleteExtendedInfoPreparer prepares the DeleteExtendedInfo request.

func (ManagersClient) DeleteExtendedInfoResponder Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ManagersClient) DeleteResponder Uses

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 Uses

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 Uses

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) GetActivationKey Uses

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

GetActivationKey returns the activation key of the manager. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) GetActivationKeyPreparer Uses

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

GetActivationKeyPreparer prepares the GetActivationKey request.

func (ManagersClient) GetActivationKeyResponder Uses

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

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

func (ManagersClient) GetActivationKeySender Uses

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

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

func (ManagersClient) GetDevicePublicEncryptionKey Uses

func (client ManagersClient) GetDevicePublicEncryptionKey(ctx context.Context, deviceName string, resourceGroupName string, managerName string) (result PublicKey, err error)

GetDevicePublicEncryptionKey returns the public encryption key of the device. Parameters: deviceName - the device name resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) GetDevicePublicEncryptionKeyPreparer Uses

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

GetDevicePublicEncryptionKeyPreparer prepares the GetDevicePublicEncryptionKey request.

func (ManagersClient) GetDevicePublicEncryptionKeyResponder Uses

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

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

func (ManagersClient) GetDevicePublicEncryptionKeySender Uses

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

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

func (ManagersClient) GetEncryptionSettings Uses

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 Uses

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

GetEncryptionSettingsPreparer prepares the GetEncryptionSettings request.

func (ManagersClient) GetEncryptionSettingsResponder Uses

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 Uses

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 Uses

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 Uses

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

GetExtendedInfoPreparer prepares the GetExtendedInfo request.

func (ManagersClient) GetExtendedInfoResponder Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ManagersClient) GetPublicEncryptionKey Uses

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

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

func (ManagersClient) GetPublicEncryptionKeyPreparer Uses

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

GetPublicEncryptionKeyPreparer prepares the GetPublicEncryptionKey request.

func (ManagersClient) GetPublicEncryptionKeyResponder Uses

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

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

func (ManagersClient) GetPublicEncryptionKeySender Uses

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

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

func (ManagersClient) GetResponder Uses

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 Uses

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 Uses

func (client ManagersClient) List(ctx context.Context) (result ManagerList, err error)

List retrieves all the managers in a subscription.

func (ManagersClient) ListByResourceGroup Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ManagersClient) ListByResourceGroupResponder Uses

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 Uses

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

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

func (ManagersClient) ListFeatureSupportStatus Uses

func (client ManagersClient) ListFeatureSupportStatus(ctx context.Context, resourceGroupName string, managerName string, filter string) (result FeatureList, err error)

ListFeatureSupportStatus lists the features and their support status Parameters: resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (ManagersClient) ListFeatureSupportStatusPreparer Uses

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

ListFeatureSupportStatusPreparer prepares the ListFeatureSupportStatus request.

func (ManagersClient) ListFeatureSupportStatusResponder Uses

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

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

func (ManagersClient) ListFeatureSupportStatusSender Uses

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

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

func (ManagersClient) ListMetricDefinition Uses

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

ListMetricDefinition gets the metric definitions for the specified manager. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) ListMetricDefinitionPreparer Uses

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

ListMetricDefinitionPreparer prepares the ListMetricDefinition request.

func (ManagersClient) ListMetricDefinitionResponder Uses

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 Uses

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 Uses

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

ListMetrics gets the metrics for the specified manager. Parameters: resourceGroupName - the resource group name managerName - the manager name filter - oData Filter options

func (ManagersClient) ListMetricsPreparer Uses

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

ListMetricsPreparer prepares the ListMetrics request.

func (ManagersClient) ListMetricsResponder Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ManagersClient) ListResponder Uses

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 Uses

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

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

func (ManagersClient) RegenerateActivationKey Uses

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

RegenerateActivationKey re-generates and returns the activation key of the manager. Parameters: resourceGroupName - the resource group name managerName - the manager name

func (ManagersClient) RegenerateActivationKeyPreparer Uses

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

RegenerateActivationKeyPreparer prepares the RegenerateActivationKey request.

func (ManagersClient) RegenerateActivationKeyResponder Uses

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

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

func (ManagersClient) RegenerateActivationKeySender Uses

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

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