Documentation ¶
Index ¶
- func PossibleValuesForHealthErrorCustomerResolvability() []string
- func ValidateReplicationEventID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type A2AEventDetails
- type Event
- type EventOperationPredicate
- type EventProperties
- type EventProviderSpecificDetails
- type EventSpecificDetails
- type GetOperationResponse
- type HealthError
- type HealthErrorCustomerResolvability
- type HyperVReplica2012EventDetails
- type HyperVReplica2012R2EventDetails
- type HyperVReplicaAzureEventDetails
- type HyperVReplicaBaseEventDetails
- type InMageAzureV2EventDetails
- type InMageRcmEventDetails
- type InMageRcmFailbackEventDetails
- type InnerHealthError
- type JobStatusEventDetails
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ReplicationEventId
- type ReplicationEventsClient
- func (c ReplicationEventsClient) Get(ctx context.Context, id ReplicationEventId) (result GetOperationResponse, err error)
- func (c ReplicationEventsClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c ReplicationEventsClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ReplicationEventsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type VMwareCbtEventDetails
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHealthErrorCustomerResolvability ¶
func PossibleValuesForHealthErrorCustomerResolvability() []string
func ValidateReplicationEventID ¶
ValidateReplicationEventID checks that 'input' can be parsed as a Replication Event ID
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type A2AEventDetails ¶
type A2AEventDetails struct { FabricLocation *string `json:"fabricLocation,omitempty"` FabricName *string `json:"fabricName,omitempty"` FabricObjectId *string `json:"fabricObjectId,omitempty"` ProtectedItemName *string `json:"protectedItemName,omitempty"` RemoteFabricLocation *string `json:"remoteFabricLocation,omitempty"` RemoteFabricName *string `json:"remoteFabricName,omitempty"` }
func (A2AEventDetails) MarshalJSON ¶
func (s A2AEventDetails) MarshalJSON() ([]byte, error)
type Event ¶
type Event struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *EventProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type EventOperationPredicate ¶
func (EventOperationPredicate) Matches ¶
func (p EventOperationPredicate) Matches(input Event) bool
type EventProperties ¶
type EventProperties struct { AffectedObjectCorrelationId *string `json:"affectedObjectCorrelationId,omitempty"` AffectedObjectFriendlyName *string `json:"affectedObjectFriendlyName,omitempty"` Description *string `json:"description,omitempty"` EventCode *string `json:"eventCode,omitempty"` EventSpecificDetails EventSpecificDetails `json:"eventSpecificDetails"` EventType *string `json:"eventType,omitempty"` FabricId *string `json:"fabricId,omitempty"` HealthErrors *[]HealthError `json:"healthErrors,omitempty"` ProviderSpecificDetails EventProviderSpecificDetails `json:"providerSpecificDetails"` Severity *string `json:"severity,omitempty"` TimeOfOccurrence *string `json:"timeOfOccurrence,omitempty"` }
func (*EventProperties) GetTimeOfOccurrenceAsTime ¶
func (o *EventProperties) GetTimeOfOccurrenceAsTime() (*time.Time, error)
func (*EventProperties) SetTimeOfOccurrenceAsTime ¶
func (o *EventProperties) SetTimeOfOccurrenceAsTime(input time.Time)
func (*EventProperties) UnmarshalJSON ¶
func (s *EventProperties) UnmarshalJSON(bytes []byte) error
type EventProviderSpecificDetails ¶
type EventProviderSpecificDetails interface { }
type EventSpecificDetails ¶
type EventSpecificDetails interface { }
type GetOperationResponse ¶
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" )
type HyperVReplica2012EventDetails ¶
type HyperVReplica2012EventDetails struct { ContainerName *string `json:"containerName,omitempty"` FabricName *string `json:"fabricName,omitempty"` RemoteContainerName *string `json:"remoteContainerName,omitempty"` RemoteFabricName *string `json:"remoteFabricName,omitempty"` }
func (HyperVReplica2012EventDetails) MarshalJSON ¶
func (s HyperVReplica2012EventDetails) MarshalJSON() ([]byte, error)
type HyperVReplica2012R2EventDetails ¶
type HyperVReplica2012R2EventDetails struct { ContainerName *string `json:"containerName,omitempty"` FabricName *string `json:"fabricName,omitempty"` RemoteContainerName *string `json:"remoteContainerName,omitempty"` RemoteFabricName *string `json:"remoteFabricName,omitempty"` }
func (HyperVReplica2012R2EventDetails) MarshalJSON ¶
func (s HyperVReplica2012R2EventDetails) MarshalJSON() ([]byte, error)
type HyperVReplicaAzureEventDetails ¶
type HyperVReplicaAzureEventDetails struct { ContainerName *string `json:"containerName,omitempty"` FabricName *string `json:"fabricName,omitempty"` RemoteContainerName *string `json:"remoteContainerName,omitempty"` }
func (HyperVReplicaAzureEventDetails) MarshalJSON ¶
func (s HyperVReplicaAzureEventDetails) MarshalJSON() ([]byte, error)
type HyperVReplicaBaseEventDetails ¶
type HyperVReplicaBaseEventDetails struct { ContainerName *string `json:"containerName,omitempty"` FabricName *string `json:"fabricName,omitempty"` RemoteContainerName *string `json:"remoteContainerName,omitempty"` RemoteFabricName *string `json:"remoteFabricName,omitempty"` }
func (HyperVReplicaBaseEventDetails) MarshalJSON ¶
func (s HyperVReplicaBaseEventDetails) MarshalJSON() ([]byte, error)
type InMageAzureV2EventDetails ¶
type InMageAzureV2EventDetails struct { Category *string `json:"category,omitempty"` Component *string `json:"component,omitempty"` CorrectiveAction *string `json:"correctiveAction,omitempty"` Details *string `json:"details,omitempty"` EventType *string `json:"eventType,omitempty"` SiteName *string `json:"siteName,omitempty"` Summary *string `json:"summary,omitempty"` }
func (InMageAzureV2EventDetails) MarshalJSON ¶
func (s InMageAzureV2EventDetails) MarshalJSON() ([]byte, error)
type InMageRcmEventDetails ¶
type InMageRcmEventDetails struct { ApplianceName *string `json:"applianceName,omitempty"` ComponentDisplayName *string `json:"componentDisplayName,omitempty"` FabricName *string `json:"fabricName,omitempty"` JobId *string `json:"jobId,omitempty"` LatestAgentVersion *string `json:"latestAgentVersion,omitempty"` ProtectedItemName *string `json:"protectedItemName,omitempty"` ServerType *string `json:"serverType,omitempty"` VirtualMachineName *string `json:"vmName,omitempty"` }
func (InMageRcmEventDetails) MarshalJSON ¶
func (s InMageRcmEventDetails) MarshalJSON() ([]byte, error)
type InMageRcmFailbackEventDetails ¶
type InMageRcmFailbackEventDetails struct { ApplianceName *string `json:"applianceName,omitempty"` ComponentDisplayName *string `json:"componentDisplayName,omitempty"` ProtectedItemName *string `json:"protectedItemName,omitempty"` ServerType *string `json:"serverType,omitempty"` VirtualMachineName *string `json:"vmName,omitempty"` }
func (InMageRcmFailbackEventDetails) MarshalJSON ¶
func (s InMageRcmFailbackEventDetails) MarshalJSON() ([]byte, error)
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 JobStatusEventDetails ¶
type JobStatusEventDetails struct { AffectedObjectType *string `json:"affectedObjectType,omitempty"` JobFriendlyName *string `json:"jobFriendlyName,omitempty"` JobId *string `json:"jobId,omitempty"` JobStatus *string `json:"jobStatus,omitempty"` }
func (JobStatusEventDetails) MarshalJSON ¶
func (s JobStatusEventDetails) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Event
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Event // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ReplicationEventId ¶
type ReplicationEventId struct { SubscriptionId string ResourceGroupName string ResourceName string EventName string }
ReplicationEventId is a struct representing the Resource ID for a Replication Event
func NewReplicationEventID ¶
func NewReplicationEventID(subscriptionId string, resourceGroupName string, resourceName string, eventName string) ReplicationEventId
NewReplicationEventID returns a new ReplicationEventId struct
func ParseReplicationEventID ¶
func ParseReplicationEventID(input string) (*ReplicationEventId, error)
ParseReplicationEventID parses 'input' into a ReplicationEventId
func ParseReplicationEventIDInsensitively ¶
func ParseReplicationEventIDInsensitively(input string) (*ReplicationEventId, error)
ParseReplicationEventIDInsensitively parses 'input' case-insensitively into a ReplicationEventId note: this method should only be used for API response data and not user input
func (ReplicationEventId) ID ¶
func (id ReplicationEventId) ID() string
ID returns the formatted Replication Event ID
func (ReplicationEventId) Segments ¶
func (id ReplicationEventId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Event ID
func (ReplicationEventId) String ¶
func (id ReplicationEventId) String() string
String returns a human-readable description of this Replication Event ID
type ReplicationEventsClient ¶
type ReplicationEventsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewReplicationEventsClientWithBaseURI ¶
func NewReplicationEventsClientWithBaseURI(endpoint string) ReplicationEventsClient
func (ReplicationEventsClient) Get ¶
func (c ReplicationEventsClient) Get(ctx context.Context, id ReplicationEventId) (result GetOperationResponse, err error)
Get ...
func (ReplicationEventsClient) List ¶
func (c ReplicationEventsClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (ReplicationEventsClient) ListComplete ¶
func (c ReplicationEventsClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ReplicationEventsClient) ListCompleteMatchingPredicate ¶
func (c ReplicationEventsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate EventOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type VMwareCbtEventDetails ¶
type VMwareCbtEventDetails struct {
MigrationItemName *string `json:"migrationItemName,omitempty"`
}
func (VMwareCbtEventDetails) MarshalJSON ¶
func (s VMwareCbtEventDetails) MarshalJSON() ([]byte, 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) 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_replicationevent.go
- id_vault.go
- method_get_autorest.go
- method_list_autorest.go
- model_a2aeventdetails.go
- model_event.go
- model_eventproperties.go
- model_eventproviderspecificdetails.go
- model_eventspecificdetails.go
- model_healtherror.go
- model_hypervreplica2012eventdetails.go
- model_hypervreplica2012r2eventdetails.go
- model_hypervreplicaazureeventdetails.go
- model_hypervreplicabaseeventdetails.go
- model_inmageazurev2eventdetails.go
- model_inmagercmeventdetails.go
- model_inmagercmfailbackeventdetails.go
- model_innerhealtherror.go
- model_jobstatuseventdetails.go
- model_vmwarecbteventdetails.go
- predicates.go
- version.go