Documentation ¶
Index ¶
- func PossibleValuesForHealthErrorCustomerResolvability() []string
- func PossibleValuesForProtectionHealth() []string
- func PossibleValuesForRcmComponentStatus() []string
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type ApplianceSpecificDetails
- type DraDetails
- type HealthError
- type HealthErrorCustomerResolvability
- type InMageRcmApplianceDetails
- type InMageRcmApplianceSpecificDetails
- type InMageRcmFabricSwitchProviderBlockingErrorDetails
- type InnerHealthError
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type MarsAgentDetails
- type ProcessServerDetails
- type ProtectionHealth
- type PushInstallerDetails
- type RawApplianceSpecificDetailsImpl
- type RcmComponentStatus
- type RcmProxyDetails
- type ReplicationAgentDetails
- type ReplicationAppliance
- type ReplicationApplianceOperationPredicate
- type ReplicationApplianceProperties
- type ReplicationAppliancesClient
- func (c ReplicationAppliancesClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ReplicationAppliancesClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ReplicationAppliancesClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type ReprotectAgentDetails
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHealthErrorCustomerResolvability ¶
func PossibleValuesForHealthErrorCustomerResolvability() []string
func PossibleValuesForProtectionHealth ¶
func PossibleValuesForProtectionHealth() []string
func PossibleValuesForRcmComponentStatus ¶
func PossibleValuesForRcmComponentStatus() []string
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type ApplianceSpecificDetails ¶
type ApplianceSpecificDetails interface { }
type DraDetails ¶
type DraDetails struct { BiosId *string `json:"biosId,omitempty"` ForwardProtectedItemCount *int64 `json:"forwardProtectedItemCount,omitempty"` Health *ProtectionHealth `json:"health,omitempty"` HealthErrors *[]HealthError `json:"healthErrors,omitempty"` Id *string `json:"id,omitempty"` LastHeartbeatUtc *string `json:"lastHeartbeatUtc,omitempty"` Name *string `json:"name,omitempty"` ReverseProtectedItemCount *int64 `json:"reverseProtectedItemCount,omitempty"` Version *string `json:"version,omitempty"` }
func (*DraDetails) GetLastHeartbeatUtcAsTime ¶
func (o *DraDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)
type HealthError ¶
type HealthError struct { CreationTimeUtc *string `json:"creationTimeUtc,omitempty"` CustomerResolvability *HealthErrorCustomerResolvability `json:"customerResolvability,omitempty"` EntityId *string `json:"entityId,omitempty"` ErrorCategory *string `json:"errorCategory,omitempty"` ErrorCode *string `json:"errorCode,omitempty"` ErrorId *string `json:"errorId,omitempty"` ErrorLevel *string `json:"errorLevel,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ErrorSource *string `json:"errorSource,omitempty"` ErrorType *string `json:"errorType,omitempty"` InnerHealthErrors *[]InnerHealthError `json:"innerHealthErrors,omitempty"` PossibleCauses *string `json:"possibleCauses,omitempty"` RecommendedAction *string `json:"recommendedAction,omitempty"` RecoveryProviderErrorMessage *string `json:"recoveryProviderErrorMessage,omitempty"` SummaryMessage *string `json:"summaryMessage,omitempty"` }
func (*HealthError) GetCreationTimeUtcAsTime ¶
func (o *HealthError) GetCreationTimeUtcAsTime() (*time.Time, error)
func (*HealthError) SetCreationTimeUtcAsTime ¶
func (o *HealthError) SetCreationTimeUtcAsTime(input time.Time)
type HealthErrorCustomerResolvability ¶
type HealthErrorCustomerResolvability string
const ( HealthErrorCustomerResolvabilityAllowed HealthErrorCustomerResolvability = "Allowed" HealthErrorCustomerResolvabilityNotAllowed HealthErrorCustomerResolvability = "NotAllowed" )
func (*HealthErrorCustomerResolvability) UnmarshalJSON ¶
func (s *HealthErrorCustomerResolvability) UnmarshalJSON(bytes []byte) error
type InMageRcmApplianceDetails ¶
type InMageRcmApplianceDetails struct { Dra *DraDetails `json:"dra,omitempty"` FabricArmId *string `json:"fabricArmId,omitempty"` Id *string `json:"id,omitempty"` MarsAgent *MarsAgentDetails `json:"marsAgent,omitempty"` Name *string `json:"name,omitempty"` ProcessServer *ProcessServerDetails `json:"processServer,omitempty"` PushInstaller *PushInstallerDetails `json:"pushInstaller,omitempty"` RcmProxy *RcmProxyDetails `json:"rcmProxy,omitempty"` ReplicationAgent *ReplicationAgentDetails `json:"replicationAgent,omitempty"` ReprotectAgent *ReprotectAgentDetails `json:"reprotectAgent,omitempty"` SwitchProviderBlockingErrorDetails *[]InMageRcmFabricSwitchProviderBlockingErrorDetails `json:"switchProviderBlockingErrorDetails,omitempty"` }
type InMageRcmApplianceSpecificDetails ¶
type InMageRcmApplianceSpecificDetails struct {
Appliances *[]InMageRcmApplianceDetails `json:"appliances,omitempty"`
}
func (InMageRcmApplianceSpecificDetails) MarshalJSON ¶
func (s InMageRcmApplianceSpecificDetails) MarshalJSON() ([]byte, error)
type InMageRcmFabricSwitchProviderBlockingErrorDetails ¶
type InMageRcmFabricSwitchProviderBlockingErrorDetails struct { ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ErrorMessageParameters *map[string]string `json:"errorMessageParameters,omitempty"` ErrorTags *map[string]string `json:"errorTags,omitempty"` PossibleCauses *string `json:"possibleCauses,omitempty"` RecommendedAction *string `json:"recommendedAction,omitempty"` }
type InnerHealthError ¶
type InnerHealthError struct { CreationTimeUtc *string `json:"creationTimeUtc,omitempty"` CustomerResolvability *HealthErrorCustomerResolvability `json:"customerResolvability,omitempty"` EntityId *string `json:"entityId,omitempty"` ErrorCategory *string `json:"errorCategory,omitempty"` ErrorCode *string `json:"errorCode,omitempty"` ErrorId *string `json:"errorId,omitempty"` ErrorLevel *string `json:"errorLevel,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ErrorSource *string `json:"errorSource,omitempty"` ErrorType *string `json:"errorType,omitempty"` PossibleCauses *string `json:"possibleCauses,omitempty"` RecommendedAction *string `json:"recommendedAction,omitempty"` RecoveryProviderErrorMessage *string `json:"recoveryProviderErrorMessage,omitempty"` SummaryMessage *string `json:"summaryMessage,omitempty"` }
func (*InnerHealthError) GetCreationTimeUtcAsTime ¶
func (o *InnerHealthError) GetCreationTimeUtcAsTime() (*time.Time, error)
func (*InnerHealthError) SetCreationTimeUtcAsTime ¶
func (o *InnerHealthError) SetCreationTimeUtcAsTime(input time.Time)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ReplicationAppliance }
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReplicationAppliance }
type MarsAgentDetails ¶
type MarsAgentDetails struct { BiosId *string `json:"biosId,omitempty"` FabricObjectId *string `json:"fabricObjectId,omitempty"` Fqdn *string `json:"fqdn,omitempty"` Health *ProtectionHealth `json:"health,omitempty"` HealthErrors *[]HealthError `json:"healthErrors,omitempty"` Id *string `json:"id,omitempty"` LastHeartbeatUtc *string `json:"lastHeartbeatUtc,omitempty"` Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` }
func (*MarsAgentDetails) GetLastHeartbeatUtcAsTime ¶
func (o *MarsAgentDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)
type ProcessServerDetails ¶
type ProcessServerDetails struct { AvailableMemoryInBytes *int64 `json:"availableMemoryInBytes,omitempty"` AvailableSpaceInBytes *int64 `json:"availableSpaceInBytes,omitempty"` BiosId *string `json:"biosId,omitempty"` DiskUsageStatus *RcmComponentStatus `json:"diskUsageStatus,omitempty"` FabricObjectId *string `json:"fabricObjectId,omitempty"` Fqdn *string `json:"fqdn,omitempty"` FreeSpacePercentage *float64 `json:"freeSpacePercentage,omitempty"` Health *ProtectionHealth `json:"health,omitempty"` HealthErrors *[]HealthError `json:"healthErrors,omitempty"` HistoricHealth *ProtectionHealth `json:"historicHealth,omitempty"` IPAddresses *[]string `json:"ipAddresses,omitempty"` Id *string `json:"id,omitempty"` LastHeartbeatUtc *string `json:"lastHeartbeatUtc,omitempty"` MemoryUsagePercentage *float64 `json:"memoryUsagePercentage,omitempty"` MemoryUsageStatus *RcmComponentStatus `json:"memoryUsageStatus,omitempty"` Name *string `json:"name,omitempty"` ProcessorUsagePercentage *float64 `json:"processorUsagePercentage,omitempty"` ProcessorUsageStatus *RcmComponentStatus `json:"processorUsageStatus,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` SystemLoad *int64 `json:"systemLoad,omitempty"` SystemLoadStatus *RcmComponentStatus `json:"systemLoadStatus,omitempty"` ThroughputInBytes *int64 `json:"throughputInBytes,omitempty"` ThroughputStatus *RcmComponentStatus `json:"throughputStatus,omitempty"` ThroughputUploadPendingDataInBytes *int64 `json:"throughputUploadPendingDataInBytes,omitempty"` TotalMemoryInBytes *int64 `json:"totalMemoryInBytes,omitempty"` TotalSpaceInBytes *int64 `json:"totalSpaceInBytes,omitempty"` UsedMemoryInBytes *int64 `json:"usedMemoryInBytes,omitempty"` UsedSpaceInBytes *int64 `json:"usedSpaceInBytes,omitempty"` Version *string `json:"version,omitempty"` }
func (*ProcessServerDetails) GetLastHeartbeatUtcAsTime ¶
func (o *ProcessServerDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)
type ProtectionHealth ¶
type ProtectionHealth string
const ( ProtectionHealthCritical ProtectionHealth = "Critical" ProtectionHealthNone ProtectionHealth = "None" ProtectionHealthNormal ProtectionHealth = "Normal" ProtectionHealthWarning ProtectionHealth = "Warning" )
func (*ProtectionHealth) UnmarshalJSON ¶
func (s *ProtectionHealth) UnmarshalJSON(bytes []byte) error
type PushInstallerDetails ¶
type PushInstallerDetails struct { BiosId *string `json:"biosId,omitempty"` FabricObjectId *string `json:"fabricObjectId,omitempty"` Fqdn *string `json:"fqdn,omitempty"` Health *ProtectionHealth `json:"health,omitempty"` HealthErrors *[]HealthError `json:"healthErrors,omitempty"` Id *string `json:"id,omitempty"` LastHeartbeatUtc *string `json:"lastHeartbeatUtc,omitempty"` Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` }
func (*PushInstallerDetails) GetLastHeartbeatUtcAsTime ¶
func (o *PushInstallerDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)
type RawApplianceSpecificDetailsImpl ¶
RawApplianceSpecificDetailsImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RcmComponentStatus ¶
type RcmComponentStatus string
const ( RcmComponentStatusCritical RcmComponentStatus = "Critical" RcmComponentStatusHealthy RcmComponentStatus = "Healthy" RcmComponentStatusUnknown RcmComponentStatus = "Unknown" RcmComponentStatusWarning RcmComponentStatus = "Warning" )
func (*RcmComponentStatus) UnmarshalJSON ¶
func (s *RcmComponentStatus) UnmarshalJSON(bytes []byte) error
type RcmProxyDetails ¶
type RcmProxyDetails struct { BiosId *string `json:"biosId,omitempty"` ClientAuthenticationType *string `json:"clientAuthenticationType,omitempty"` FabricObjectId *string `json:"fabricObjectId,omitempty"` Fqdn *string `json:"fqdn,omitempty"` Health *ProtectionHealth `json:"health,omitempty"` HealthErrors *[]HealthError `json:"healthErrors,omitempty"` Id *string `json:"id,omitempty"` LastHeartbeatUtc *string `json:"lastHeartbeatUtc,omitempty"` Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` }
func (*RcmProxyDetails) GetLastHeartbeatUtcAsTime ¶
func (o *RcmProxyDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)
type ReplicationAgentDetails ¶
type ReplicationAgentDetails struct { BiosId *string `json:"biosId,omitempty"` FabricObjectId *string `json:"fabricObjectId,omitempty"` Fqdn *string `json:"fqdn,omitempty"` Health *ProtectionHealth `json:"health,omitempty"` HealthErrors *[]HealthError `json:"healthErrors,omitempty"` Id *string `json:"id,omitempty"` LastHeartbeatUtc *string `json:"lastHeartbeatUtc,omitempty"` Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` }
func (*ReplicationAgentDetails) GetLastHeartbeatUtcAsTime ¶
func (o *ReplicationAgentDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)
type ReplicationAppliance ¶
type ReplicationAppliance struct {
Properties *ReplicationApplianceProperties `json:"properties,omitempty"`
}
type ReplicationApplianceOperationPredicate ¶
type ReplicationApplianceOperationPredicate struct { }
func (ReplicationApplianceOperationPredicate) Matches ¶
func (p ReplicationApplianceOperationPredicate) Matches(input ReplicationAppliance) bool
type ReplicationApplianceProperties ¶
type ReplicationApplianceProperties struct {
ProviderSpecificDetails ApplianceSpecificDetails `json:"providerSpecificDetails"`
}
func (*ReplicationApplianceProperties) UnmarshalJSON ¶
func (s *ReplicationApplianceProperties) UnmarshalJSON(bytes []byte) error
type ReplicationAppliancesClient ¶
type ReplicationAppliancesClient struct {
Client *resourcemanager.Client
}
func NewReplicationAppliancesClientWithBaseURI ¶
func NewReplicationAppliancesClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationAppliancesClient, error)
func (ReplicationAppliancesClient) List ¶
func (c ReplicationAppliancesClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ReplicationAppliancesClient) ListComplete ¶
func (c ReplicationAppliancesClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ReplicationAppliancesClient) ListCompleteMatchingPredicate ¶
func (c ReplicationAppliancesClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate ReplicationApplianceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ReprotectAgentDetails ¶
type ReprotectAgentDetails struct { AccessibleDatastores *[]string `json:"accessibleDatastores,omitempty"` BiosId *string `json:"biosId,omitempty"` FabricObjectId *string `json:"fabricObjectId,omitempty"` Fqdn *string `json:"fqdn,omitempty"` Health *ProtectionHealth `json:"health,omitempty"` HealthErrors *[]HealthError `json:"healthErrors,omitempty"` Id *string `json:"id,omitempty"` LastDiscoveryInUtc *string `json:"lastDiscoveryInUtc,omitempty"` LastHeartbeatUtc *string `json:"lastHeartbeatUtc,omitempty"` Name *string `json:"name,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` VcenterId *string `json:"vcenterId,omitempty"` Version *string `json:"version,omitempty"` }
func (*ReprotectAgentDetails) GetLastDiscoveryInUtcAsTime ¶
func (o *ReprotectAgentDetails) GetLastDiscoveryInUtcAsTime() (*time.Time, error)
func (*ReprotectAgentDetails) GetLastHeartbeatUtcAsTime ¶
func (o *ReprotectAgentDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)
type VaultId ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
ParseVaultIDInsensitively parses 'input' case-insensitively into a VaultId note: this method should only be used for API response data and not user input
func (*VaultId) FromParseResult ¶
func (id *VaultId) FromParseResult(input resourceids.ParseResult) error
func (VaultId) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID
Source Files ¶
- client.go
- constants.go
- id_vault.go
- method_list.go
- model_appliancespecificdetails.go
- model_dradetails.go
- model_healtherror.go
- model_inmagercmappliancedetails.go
- model_inmagercmappliancespecificdetails.go
- model_inmagercmfabricswitchproviderblockingerrordetails.go
- model_innerhealtherror.go
- model_marsagentdetails.go
- model_processserverdetails.go
- model_pushinstallerdetails.go
- model_rcmproxydetails.go
- model_replicationagentdetails.go
- model_replicationappliance.go
- model_replicationapplianceproperties.go
- model_reprotectagentdetails.go
- predicates.go
- version.go