Documentation ¶
Index ¶
- func PossibleValuesForCurrentProtectionState() []string
- func PossibleValuesForDataStoreTypes() []string
- func PossibleValuesForResourcePropertiesObjectType() []string
- func PossibleValuesForSecretStoreType() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForValidationType() []string
- type AuthCredentials
- type AzureOperationalStoreParameters
- type BackupDatasourceParameters
- type BackupInstance
- type BackupInstanceResource
- type BackupInstanceResourceOperationPredicate
- type BackupInstancesExtensionRoutingClient
- func (c BackupInstancesExtensionRoutingClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c BackupInstancesExtensionRoutingClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c BackupInstancesExtensionRoutingClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
- type BaseResourceProperties
- type BlobBackupDatasourceParameters
- type CurrentProtectionState
- type DataStoreParameters
- type DataStoreTypes
- type Datasource
- type DatasourceSet
- type DefaultResourceProperties
- type IdentityDetails
- type InnerError
- type KubernetesClusterBackupDatasourceParameters
- type ListCompleteResult
- type ListOperationResponse
- type NamespacedNameResource
- type PolicyInfo
- type PolicyParameters
- type ProtectionStatusDetails
- type RawAuthCredentialsImpl
- type RawBackupDatasourceParametersImpl
- type RawBaseResourcePropertiesImpl
- type RawDataStoreParametersImpl
- type ResourcePropertiesObjectType
- type SecretStoreBasedAuthCredentials
- type SecretStoreResource
- type SecretStoreType
- type Status
- type UserFacingError
- type ValidationType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCurrentProtectionState ¶
func PossibleValuesForCurrentProtectionState() []string
func PossibleValuesForDataStoreTypes ¶
func PossibleValuesForDataStoreTypes() []string
func PossibleValuesForResourcePropertiesObjectType ¶
func PossibleValuesForResourcePropertiesObjectType() []string
func PossibleValuesForSecretStoreType ¶
func PossibleValuesForSecretStoreType() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForValidationType ¶
func PossibleValuesForValidationType() []string
Types ¶
type AuthCredentials ¶
type AuthCredentials interface { }
type AzureOperationalStoreParameters ¶
type AzureOperationalStoreParameters struct { ResourceGroupId *string `json:"resourceGroupId,omitempty"` // Fields inherited from DataStoreParameters DataStoreType DataStoreTypes `json:"dataStoreType"` }
func (AzureOperationalStoreParameters) MarshalJSON ¶
func (s AzureOperationalStoreParameters) MarshalJSON() ([]byte, error)
type BackupDatasourceParameters ¶
type BackupDatasourceParameters interface { }
type BackupInstance ¶
type BackupInstance struct { CurrentProtectionState *CurrentProtectionState `json:"currentProtectionState,omitempty"` DataSourceInfo Datasource `json:"dataSourceInfo"` DataSourceSetInfo *DatasourceSet `json:"dataSourceSetInfo,omitempty"` DatasourceAuthCredentials AuthCredentials `json:"datasourceAuthCredentials"` FriendlyName *string `json:"friendlyName,omitempty"` IdentityDetails *IdentityDetails `json:"identityDetails,omitempty"` ObjectType string `json:"objectType"` PolicyInfo PolicyInfo `json:"policyInfo"` ProtectionErrorDetails *UserFacingError `json:"protectionErrorDetails,omitempty"` ProtectionStatus *ProtectionStatusDetails `json:"protectionStatus,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` ValidationType *ValidationType `json:"validationType,omitempty"` }
func (*BackupInstance) UnmarshalJSON ¶
func (s *BackupInstance) UnmarshalJSON(bytes []byte) error
type BackupInstanceResource ¶
type BackupInstanceResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BackupInstance `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BackupInstanceResourceOperationPredicate ¶
func (BackupInstanceResourceOperationPredicate) Matches ¶
func (p BackupInstanceResourceOperationPredicate) Matches(input BackupInstanceResource) bool
type BackupInstancesExtensionRoutingClient ¶
type BackupInstancesExtensionRoutingClient struct {
Client *resourcemanager.Client
}
func NewBackupInstancesExtensionRoutingClientWithBaseURI ¶
func NewBackupInstancesExtensionRoutingClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupInstancesExtensionRoutingClient, error)
func (BackupInstancesExtensionRoutingClient) List ¶
func (c BackupInstancesExtensionRoutingClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (BackupInstancesExtensionRoutingClient) ListComplete ¶
func (c BackupInstancesExtensionRoutingClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BackupInstancesExtensionRoutingClient) ListCompleteMatchingPredicate ¶
func (c BackupInstancesExtensionRoutingClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate BackupInstanceResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type BaseResourceProperties ¶
type BaseResourceProperties interface { }
type BlobBackupDatasourceParameters ¶
type BlobBackupDatasourceParameters struct {
ContainersList []string `json:"containersList"`
}
func (BlobBackupDatasourceParameters) MarshalJSON ¶
func (s BlobBackupDatasourceParameters) MarshalJSON() ([]byte, error)
type CurrentProtectionState ¶
type CurrentProtectionState string
const ( CurrentProtectionStateBackupSchedulesSuspended CurrentProtectionState = "BackupSchedulesSuspended" CurrentProtectionStateConfiguringProtection CurrentProtectionState = "ConfiguringProtection" CurrentProtectionStateConfiguringProtectionFailed CurrentProtectionState = "ConfiguringProtectionFailed" CurrentProtectionStateInvalid CurrentProtectionState = "Invalid" CurrentProtectionStateNotProtected CurrentProtectionState = "NotProtected" CurrentProtectionStateProtectionConfigured CurrentProtectionState = "ProtectionConfigured" CurrentProtectionStateProtectionError CurrentProtectionState = "ProtectionError" CurrentProtectionStateProtectionStopped CurrentProtectionState = "ProtectionStopped" CurrentProtectionStateRetentionSchedulesSuspended CurrentProtectionState = "RetentionSchedulesSuspended" CurrentProtectionStateSoftDeleted CurrentProtectionState = "SoftDeleted" CurrentProtectionStateSoftDeleting CurrentProtectionState = "SoftDeleting" CurrentProtectionStateUpdatingProtection CurrentProtectionState = "UpdatingProtection" )
func (*CurrentProtectionState) UnmarshalJSON ¶
func (s *CurrentProtectionState) UnmarshalJSON(bytes []byte) error
type DataStoreParameters ¶
type DataStoreParameters interface { }
type DataStoreTypes ¶
type DataStoreTypes string
const ( DataStoreTypesArchiveStore DataStoreTypes = "ArchiveStore" DataStoreTypesOperationalStore DataStoreTypes = "OperationalStore" DataStoreTypesVaultStore DataStoreTypes = "VaultStore" )
func (*DataStoreTypes) UnmarshalJSON ¶
func (s *DataStoreTypes) UnmarshalJSON(bytes []byte) error
type Datasource ¶
type Datasource struct { DatasourceType *string `json:"datasourceType,omitempty"` ObjectType *string `json:"objectType,omitempty"` ResourceID string `json:"resourceID"` ResourceLocation *string `json:"resourceLocation,omitempty"` ResourceName *string `json:"resourceName,omitempty"` ResourceProperties BaseResourceProperties `json:"resourceProperties"` ResourceType *string `json:"resourceType,omitempty"` ResourceUri *string `json:"resourceUri,omitempty"` }
func (*Datasource) UnmarshalJSON ¶
func (s *Datasource) UnmarshalJSON(bytes []byte) error
type DatasourceSet ¶
type DatasourceSet struct { DatasourceType *string `json:"datasourceType,omitempty"` ObjectType *string `json:"objectType,omitempty"` ResourceID string `json:"resourceID"` ResourceLocation *string `json:"resourceLocation,omitempty"` ResourceName *string `json:"resourceName,omitempty"` ResourceProperties BaseResourceProperties `json:"resourceProperties"` ResourceType *string `json:"resourceType,omitempty"` ResourceUri *string `json:"resourceUri,omitempty"` }
func (*DatasourceSet) UnmarshalJSON ¶
func (s *DatasourceSet) UnmarshalJSON(bytes []byte) error
type DefaultResourceProperties ¶
type DefaultResourceProperties struct { }
func (DefaultResourceProperties) MarshalJSON ¶
func (s DefaultResourceProperties) MarshalJSON() ([]byte, error)
type IdentityDetails ¶
type InnerError ¶
type InnerError struct { AdditionalInfo *map[string]string `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` EmbeddedInnerError *InnerError `json:"embeddedInnerError,omitempty"` }
type KubernetesClusterBackupDatasourceParameters ¶
type KubernetesClusterBackupDatasourceParameters struct { BackupHookReferences *[]NamespacedNameResource `json:"backupHookReferences,omitempty"` ExcludedNamespaces *[]string `json:"excludedNamespaces,omitempty"` ExcludedResourceTypes *[]string `json:"excludedResourceTypes,omitempty"` IncludeClusterScopeResources bool `json:"includeClusterScopeResources"` IncludedNamespaces *[]string `json:"includedNamespaces,omitempty"` IncludedResourceTypes *[]string `json:"includedResourceTypes,omitempty"` LabelSelectors *[]string `json:"labelSelectors,omitempty"` SnapshotVolumes bool `json:"snapshotVolumes"` }
func (KubernetesClusterBackupDatasourceParameters) MarshalJSON ¶
func (s KubernetesClusterBackupDatasourceParameters) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BackupInstanceResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BackupInstanceResource }
type NamespacedNameResource ¶
type PolicyInfo ¶
type PolicyInfo struct { PolicyId string `json:"policyId"` PolicyParameters *PolicyParameters `json:"policyParameters,omitempty"` PolicyVersion *string `json:"policyVersion,omitempty"` }
type PolicyParameters ¶
type PolicyParameters struct { BackupDatasourceParametersList *[]BackupDatasourceParameters `json:"backupDatasourceParametersList,omitempty"` DataStoreParametersList *[]DataStoreParameters `json:"dataStoreParametersList,omitempty"` }
func (*PolicyParameters) UnmarshalJSON ¶
func (s *PolicyParameters) UnmarshalJSON(bytes []byte) error
type ProtectionStatusDetails ¶
type ProtectionStatusDetails struct { ErrorDetails *UserFacingError `json:"errorDetails,omitempty"` Status *Status `json:"status,omitempty"` }
type RawAuthCredentialsImpl ¶
RawAuthCredentialsImpl 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).
type RawBackupDatasourceParametersImpl ¶
RawBackupDatasourceParametersImpl 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).
type RawBaseResourcePropertiesImpl ¶
RawBaseResourcePropertiesImpl 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).
type RawDataStoreParametersImpl ¶
RawDataStoreParametersImpl 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).
type ResourcePropertiesObjectType ¶
type ResourcePropertiesObjectType string
const (
ResourcePropertiesObjectTypeDefaultResourceProperties ResourcePropertiesObjectType = "DefaultResourceProperties"
)
func (*ResourcePropertiesObjectType) UnmarshalJSON ¶
func (s *ResourcePropertiesObjectType) UnmarshalJSON(bytes []byte) error
type SecretStoreBasedAuthCredentials ¶
type SecretStoreBasedAuthCredentials struct {
SecretStoreResource *SecretStoreResource `json:"secretStoreResource,omitempty"`
}
func (SecretStoreBasedAuthCredentials) MarshalJSON ¶
func (s SecretStoreBasedAuthCredentials) MarshalJSON() ([]byte, error)
type SecretStoreResource ¶
type SecretStoreResource struct { SecretStoreType SecretStoreType `json:"secretStoreType"` Uri *string `json:"uri,omitempty"` Value *string `json:"value,omitempty"` }
type SecretStoreType ¶
type SecretStoreType string
const ( SecretStoreTypeAzureKeyVault SecretStoreType = "AzureKeyVault" SecretStoreTypeInvalid SecretStoreType = "Invalid" )
func (*SecretStoreType) UnmarshalJSON ¶
func (s *SecretStoreType) UnmarshalJSON(bytes []byte) error
type Status ¶
type Status string
const ( StatusConfiguringProtection Status = "ConfiguringProtection" StatusConfiguringProtectionFailed Status = "ConfiguringProtectionFailed" StatusProtectionConfigured Status = "ProtectionConfigured" StatusProtectionStopped Status = "ProtectionStopped" StatusSoftDeleted Status = "SoftDeleted" StatusSoftDeleting Status = "SoftDeleting" )
func (*Status) UnmarshalJSON ¶
type UserFacingError ¶
type UserFacingError struct { Code *string `json:"code,omitempty"` Details *[]UserFacingError `json:"details,omitempty"` InnerError *InnerError `json:"innerError,omitempty"` IsRetryable *bool `json:"isRetryable,omitempty"` IsUserError *bool `json:"isUserError,omitempty"` Message *string `json:"message,omitempty"` Properties *map[string]string `json:"properties,omitempty"` RecommendedAction *[]string `json:"recommendedAction,omitempty"` Target *string `json:"target,omitempty"` }
type ValidationType ¶
type ValidationType string
const ( ValidationTypeDeepValidation ValidationType = "DeepValidation" ValidationTypeShallowValidation ValidationType = "ShallowValidation" )
func (*ValidationType) UnmarshalJSON ¶
func (s *ValidationType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- method_list.go
- model_authcredentials.go
- model_azureoperationalstoreparameters.go
- model_backupdatasourceparameters.go
- model_backupinstance.go
- model_backupinstanceresource.go
- model_baseresourceproperties.go
- model_blobbackupdatasourceparameters.go
- model_datasource.go
- model_datasourceset.go
- model_datastoreparameters.go
- model_defaultresourceproperties.go
- model_identitydetails.go
- model_innererror.go
- model_kubernetesclusterbackupdatasourceparameters.go
- model_namespacednameresource.go
- model_policyinfo.go
- model_policyparameters.go
- model_protectionstatusdetails.go
- model_secretstorebasedauthcredentials.go
- model_secretstoreresource.go
- model_userfacingerror.go
- predicates.go
- version.go