Documentation ¶
Index ¶
- func ValidateRecoveryPointID(input interface{}, key string) (warnings []string, errors []error)
- type AADProperties
- type AADPropertiesResource
- type CrrAccessToken
- type CrrAccessTokenResource
- type RawCrrAccessTokenImpl
- type RecoveryPointId
- type RecoveryPointsGetAccessTokenClient
- type RecoveryPointsGetAccessTokenOperationResponse
- type WorkloadCrrAccessToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRecoveryPointID ¶
ValidateRecoveryPointID checks that 'input' can be parsed as a Recovery Point ID
Types ¶
type AADProperties ¶
type AADProperties struct { Audience *string `json:"audience,omitempty"` Authority *string `json:"authority,omitempty"` ServicePrincipalClientId *string `json:"servicePrincipalClientId,omitempty"` ServicePrincipalObjectId *string `json:"servicePrincipalObjectId,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type AADPropertiesResource ¶
type AADPropertiesResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AADProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CrrAccessToken ¶
type CrrAccessToken interface { }
type CrrAccessTokenResource ¶
type CrrAccessTokenResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties CrrAccessToken `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*CrrAccessTokenResource) UnmarshalJSON ¶
func (s *CrrAccessTokenResource) UnmarshalJSON(bytes []byte) error
type RawCrrAccessTokenImpl ¶
RawCrrAccessTokenImpl 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 RecoveryPointId ¶
type RecoveryPointId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string ProtectionContainerName string ProtectedItemName string RecoveryPointId string }
RecoveryPointId is a struct representing the Resource ID for a Recovery Point
func NewRecoveryPointID ¶
func NewRecoveryPointID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, protectionContainerName string, protectedItemName string, recoveryPointId 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 RecoveryPointsGetAccessTokenClient ¶
type RecoveryPointsGetAccessTokenClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRecoveryPointsGetAccessTokenClientWithBaseURI ¶
func NewRecoveryPointsGetAccessTokenClientWithBaseURI(endpoint string) RecoveryPointsGetAccessTokenClient
func (RecoveryPointsGetAccessTokenClient) RecoveryPointsGetAccessToken ¶
func (c RecoveryPointsGetAccessTokenClient) RecoveryPointsGetAccessToken(ctx context.Context, id RecoveryPointId, input AADPropertiesResource) (result RecoveryPointsGetAccessTokenOperationResponse, err error)
RecoveryPointsGetAccessToken ...
type RecoveryPointsGetAccessTokenOperationResponse ¶
type RecoveryPointsGetAccessTokenOperationResponse struct { HttpResponse *http.Response Model *CrrAccessTokenResource }
type WorkloadCrrAccessToken ¶
type WorkloadCrrAccessToken struct { ContainerId *string `json:"containerId,omitempty"` PolicyId *string `json:"policyId,omitempty"` PolicyName *string `json:"policyName,omitempty"` ProtectableObjectContainerHostOsName *string `json:"protectableObjectContainerHostOsName,omitempty"` ProtectableObjectFriendlyName *string `json:"protectableObjectFriendlyName,omitempty"` ProtectableObjectParentLogicalContainerName *string `json:"protectableObjectParentLogicalContainerName,omitempty"` ProtectableObjectProtectionState *string `json:"protectableObjectProtectionState,omitempty"` ProtectableObjectUniqueName *string `json:"protectableObjectUniqueName,omitempty"` ProtectableObjectWorkloadType *string `json:"protectableObjectWorkloadType,omitempty"` // Fields inherited from CrrAccessToken AccessTokenString *string `json:"accessTokenString,omitempty"` BMSActiveRegion *string `json:"bMSActiveRegion,omitempty"` BackupManagementType *string `json:"backupManagementType,omitempty"` ContainerName *string `json:"containerName,omitempty"` ContainerType *string `json:"containerType,omitempty"` CoordinatorServiceStampId *string `json:"coordinatorServiceStampId,omitempty"` CoordinatorServiceStampUri *string `json:"coordinatorServiceStampUri,omitempty"` DatasourceContainerName *string `json:"datasourceContainerName,omitempty"` DatasourceId *string `json:"datasourceId,omitempty"` DatasourceName *string `json:"datasourceName,omitempty"` DatasourceType *string `json:"datasourceType,omitempty"` ProtectionContainerId *int64 `json:"protectionContainerId,omitempty"` ProtectionServiceStampId *string `json:"protectionServiceStampId,omitempty"` ProtectionServiceStampUri *string `json:"protectionServiceStampUri,omitempty"` RecoveryPointId *string `json:"recoveryPointId,omitempty"` RecoveryPointTime *string `json:"recoveryPointTime,omitempty"` ResourceGroupName *string `json:"resourceGroupName,omitempty"` ResourceId *string `json:"resourceId,omitempty"` ResourceName *string `json:"resourceName,omitempty"` RpIsManagedVirtualMachine *bool `json:"rpIsManagedVirtualMachine,omitempty"` RpOriginalSAOption *bool `json:"rpOriginalSAOption,omitempty"` RpTierInformation *map[string]string `json:"rpTierInformation,omitempty"` RpVMSizeDescription *string `json:"rpVMSizeDescription,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` TokenExtendedInformation *string `json:"tokenExtendedInformation,omitempty"` }
func (WorkloadCrrAccessToken) MarshalJSON ¶
func (s WorkloadCrrAccessToken) MarshalJSON() ([]byte, error)