Documentation ¶
Index ¶
- func PossibleValuesForHealthErrorCategory() []string
- func PossibleValuesForHealthErrorCustomerResolvability() []string
- func PossibleValuesForSeverity() []string
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type HealthError
- type HealthErrorCategory
- type HealthErrorCustomerResolvability
- type HealthErrorSummary
- type InnerHealthError
- type RefreshOperationResponse
- type ReplicationVaultHealthClient
- func (c ReplicationVaultHealthClient) Get(ctx context.Context, id VaultId) (result GetOperationResponse, err error)
- func (c ReplicationVaultHealthClient) Refresh(ctx context.Context, id VaultId) (result RefreshOperationResponse, err error)
- func (c ReplicationVaultHealthClient) RefreshThenPoll(ctx context.Context, id VaultId) error
- type ResourceHealthSummary
- type Severity
- type VaultHealthDetails
- type VaultHealthProperties
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHealthErrorCategory ¶
func PossibleValuesForHealthErrorCategory() []string
func PossibleValuesForHealthErrorCustomerResolvability ¶
func PossibleValuesForHealthErrorCustomerResolvability() []string
func PossibleValuesForSeverity ¶
func PossibleValuesForSeverity() []string
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VaultHealthDetails }
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 HealthErrorCategory ¶
type HealthErrorCategory string
const ( HealthErrorCategoryAgentAutoUpdateArtifactDeleted HealthErrorCategory = "AgentAutoUpdateArtifactDeleted" HealthErrorCategoryAgentAutoUpdateInfra HealthErrorCategory = "AgentAutoUpdateInfra" HealthErrorCategoryAgentAutoUpdateRunAsAccount HealthErrorCategory = "AgentAutoUpdateRunAsAccount" HealthErrorCategoryAgentAutoUpdateRunAsAccountExpired HealthErrorCategory = "AgentAutoUpdateRunAsAccountExpired" HealthErrorCategoryAgentAutoUpdateRunAsAccountExpiry HealthErrorCategory = "AgentAutoUpdateRunAsAccountExpiry" HealthErrorCategoryConfiguration HealthErrorCategory = "Configuration" HealthErrorCategoryFabricInfrastructure HealthErrorCategory = "FabricInfrastructure" HealthErrorCategoryNone HealthErrorCategory = "None" HealthErrorCategoryReplication HealthErrorCategory = "Replication" HealthErrorCategoryTestFailover HealthErrorCategory = "TestFailover" HealthErrorCategoryVersionExpiry HealthErrorCategory = "VersionExpiry" )
func (*HealthErrorCategory) UnmarshalJSON ¶ added in v0.20230809.1081239
func (s *HealthErrorCategory) UnmarshalJSON(bytes []byte) error
type HealthErrorCustomerResolvability ¶
type HealthErrorCustomerResolvability string
const ( HealthErrorCustomerResolvabilityAllowed HealthErrorCustomerResolvability = "Allowed" HealthErrorCustomerResolvabilityNotAllowed HealthErrorCustomerResolvability = "NotAllowed" )
func (*HealthErrorCustomerResolvability) UnmarshalJSON ¶ added in v0.20230809.1081239
func (s *HealthErrorCustomerResolvability) UnmarshalJSON(bytes []byte) error
type HealthErrorSummary ¶
type HealthErrorSummary struct { AffectedResourceCorrelationIds *[]string `json:"affectedResourceCorrelationIds,omitempty"` AffectedResourceSubtype *string `json:"affectedResourceSubtype,omitempty"` AffectedResourceType *string `json:"affectedResourceType,omitempty"` Category *HealthErrorCategory `json:"category,omitempty"` Severity *Severity `json:"severity,omitempty"` SummaryCode *string `json:"summaryCode,omitempty"` SummaryMessage *string `json:"summaryMessage,omitempty"` }
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 ReplicationVaultHealthClient ¶
type ReplicationVaultHealthClient struct {
Client *resourcemanager.Client
}
func NewReplicationVaultHealthClientWithBaseURI ¶
func NewReplicationVaultHealthClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationVaultHealthClient, error)
func (ReplicationVaultHealthClient) Get ¶
func (c ReplicationVaultHealthClient) Get(ctx context.Context, id VaultId) (result GetOperationResponse, err error)
Get ...
func (ReplicationVaultHealthClient) Refresh ¶
func (c ReplicationVaultHealthClient) Refresh(ctx context.Context, id VaultId) (result RefreshOperationResponse, err error)
Refresh ...
func (ReplicationVaultHealthClient) RefreshThenPoll ¶
func (c ReplicationVaultHealthClient) RefreshThenPoll(ctx context.Context, id VaultId) error
RefreshThenPoll performs Refresh then polls until it's completed
type ResourceHealthSummary ¶
type ResourceHealthSummary struct { CategorizedResourceCounts *map[string]int64 `json:"categorizedResourceCounts,omitempty"` Issues *[]HealthErrorSummary `json:"issues,omitempty"` ResourceCount *int64 `json:"resourceCount,omitempty"` }
type VaultHealthDetails ¶
type VaultHealthDetails struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *VaultHealthProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VaultHealthProperties ¶
type VaultHealthProperties struct { ContainersHealth *ResourceHealthSummary `json:"containersHealth,omitempty"` FabricsHealth *ResourceHealthSummary `json:"fabricsHealth,omitempty"` ProtectedItemsHealth *ResourceHealthSummary `json:"protectedItemsHealth,omitempty"` VaultErrors *[]HealthError `json:"vaultErrors,omitempty"` }
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
Click to show internal directories.
Click to hide internal directories.