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 BaseEventProviderSpecificDetailsImpl
- type BaseEventSpecificDetailsImpl
- 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 ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type RawEventProviderSpecificDetailsImpl
- type RawEventSpecificDetailsImpl
- 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) (result 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, ...) (result 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"` InstanceType string `json:"instanceType"` }
func (A2AEventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s A2AEventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
func (A2AEventDetails) MarshalJSON ¶
func (s A2AEventDetails) MarshalJSON() ([]byte, error)
type BaseEventProviderSpecificDetailsImpl ¶ added in v0.20240920.1135249
type BaseEventProviderSpecificDetailsImpl struct {
InstanceType string `json:"instanceType"`
}
func (BaseEventProviderSpecificDetailsImpl) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s BaseEventProviderSpecificDetailsImpl) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
type BaseEventSpecificDetailsImpl ¶ added in v0.20240920.1135249
type BaseEventSpecificDetailsImpl struct {
InstanceType string `json:"instanceType"`
}
func (BaseEventSpecificDetailsImpl) EventSpecificDetails ¶ added in v0.20240920.1135249
func (s BaseEventSpecificDetailsImpl) EventSpecificDetails() BaseEventSpecificDetailsImpl
type Event ¶
type Event struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *EventProperties `json:"properties,omitempty"` 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 {
EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
}
func UnmarshalEventProviderSpecificDetailsImplementation ¶ added in v0.20240920.1135249
func UnmarshalEventProviderSpecificDetailsImplementation(input []byte) (EventProviderSpecificDetails, error)
type EventSpecificDetails ¶
type EventSpecificDetails interface {
EventSpecificDetails() BaseEventSpecificDetailsImpl
}
func UnmarshalEventSpecificDetailsImplementation ¶ added in v0.20240920.1135249
func UnmarshalEventSpecificDetailsImplementation(input []byte) (EventSpecificDetails, error)
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" )
func (*HealthErrorCustomerResolvability) UnmarshalJSON ¶
func (s *HealthErrorCustomerResolvability) UnmarshalJSON(bytes []byte) error
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"` InstanceType string `json:"instanceType"` }
func (HyperVReplica2012EventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s HyperVReplica2012EventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
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"` InstanceType string `json:"instanceType"` }
func (HyperVReplica2012R2EventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s HyperVReplica2012R2EventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
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"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaAzureEventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s HyperVReplicaAzureEventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
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"` InstanceType string `json:"instanceType"` }
func (HyperVReplicaBaseEventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s HyperVReplicaBaseEventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
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"` InstanceType string `json:"instanceType"` }
func (InMageAzureV2EventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s InMageAzureV2EventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
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"` InstanceType string `json:"instanceType"` }
func (InMageRcmEventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s InMageRcmEventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
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"` InstanceType string `json:"instanceType"` }
func (InMageRcmFailbackEventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s InMageRcmFailbackEventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
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"` InstanceType string `json:"instanceType"` }
func (JobStatusEventDetails) EventSpecificDetails ¶ added in v0.20240920.1135249
func (s JobStatusEventDetails) EventSpecificDetails() BaseEventSpecificDetailsImpl
func (JobStatusEventDetails) MarshalJSON ¶
func (s JobStatusEventDetails) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
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 RawEventProviderSpecificDetailsImpl ¶
type RawEventProviderSpecificDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawEventProviderSpecificDetailsImpl 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).
func (RawEventProviderSpecificDetailsImpl) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s RawEventProviderSpecificDetailsImpl) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
type RawEventSpecificDetailsImpl ¶
type RawEventSpecificDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawEventSpecificDetailsImpl 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).
func (RawEventSpecificDetailsImpl) EventSpecificDetails ¶ added in v0.20240920.1135249
func (s RawEventSpecificDetailsImpl) EventSpecificDetails() BaseEventSpecificDetailsImpl
type ReplicationEventId ¶
type ReplicationEventId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationEventName string }
ReplicationEventId is a struct representing the Resource ID for a Replication Event
func NewReplicationEventID ¶
func NewReplicationEventID(subscriptionId string, resourceGroupName string, vaultName string, replicationEventName 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) FromParseResult ¶
func (id *ReplicationEventId) FromParseResult(input resourceids.ParseResult) error
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 *resourcemanager.Client
}
func NewReplicationEventsClientWithBaseURI ¶
func NewReplicationEventsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationEventsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (ReplicationEventsClient) ListComplete ¶
func (c ReplicationEventsClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ReplicationEventsClient) ListCompleteMatchingPredicate ¶
func (c ReplicationEventsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate EventOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type VMwareCbtEventDetails ¶
type VMwareCbtEventDetails struct { MigrationItemName *string `json:"migrationItemName,omitempty"` InstanceType string `json:"instanceType"` }
func (VMwareCbtEventDetails) EventProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s VMwareCbtEventDetails) EventProviderSpecificDetails() BaseEventProviderSpecificDetailsImpl
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) 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_replicationevent.go
- id_vault.go
- method_get.go
- method_list.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