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 BaseProviderSpecificRecoveryPointDetailsImpl
- type GetOperationResponse
- type InMageAzureV2RecoveryPointDetails
- type InMageRcmRecoveryPointDetails
- type ListByReplicationProtectedItemsCompleteResult
- type ListByReplicationProtectedItemsCustomPager
- type ListByReplicationProtectedItemsOperationResponse
- type ProviderSpecificRecoveryPointDetails
- type RawProviderSpecificRecoveryPointDetailsImpl
- 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) (result ListByReplicationProtectedItemsOperationResponse, err error)
- func (c RecoveryPointsClient) ListByReplicationProtectedItemsComplete(ctx context.Context, id ReplicationProtectedItemId) (ListByReplicationProtectedItemsCompleteResult, error)
- func (c RecoveryPointsClient) ListByReplicationProtectedItemsCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectedItemId, ...) (result ListByReplicationProtectedItemsCompleteResult, err error)
- type ReplicationProtectedItemId
- func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, vaultName 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"` InstanceType string `json:"instanceType"` }
func (A2ARecoveryPointDetails) MarshalJSON ¶
func (s A2ARecoveryPointDetails) MarshalJSON() ([]byte, error)
func (A2ARecoveryPointDetails) ProviderSpecificRecoveryPointDetails ¶ added in v0.20240920.1135249
func (s A2ARecoveryPointDetails) ProviderSpecificRecoveryPointDetails() BaseProviderSpecificRecoveryPointDetailsImpl
type BaseProviderSpecificRecoveryPointDetailsImpl ¶ added in v0.20240920.1135249
type BaseProviderSpecificRecoveryPointDetailsImpl struct {
InstanceType string `json:"instanceType"`
}
func (BaseProviderSpecificRecoveryPointDetailsImpl) ProviderSpecificRecoveryPointDetails ¶ added in v0.20240920.1135249
func (s BaseProviderSpecificRecoveryPointDetailsImpl) ProviderSpecificRecoveryPointDetails() BaseProviderSpecificRecoveryPointDetailsImpl
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RecoveryPoint }
type InMageAzureV2RecoveryPointDetails ¶
type InMageAzureV2RecoveryPointDetails struct { IsMultiVMSyncPoint *string `json:"isMultiVmSyncPoint,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageAzureV2RecoveryPointDetails) MarshalJSON ¶
func (s InMageAzureV2RecoveryPointDetails) MarshalJSON() ([]byte, error)
func (InMageAzureV2RecoveryPointDetails) ProviderSpecificRecoveryPointDetails ¶ added in v0.20240920.1135249
func (s InMageAzureV2RecoveryPointDetails) ProviderSpecificRecoveryPointDetails() BaseProviderSpecificRecoveryPointDetailsImpl
type InMageRcmRecoveryPointDetails ¶
type InMageRcmRecoveryPointDetails struct { IsMultiVMSyncPoint *string `json:"isMultiVmSyncPoint,omitempty"` InstanceType string `json:"instanceType"` }
func (InMageRcmRecoveryPointDetails) MarshalJSON ¶
func (s InMageRcmRecoveryPointDetails) MarshalJSON() ([]byte, error)
func (InMageRcmRecoveryPointDetails) ProviderSpecificRecoveryPointDetails ¶ added in v0.20240920.1135249
func (s InMageRcmRecoveryPointDetails) ProviderSpecificRecoveryPointDetails() BaseProviderSpecificRecoveryPointDetailsImpl
type ListByReplicationProtectedItemsCompleteResult ¶
type ListByReplicationProtectedItemsCompleteResult struct { LatestHttpResponse *http.Response Items []RecoveryPoint }
type ListByReplicationProtectedItemsCustomPager ¶ added in v0.20240628.1153531
func (*ListByReplicationProtectedItemsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByReplicationProtectedItemsCustomPager) NextPageLink() *odata.Link
type ListByReplicationProtectedItemsOperationResponse ¶
type ListByReplicationProtectedItemsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RecoveryPoint }
type ProviderSpecificRecoveryPointDetails ¶
type ProviderSpecificRecoveryPointDetails interface {
ProviderSpecificRecoveryPointDetails() BaseProviderSpecificRecoveryPointDetailsImpl
}
func UnmarshalProviderSpecificRecoveryPointDetailsImplementation ¶ added in v0.20240920.1135249
func UnmarshalProviderSpecificRecoveryPointDetailsImplementation(input []byte) (ProviderSpecificRecoveryPointDetails, error)
type RawProviderSpecificRecoveryPointDetailsImpl ¶
type RawProviderSpecificRecoveryPointDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawProviderSpecificRecoveryPointDetailsImpl 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 (RawProviderSpecificRecoveryPointDetailsImpl) ProviderSpecificRecoveryPointDetails ¶ added in v0.20240920.1135249
func (s RawProviderSpecificRecoveryPointDetailsImpl) ProviderSpecificRecoveryPointDetails() BaseProviderSpecificRecoveryPointDetailsImpl
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 VaultName string ReplicationFabricName string ReplicationProtectionContainerName string ReplicationProtectedItemName string RecoveryPointName string }
RecoveryPointId is a struct representing the Resource ID for a Recovery Point
func NewRecoveryPointID ¶
func NewRecoveryPointID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string, replicationProtectedItemName 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) FromParseResult ¶
func (id *RecoveryPointId) FromParseResult(input resourceids.ParseResult) error
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" )
func (*RecoveryPointSyncType) UnmarshalJSON ¶
func (s *RecoveryPointSyncType) UnmarshalJSON(bytes []byte) error
type RecoveryPointsClient ¶
type RecoveryPointsClient struct {
Client *resourcemanager.Client
}
func NewRecoveryPointsClientWithBaseURI ¶
func NewRecoveryPointsClientWithBaseURI(sdkApi sdkEnv.Api) (*RecoveryPointsClient, error)
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) (result ListByReplicationProtectedItemsOperationResponse, err error)
ListByReplicationProtectedItems ...
func (RecoveryPointsClient) ListByReplicationProtectedItemsComplete ¶
func (c RecoveryPointsClient) ListByReplicationProtectedItemsComplete(ctx context.Context, id ReplicationProtectedItemId) (ListByReplicationProtectedItemsCompleteResult, error)
ListByReplicationProtectedItemsComplete retrieves all the results into a single object
func (RecoveryPointsClient) ListByReplicationProtectedItemsCompleteMatchingPredicate ¶
func (c RecoveryPointsClient) ListByReplicationProtectedItemsCompleteMatchingPredicate(ctx context.Context, id ReplicationProtectedItemId, predicate RecoveryPointOperationPredicate) (result ListByReplicationProtectedItemsCompleteResult, err error)
ListByReplicationProtectedItemsCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ReplicationProtectedItemId ¶
type ReplicationProtectedItemId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationFabricName string ReplicationProtectionContainerName string ReplicationProtectedItemName string }
ReplicationProtectedItemId is a struct representing the Resource ID for a Replication Protected Item
func NewReplicationProtectedItemID ¶
func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string, replicationProtectedItemName 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) FromParseResult ¶
func (id *ReplicationProtectedItemId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_listbyreplicationprotecteditems.go
- model_a2arecoverypointdetails.go
- model_inmageazurev2recoverypointdetails.go
- model_inmagercmrecoverypointdetails.go
- model_providerspecificrecoverypointdetails.go
- model_recoverypoint.go
- model_recoverypointproperties.go
- predicates.go
- version.go