Documentation ¶
Index ¶
- func PossibleValuesForAgentVersionStatus() []string
- func PossibleValuesForHealthErrorCustomerResolvability() []string
- func ValidateReplicationFabricID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateReplicationRecoveryServicesProviderID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type AddRecoveryServicesProviderInput
- type AddRecoveryServicesProviderInputProperties
- type AgentVersionStatus
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HealthError
- type HealthErrorCustomerResolvability
- type IdentityProviderDetails
- type IdentityProviderInput
- type InnerHealthError
- type ListByReplicationFabricsCompleteResult
- type ListByReplicationFabricsOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type PurgeOperationResponse
- type RecoveryServicesProvider
- type RecoveryServicesProviderOperationPredicate
- type RecoveryServicesProviderProperties
- func (o *RecoveryServicesProviderProperties) GetLastHeartBeatAsTime() (*time.Time, error)
- func (o *RecoveryServicesProviderProperties) GetProviderVersionExpiryDateAsTime() (*time.Time, error)
- func (o *RecoveryServicesProviderProperties) SetLastHeartBeatAsTime(input time.Time)
- func (o *RecoveryServicesProviderProperties) SetProviderVersionExpiryDateAsTime(input time.Time)
- type RefreshProviderOperationResponse
- type ReplicationFabricId
- type ReplicationRecoveryServicesProviderId
- func NewReplicationRecoveryServicesProviderID(subscriptionId string, resourceGroupName string, vaultName string, ...) ReplicationRecoveryServicesProviderId
- func ParseReplicationRecoveryServicesProviderID(input string) (*ReplicationRecoveryServicesProviderId, error)
- func ParseReplicationRecoveryServicesProviderIDInsensitively(input string) (*ReplicationRecoveryServicesProviderId, error)
- type ReplicationRecoveryServicesProvidersClient
- func (c ReplicationRecoveryServicesProvidersClient) Create(ctx context.Context, id ReplicationRecoveryServicesProviderId, ...) (result CreateOperationResponse, err error)
- func (c ReplicationRecoveryServicesProvidersClient) CreateThenPoll(ctx context.Context, id ReplicationRecoveryServicesProviderId, ...) error
- func (c ReplicationRecoveryServicesProvidersClient) Delete(ctx context.Context, id ReplicationRecoveryServicesProviderId) (result DeleteOperationResponse, err error)
- func (c ReplicationRecoveryServicesProvidersClient) DeleteThenPoll(ctx context.Context, id ReplicationRecoveryServicesProviderId) error
- func (c ReplicationRecoveryServicesProvidersClient) Get(ctx context.Context, id ReplicationRecoveryServicesProviderId) (result GetOperationResponse, err error)
- func (c ReplicationRecoveryServicesProvidersClient) List(ctx context.Context, id VaultId) (resp ListOperationResponse, err error)
- func (c ReplicationRecoveryServicesProvidersClient) ListByReplicationFabrics(ctx context.Context, id ReplicationFabricId) (resp ListByReplicationFabricsOperationResponse, err error)
- func (c ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsComplete(ctx context.Context, id ReplicationFabricId) (ListByReplicationFabricsCompleteResult, error)
- func (c ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsCompleteMatchingPredicate(ctx context.Context, id ReplicationFabricId, ...) (resp ListByReplicationFabricsCompleteResult, err error)
- func (c ReplicationRecoveryServicesProvidersClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
- func (c ReplicationRecoveryServicesProvidersClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, ...) (resp ListCompleteResult, err error)
- func (c ReplicationRecoveryServicesProvidersClient) Purge(ctx context.Context, id ReplicationRecoveryServicesProviderId) (result PurgeOperationResponse, err error)
- func (c ReplicationRecoveryServicesProvidersClient) PurgeThenPoll(ctx context.Context, id ReplicationRecoveryServicesProviderId) error
- func (c ReplicationRecoveryServicesProvidersClient) RefreshProvider(ctx context.Context, id ReplicationRecoveryServicesProviderId) (result RefreshProviderOperationResponse, err error)
- func (c ReplicationRecoveryServicesProvidersClient) RefreshProviderThenPoll(ctx context.Context, id ReplicationRecoveryServicesProviderId) error
- type VaultId
- type VersionDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAgentVersionStatus ¶
func PossibleValuesForAgentVersionStatus() []string
func PossibleValuesForHealthErrorCustomerResolvability ¶
func PossibleValuesForHealthErrorCustomerResolvability() []string
func ValidateReplicationFabricID ¶
ValidateReplicationFabricID checks that 'input' can be parsed as a Replication Fabric ID
func ValidateReplicationRecoveryServicesProviderID ¶
func ValidateReplicationRecoveryServicesProviderID(input interface{}, key string) (warnings []string, errors []error)
ValidateReplicationRecoveryServicesProviderID checks that 'input' can be parsed as a Replication Recovery Services Provider ID
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type AddRecoveryServicesProviderInput ¶
type AddRecoveryServicesProviderInput struct {
Properties AddRecoveryServicesProviderInputProperties `json:"properties"`
}
type AddRecoveryServicesProviderInputProperties ¶
type AddRecoveryServicesProviderInputProperties struct { AuthenticationIdentityInput IdentityProviderInput `json:"authenticationIdentityInput"` BiosId *string `json:"biosId,omitempty"` DataPlaneAuthenticationIdentityInput *IdentityProviderInput `json:"dataPlaneAuthenticationIdentityInput,omitempty"` MachineId *string `json:"machineId,omitempty"` MachineName string `json:"machineName"` ResourceAccessIdentityInput IdentityProviderInput `json:"resourceAccessIdentityInput"` }
type AgentVersionStatus ¶
type AgentVersionStatus string
const ( AgentVersionStatusDeprecated AgentVersionStatus = "Deprecated" AgentVersionStatusNotSupported AgentVersionStatus = "NotSupported" AgentVersionStatusSecurityUpdateRequired AgentVersionStatus = "SecurityUpdateRequired" AgentVersionStatusSupported AgentVersionStatus = "Supported" AgentVersionStatusUpdateRequired AgentVersionStatus = "UpdateRequired" )
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *RecoveryServicesProvider }
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 IdentityProviderDetails ¶
type IdentityProviderInput ¶
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 ListByReplicationFabricsCompleteResult ¶
type ListByReplicationFabricsCompleteResult struct {
Items []RecoveryServicesProvider
}
type ListByReplicationFabricsOperationResponse ¶
type ListByReplicationFabricsOperationResponse struct { HttpResponse *http.Response Model *[]RecoveryServicesProvider // contains filtered or unexported fields }
func (ListByReplicationFabricsOperationResponse) HasMore ¶
func (r ListByReplicationFabricsOperationResponse) HasMore() bool
func (ListByReplicationFabricsOperationResponse) LoadMore ¶
func (r ListByReplicationFabricsOperationResponse) LoadMore(ctx context.Context) (resp ListByReplicationFabricsOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []RecoveryServicesProvider
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]RecoveryServicesProvider // 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 PurgeOperationResponse ¶
type PurgeOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type RecoveryServicesProvider ¶
type RecoveryServicesProvider struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *RecoveryServicesProviderProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecoveryServicesProviderOperationPredicate ¶
type RecoveryServicesProviderOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (RecoveryServicesProviderOperationPredicate) Matches ¶
func (p RecoveryServicesProviderOperationPredicate) Matches(input RecoveryServicesProvider) bool
type RecoveryServicesProviderProperties ¶
type RecoveryServicesProviderProperties struct { AllowedScenarios *[]string `json:"allowedScenarios,omitempty"` AuthenticationIdentityDetails *IdentityProviderDetails `json:"authenticationIdentityDetails,omitempty"` BiosId *string `json:"biosId,omitempty"` ConnectionStatus *string `json:"connectionStatus,omitempty"` DataPlaneAuthenticationIdentityDetails *IdentityProviderDetails `json:"dataPlaneAuthenticationIdentityDetails,omitempty"` DraIdentifier *string `json:"draIdentifier,omitempty"` FabricFriendlyName *string `json:"fabricFriendlyName,omitempty"` FabricType *string `json:"fabricType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthErrorDetails *[]HealthError `json:"healthErrorDetails,omitempty"` LastHeartBeat *string `json:"lastHeartBeat,omitempty"` MachineId *string `json:"machineId,omitempty"` MachineName *string `json:"machineName,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` ProviderVersion *string `json:"providerVersion,omitempty"` ProviderVersionDetails *VersionDetails `json:"providerVersionDetails,omitempty"` ProviderVersionExpiryDate *string `json:"providerVersionExpiryDate,omitempty"` ProviderVersionState *string `json:"providerVersionState,omitempty"` ResourceAccessIdentityDetails *IdentityProviderDetails `json:"resourceAccessIdentityDetails,omitempty"` ServerVersion *string `json:"serverVersion,omitempty"` }
func (*RecoveryServicesProviderProperties) GetLastHeartBeatAsTime ¶
func (o *RecoveryServicesProviderProperties) GetLastHeartBeatAsTime() (*time.Time, error)
func (*RecoveryServicesProviderProperties) GetProviderVersionExpiryDateAsTime ¶
func (o *RecoveryServicesProviderProperties) GetProviderVersionExpiryDateAsTime() (*time.Time, error)
func (*RecoveryServicesProviderProperties) SetLastHeartBeatAsTime ¶
func (o *RecoveryServicesProviderProperties) SetLastHeartBeatAsTime(input time.Time)
func (*RecoveryServicesProviderProperties) SetProviderVersionExpiryDateAsTime ¶
func (o *RecoveryServicesProviderProperties) SetProviderVersionExpiryDateAsTime(input time.Time)
type RefreshProviderOperationResponse ¶
type RefreshProviderOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ReplicationFabricId ¶
type ReplicationFabricId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationFabricName string }
ReplicationFabricId is a struct representing the Resource ID for a Replication Fabric
func NewReplicationFabricID ¶
func NewReplicationFabricID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string) ReplicationFabricId
NewReplicationFabricID returns a new ReplicationFabricId struct
func ParseReplicationFabricID ¶
func ParseReplicationFabricID(input string) (*ReplicationFabricId, error)
ParseReplicationFabricID parses 'input' into a ReplicationFabricId
func ParseReplicationFabricIDInsensitively ¶
func ParseReplicationFabricIDInsensitively(input string) (*ReplicationFabricId, error)
ParseReplicationFabricIDInsensitively parses 'input' case-insensitively into a ReplicationFabricId note: this method should only be used for API response data and not user input
func (ReplicationFabricId) ID ¶
func (id ReplicationFabricId) ID() string
ID returns the formatted Replication Fabric ID
func (ReplicationFabricId) Segments ¶
func (id ReplicationFabricId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Fabric ID
func (ReplicationFabricId) String ¶
func (id ReplicationFabricId) String() string
String returns a human-readable description of this Replication Fabric ID
type ReplicationRecoveryServicesProviderId ¶
type ReplicationRecoveryServicesProviderId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationFabricName string ReplicationRecoveryServicesProviderName string }
ReplicationRecoveryServicesProviderId is a struct representing the Resource ID for a Replication Recovery Services Provider
func NewReplicationRecoveryServicesProviderID ¶
func NewReplicationRecoveryServicesProviderID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationRecoveryServicesProviderName string) ReplicationRecoveryServicesProviderId
NewReplicationRecoveryServicesProviderID returns a new ReplicationRecoveryServicesProviderId struct
func ParseReplicationRecoveryServicesProviderID ¶
func ParseReplicationRecoveryServicesProviderID(input string) (*ReplicationRecoveryServicesProviderId, error)
ParseReplicationRecoveryServicesProviderID parses 'input' into a ReplicationRecoveryServicesProviderId
func ParseReplicationRecoveryServicesProviderIDInsensitively ¶
func ParseReplicationRecoveryServicesProviderIDInsensitively(input string) (*ReplicationRecoveryServicesProviderId, error)
ParseReplicationRecoveryServicesProviderIDInsensitively parses 'input' case-insensitively into a ReplicationRecoveryServicesProviderId note: this method should only be used for API response data and not user input
func (ReplicationRecoveryServicesProviderId) ID ¶
func (id ReplicationRecoveryServicesProviderId) ID() string
ID returns the formatted Replication Recovery Services Provider ID
func (ReplicationRecoveryServicesProviderId) Segments ¶
func (id ReplicationRecoveryServicesProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Recovery Services Provider ID
func (ReplicationRecoveryServicesProviderId) String ¶
func (id ReplicationRecoveryServicesProviderId) String() string
String returns a human-readable description of this Replication Recovery Services Provider ID
type ReplicationRecoveryServicesProvidersClient ¶
type ReplicationRecoveryServicesProvidersClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewReplicationRecoveryServicesProvidersClientWithBaseURI ¶
func NewReplicationRecoveryServicesProvidersClientWithBaseURI(endpoint string) ReplicationRecoveryServicesProvidersClient
func (ReplicationRecoveryServicesProvidersClient) Create ¶
func (c ReplicationRecoveryServicesProvidersClient) Create(ctx context.Context, id ReplicationRecoveryServicesProviderId, input AddRecoveryServicesProviderInput) (result CreateOperationResponse, err error)
Create ...
func (ReplicationRecoveryServicesProvidersClient) CreateThenPoll ¶
func (c ReplicationRecoveryServicesProvidersClient) CreateThenPoll(ctx context.Context, id ReplicationRecoveryServicesProviderId, input AddRecoveryServicesProviderInput) error
CreateThenPoll performs Create then polls until it's completed
func (ReplicationRecoveryServicesProvidersClient) Delete ¶
func (c ReplicationRecoveryServicesProvidersClient) Delete(ctx context.Context, id ReplicationRecoveryServicesProviderId) (result DeleteOperationResponse, err error)
Delete ...
func (ReplicationRecoveryServicesProvidersClient) DeleteThenPoll ¶
func (c ReplicationRecoveryServicesProvidersClient) DeleteThenPoll(ctx context.Context, id ReplicationRecoveryServicesProviderId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ReplicationRecoveryServicesProvidersClient) Get ¶
func (c ReplicationRecoveryServicesProvidersClient) Get(ctx context.Context, id ReplicationRecoveryServicesProviderId) (result GetOperationResponse, err error)
Get ...
func (ReplicationRecoveryServicesProvidersClient) List ¶
func (c ReplicationRecoveryServicesProvidersClient) List(ctx context.Context, id VaultId) (resp ListOperationResponse, err error)
List ...
func (ReplicationRecoveryServicesProvidersClient) ListByReplicationFabrics ¶
func (c ReplicationRecoveryServicesProvidersClient) ListByReplicationFabrics(ctx context.Context, id ReplicationFabricId) (resp ListByReplicationFabricsOperationResponse, err error)
ListByReplicationFabrics ...
func (ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsComplete ¶
func (c ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsComplete(ctx context.Context, id ReplicationFabricId) (ListByReplicationFabricsCompleteResult, error)
ListByReplicationFabricsComplete retrieves all of the results into a single object
func (ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsCompleteMatchingPredicate ¶
func (c ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsCompleteMatchingPredicate(ctx context.Context, id ReplicationFabricId, predicate RecoveryServicesProviderOperationPredicate) (resp ListByReplicationFabricsCompleteResult, err error)
ListByReplicationFabricsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReplicationRecoveryServicesProvidersClient) ListComplete ¶
func (c ReplicationRecoveryServicesProvidersClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ReplicationRecoveryServicesProvidersClient) ListCompleteMatchingPredicate ¶
func (c ReplicationRecoveryServicesProvidersClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate RecoveryServicesProviderOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ReplicationRecoveryServicesProvidersClient) Purge ¶
func (c ReplicationRecoveryServicesProvidersClient) Purge(ctx context.Context, id ReplicationRecoveryServicesProviderId) (result PurgeOperationResponse, err error)
Purge ...
func (ReplicationRecoveryServicesProvidersClient) PurgeThenPoll ¶
func (c ReplicationRecoveryServicesProvidersClient) PurgeThenPoll(ctx context.Context, id ReplicationRecoveryServicesProviderId) error
PurgeThenPoll performs Purge then polls until it's completed
func (ReplicationRecoveryServicesProvidersClient) RefreshProvider ¶
func (c ReplicationRecoveryServicesProvidersClient) RefreshProvider(ctx context.Context, id ReplicationRecoveryServicesProviderId) (result RefreshProviderOperationResponse, err error)
RefreshProvider ...
func (ReplicationRecoveryServicesProvidersClient) RefreshProviderThenPoll ¶
func (c ReplicationRecoveryServicesProvidersClient) RefreshProviderThenPoll(ctx context.Context, id ReplicationRecoveryServicesProviderId) error
RefreshProviderThenPoll performs RefreshProvider then polls until it's completed
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
type VersionDetails ¶
type VersionDetails struct { ExpiryDate *string `json:"expiryDate,omitempty"` Status *AgentVersionStatus `json:"status,omitempty"` Version *string `json:"version,omitempty"` }
func (*VersionDetails) GetExpiryDateAsTime ¶
func (o *VersionDetails) GetExpiryDateAsTime() (*time.Time, error)
func (*VersionDetails) SetExpiryDateAsTime ¶
func (o *VersionDetails) SetExpiryDateAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_replicationfabric.go
- id_replicationrecoveryservicesprovider.go
- id_vault.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyreplicationfabrics_autorest.go
- method_purge_autorest.go
- method_refreshprovider_autorest.go
- model_addrecoveryservicesproviderinput.go
- model_addrecoveryservicesproviderinputproperties.go
- model_healtherror.go
- model_identityproviderdetails.go
- model_identityproviderinput.go
- model_innerhealtherror.go
- model_recoveryservicesprovider.go
- model_recoveryservicesproviderproperties.go
- model_versiondetails.go
- predicates.go
- version.go