Documentation ¶
Index ¶
- func PossibleValuesForRecoveryPointSyncType() []string
- func ValidateRecoveryPointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateReplicationProtectedItemID(input interface{}, key string) (warnings []string, errors []error)
- type A2ARecoveryPointDetails
- type GetOperationResponse
- type InMageAzureV2RecoveryPointDetails
- type InMageRcmRecoveryPointDetails
- type ListByReplicationProtectedItemsCompleteResult
- type ListByReplicationProtectedItemsOperationResponse
- type ProviderSpecificRecoveryPointDetails
- type RecoveryPoint
- type RecoveryPointId
- type RecoveryPointOperationPredicate
- type RecoveryPointProperties
- type RecoveryPointSyncType
- type RecoveryPointsClient
- func (c RecoveryPointsClient) Get(ctx context.Context, id RecoveryPointId) (result GetOperationResponse, err error)
- func (c RecoveryPointsClient) ListByReplicationProtectedItems(ctx context.Context, id ReplicationProtectedItemId) (resp ListByReplicationProtectedItemsOperationResponse, err error)
- func (c RecoveryPointsClient) ListByReplicationProtectedItemsComplete(ctx context.Context, id ReplicationProtectedItemId) (ListByReplicationProtectedItemsCompleteResult, error)
- func (c RecoveryPointsClient) ListByReplicationProtectedItemsCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectedItemId, ...) (resp ListByReplicationProtectedItemsCompleteResult, err error)
- type ReplicationProtectedItemId
- func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, resourceName string, ...) ReplicationProtectedItemId
- func ParseReplicationProtectedItemID(input string) (*ReplicationProtectedItemId, error)
- func ParseReplicationProtectedItemIDInsensitively(input string) (*ReplicationProtectedItemId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRecoveryPointSyncType ¶
func PossibleValuesForRecoveryPointSyncType() []string
func ValidateRecoveryPointID ¶
ValidateRecoveryPointID checks that 'input' can be parsed as a Recovery Point ID
func ValidateReplicationProtectedItemID ¶
func ValidateReplicationProtectedItemID(input interface{}, key string) (warnings []string, errors []error)
ValidateReplicationProtectedItemID checks that 'input' can be parsed as a Replication Protected Item ID
Types ¶
type A2ARecoveryPointDetails ¶
type A2ARecoveryPointDetails struct { Disks *[]string `json:"disks,omitempty"` RecoveryPointSyncType *RecoveryPointSyncType `json:"recoveryPointSyncType,omitempty"` }
func (A2ARecoveryPointDetails) MarshalJSON ¶
func (s A2ARecoveryPointDetails) MarshalJSON() ([]byte, error)
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *RecoveryPoint }
type InMageAzureV2RecoveryPointDetails ¶
type InMageAzureV2RecoveryPointDetails struct {
IsMultiVmSyncPoint *string `json:"isMultiVmSyncPoint,omitempty"`
}
func (InMageAzureV2RecoveryPointDetails) MarshalJSON ¶
func (s InMageAzureV2RecoveryPointDetails) MarshalJSON() ([]byte, error)
type InMageRcmRecoveryPointDetails ¶
type InMageRcmRecoveryPointDetails struct {
IsMultiVmSyncPoint *string `json:"isMultiVmSyncPoint,omitempty"`
}
func (InMageRcmRecoveryPointDetails) MarshalJSON ¶
func (s InMageRcmRecoveryPointDetails) MarshalJSON() ([]byte, error)
type ListByReplicationProtectedItemsCompleteResult ¶
type ListByReplicationProtectedItemsCompleteResult struct {
Items []RecoveryPoint
}
type ListByReplicationProtectedItemsOperationResponse ¶
type ListByReplicationProtectedItemsOperationResponse struct { HttpResponse *http.Response Model *[]RecoveryPoint // contains filtered or unexported fields }
func (ListByReplicationProtectedItemsOperationResponse) HasMore ¶
func (r ListByReplicationProtectedItemsOperationResponse) HasMore() bool
func (ListByReplicationProtectedItemsOperationResponse) LoadMore ¶
func (r ListByReplicationProtectedItemsOperationResponse) LoadMore(ctx context.Context) (resp ListByReplicationProtectedItemsOperationResponse, err error)
type ProviderSpecificRecoveryPointDetails ¶
type ProviderSpecificRecoveryPointDetails interface { }
type RecoveryPoint ¶
type RecoveryPoint struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *RecoveryPointProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecoveryPointId ¶
type RecoveryPointId struct { SubscriptionId string ResourceGroupName string ResourceName string FabricName string ProtectionContainerName string ReplicatedProtectedItemName string RecoveryPointName string }
RecoveryPointId is a struct representing the Resource ID for a Recovery Point
func NewRecoveryPointID ¶
func NewRecoveryPointID(subscriptionId string, resourceGroupName string, resourceName string, fabricName string, protectionContainerName string, replicatedProtectedItemName string, recoveryPointName string) RecoveryPointId
NewRecoveryPointID returns a new RecoveryPointId struct
func ParseRecoveryPointID ¶
func ParseRecoveryPointID(input string) (*RecoveryPointId, error)
ParseRecoveryPointID parses 'input' into a RecoveryPointId
func ParseRecoveryPointIDInsensitively ¶
func ParseRecoveryPointIDInsensitively(input string) (*RecoveryPointId, error)
ParseRecoveryPointIDInsensitively parses 'input' case-insensitively into a RecoveryPointId note: this method should only be used for API response data and not user input
func (RecoveryPointId) ID ¶
func (id RecoveryPointId) ID() string
ID returns the formatted Recovery Point ID
func (RecoveryPointId) Segments ¶
func (id RecoveryPointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Recovery Point ID
func (RecoveryPointId) String ¶
func (id RecoveryPointId) String() string
String returns a human-readable description of this Recovery Point ID
type RecoveryPointOperationPredicate ¶
type RecoveryPointOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (RecoveryPointOperationPredicate) Matches ¶
func (p RecoveryPointOperationPredicate) Matches(input RecoveryPoint) bool
type RecoveryPointProperties ¶
type RecoveryPointProperties struct { ProviderSpecificDetails ProviderSpecificRecoveryPointDetails `json:"providerSpecificDetails"` RecoveryPointTime *string `json:"recoveryPointTime,omitempty"` RecoveryPointType *string `json:"recoveryPointType,omitempty"` }
func (*RecoveryPointProperties) GetRecoveryPointTimeAsTime ¶
func (o *RecoveryPointProperties) GetRecoveryPointTimeAsTime() (*time.Time, error)
func (*RecoveryPointProperties) SetRecoveryPointTimeAsTime ¶
func (o *RecoveryPointProperties) SetRecoveryPointTimeAsTime(input time.Time)
func (*RecoveryPointProperties) UnmarshalJSON ¶
func (s *RecoveryPointProperties) UnmarshalJSON(bytes []byte) error
type RecoveryPointSyncType ¶
type RecoveryPointSyncType string
const ( RecoveryPointSyncTypeMultiVmSyncRecoveryPoint RecoveryPointSyncType = "MultiVmSyncRecoveryPoint" RecoveryPointSyncTypePerVmRecoveryPoint RecoveryPointSyncType = "PerVmRecoveryPoint" )
type RecoveryPointsClient ¶
type RecoveryPointsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRecoveryPointsClientWithBaseURI ¶
func NewRecoveryPointsClientWithBaseURI(endpoint string) RecoveryPointsClient
func (RecoveryPointsClient) Get ¶
func (c RecoveryPointsClient) Get(ctx context.Context, id RecoveryPointId) (result GetOperationResponse, err error)
Get ...
func (RecoveryPointsClient) ListByReplicationProtectedItems ¶
func (c RecoveryPointsClient) ListByReplicationProtectedItems(ctx context.Context, id ReplicationProtectedItemId) (resp ListByReplicationProtectedItemsOperationResponse, err error)
ListByReplicationProtectedItems ...
func (RecoveryPointsClient) ListByReplicationProtectedItemsComplete ¶
func (c RecoveryPointsClient) ListByReplicationProtectedItemsComplete(ctx context.Context, id ReplicationProtectedItemId) (ListByReplicationProtectedItemsCompleteResult, error)
ListByReplicationProtectedItemsComplete retrieves all of the results into a single object
func (RecoveryPointsClient) ListByReplicationProtectedItemsCompleteMatchingPredicate ¶
func (c RecoveryPointsClient) ListByReplicationProtectedItemsCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectedItemId, predicate RecoveryPointOperationPredicate) (resp ListByReplicationProtectedItemsCompleteResult, err error)
ListByReplicationProtectedItemsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ReplicationProtectedItemId ¶
type ReplicationProtectedItemId struct { SubscriptionId string ResourceGroupName string ResourceName string FabricName string ProtectionContainerName string ReplicatedProtectedItemName string }
ReplicationProtectedItemId is a struct representing the Resource ID for a Replication Protected Item
func NewReplicationProtectedItemID ¶
func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, resourceName string, fabricName string, protectionContainerName string, replicatedProtectedItemName string) ReplicationProtectedItemId
NewReplicationProtectedItemID returns a new ReplicationProtectedItemId struct
func ParseReplicationProtectedItemID ¶
func ParseReplicationProtectedItemID(input string) (*ReplicationProtectedItemId, error)
ParseReplicationProtectedItemID parses 'input' into a ReplicationProtectedItemId
func ParseReplicationProtectedItemIDInsensitively ¶
func ParseReplicationProtectedItemIDInsensitively(input string) (*ReplicationProtectedItemId, error)
ParseReplicationProtectedItemIDInsensitively parses 'input' case-insensitively into a ReplicationProtectedItemId note: this method should only be used for API response data and not user input
func (ReplicationProtectedItemId) ID ¶
func (id ReplicationProtectedItemId) ID() string
ID returns the formatted Replication Protected Item ID
func (ReplicationProtectedItemId) Segments ¶
func (id ReplicationProtectedItemId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Protected Item ID
func (ReplicationProtectedItemId) String ¶
func (id ReplicationProtectedItemId) String() string
String returns a human-readable description of this Replication Protected Item ID
Source Files ¶
- client.go
- constants.go
- id_recoverypoint.go
- id_replicationprotecteditem.go
- method_get_autorest.go
- method_listbyreplicationprotecteditems_autorest.go
- model_a2arecoverypointdetails.go
- model_inmageazurev2recoverypointdetails.go
- model_inmagercmrecoverypointdetails.go
- model_providerspecificrecoverypointdetails.go
- model_recoverypoint.go
- model_recoverypointproperties.go
- predicates.go
- version.go