README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/dataprotection/2022-04-01/resourceguards
Documentation
The resourceguards
SDK allows for interaction with the Azure Resource Manager Service dataprotection
(API Version 2022-04-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/dataprotection/2022-04-01/resourceguards"
Client Initialization
client := resourceguards.NewResourceGuardsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ResourceGuardsClient.Delete
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
read, err := client.Delete(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.Get
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.GetBackupSecurityPINRequestsObjects
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
// alternatively `client.GetBackupSecurityPINRequestsObjects(ctx, id)` can be used to do batched pagination
items, err := client.GetBackupSecurityPINRequestsObjectsComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ResourceGuardsClient.GetDefaultBackupSecurityPINRequestsObject
ctx := context.TODO()
id := resourceguards.NewGetBackupSecurityPINRequestID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue", "getBackupSecurityPINRequestValue")
read, err := client.GetDefaultBackupSecurityPINRequestsObject(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.GetDefaultDeleteProtectedItemRequestsObject
ctx := context.TODO()
id := resourceguards.NewDeleteProtectedItemRequestID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue", "deleteProtectedItemRequestValue")
read, err := client.GetDefaultDeleteProtectedItemRequestsObject(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.GetDefaultDeleteResourceGuardProxyRequestsObject
ctx := context.TODO()
id := resourceguards.NewDeleteResourceGuardProxyRequestID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue", "deleteResourceGuardProxyRequestValue")
read, err := client.GetDefaultDeleteResourceGuardProxyRequestsObject(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.GetDefaultDisableSoftDeleteRequestsObject
ctx := context.TODO()
id := resourceguards.NewDisableSoftDeleteRequestID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue", "disableSoftDeleteRequestValue")
read, err := client.GetDefaultDisableSoftDeleteRequestsObject(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.GetDefaultUpdateProtectedItemRequestsObject
ctx := context.TODO()
id := resourceguards.NewUpdateProtectedItemRequestID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue", "updateProtectedItemRequestValue")
read, err := client.GetDefaultUpdateProtectedItemRequestsObject(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.GetDefaultUpdateProtectionPolicyRequestsObject
ctx := context.TODO()
id := resourceguards.NewUpdateProtectionPolicyRequestID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue", "updateProtectionPolicyRequestValue")
read, err := client.GetDefaultUpdateProtectionPolicyRequestsObject(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.GetDeleteProtectedItemRequestsObjects
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
// alternatively `client.GetDeleteProtectedItemRequestsObjects(ctx, id)` can be used to do batched pagination
items, err := client.GetDeleteProtectedItemRequestsObjectsComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ResourceGuardsClient.GetDeleteResourceGuardProxyRequestsObjects
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
// alternatively `client.GetDeleteResourceGuardProxyRequestsObjects(ctx, id)` can be used to do batched pagination
items, err := client.GetDeleteResourceGuardProxyRequestsObjectsComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ResourceGuardsClient.GetDisableSoftDeleteRequestsObjects
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
// alternatively `client.GetDisableSoftDeleteRequestsObjects(ctx, id)` can be used to do batched pagination
items, err := client.GetDisableSoftDeleteRequestsObjectsComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ResourceGuardsClient.GetResourcesInResourceGroup
ctx := context.TODO()
id := resourceguards.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")
// alternatively `client.GetResourcesInResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.GetResourcesInResourceGroupComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ResourceGuardsClient.GetResourcesInSubscription
ctx := context.TODO()
id := resourceguards.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
// alternatively `client.GetResourcesInSubscription(ctx, id)` can be used to do batched pagination
items, err := client.GetResourcesInSubscriptionComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ResourceGuardsClient.GetUpdateProtectedItemRequestsObjects
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
// alternatively `client.GetUpdateProtectedItemRequestsObjects(ctx, id)` can be used to do batched pagination
items, err := client.GetUpdateProtectedItemRequestsObjectsComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ResourceGuardsClient.GetUpdateProtectionPolicyRequestsObjects
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
// alternatively `client.GetUpdateProtectionPolicyRequestsObjects(ctx, id)` can be used to do batched pagination
items, err := client.GetUpdateProtectionPolicyRequestsObjectsComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ResourceGuardsClient.Patch
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
payload := resourceguards.PatchResourceRequestInput{
// ...
}
read, err := client.Patch(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ResourceGuardsClient.Put
ctx := context.TODO()
id := resourceguards.NewResourceGuardID("12345678-1234-9876-4563-123456789012", "example-resource-group", "resourceGuardValue")
payload := resourceguards.ResourceGuardResource{
// ...
}
read, err := client.Put(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func PossibleValuesForAlertsState() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateDeleteProtectedItemRequestID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDeleteResourceGuardProxyRequestID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDisableSoftDeleteRequestID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGetBackupSecurityPINRequestID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGuardID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUpdateProtectedItemRequestID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUpdateProtectionPolicyRequestID(input interface{}, key string) (warnings []string, errors []error)
- type AlertsState
- type AzureMonitorAlertSettings
- type DeleteOperationResponse
- type DeleteProtectedItemRequestId
- func NewDeleteProtectedItemRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, ...) DeleteProtectedItemRequestId
- func ParseDeleteProtectedItemRequestID(input string) (*DeleteProtectedItemRequestId, error)
- func ParseDeleteProtectedItemRequestIDInsensitively(input string) (*DeleteProtectedItemRequestId, error)
- type DeleteResourceGuardProxyRequestId
- func NewDeleteResourceGuardProxyRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, ...) DeleteResourceGuardProxyRequestId
- func ParseDeleteResourceGuardProxyRequestID(input string) (*DeleteResourceGuardProxyRequestId, error)
- func ParseDeleteResourceGuardProxyRequestIDInsensitively(input string) (*DeleteResourceGuardProxyRequestId, error)
- type DisableSoftDeleteRequestId
- func NewDisableSoftDeleteRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, ...) DisableSoftDeleteRequestId
- func ParseDisableSoftDeleteRequestID(input string) (*DisableSoftDeleteRequestId, error)
- func ParseDisableSoftDeleteRequestIDInsensitively(input string) (*DisableSoftDeleteRequestId, error)
- type DppBaseResource
- type DppBaseResourceOperationPredicate
- type DppIdentityDetails
- type GetBackupSecurityPINRequestId
- func NewGetBackupSecurityPINRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, ...) GetBackupSecurityPINRequestId
- func ParseGetBackupSecurityPINRequestID(input string) (*GetBackupSecurityPINRequestId, error)
- func ParseGetBackupSecurityPINRequestIDInsensitively(input string) (*GetBackupSecurityPINRequestId, error)
- type GetBackupSecurityPINRequestsObjectsCompleteResult
- type GetBackupSecurityPINRequestsObjectsOperationResponse
- type GetDefaultBackupSecurityPINRequestsObjectOperationResponse
- type GetDefaultDeleteProtectedItemRequestsObjectOperationResponse
- type GetDefaultDeleteResourceGuardProxyRequestsObjectOperationResponse
- type GetDefaultDisableSoftDeleteRequestsObjectOperationResponse
- type GetDefaultUpdateProtectedItemRequestsObjectOperationResponse
- type GetDefaultUpdateProtectionPolicyRequestsObjectOperationResponse
- type GetDeleteProtectedItemRequestsObjectsCompleteResult
- type GetDeleteProtectedItemRequestsObjectsOperationResponse
- type GetDeleteResourceGuardProxyRequestsObjectsCompleteResult
- type GetDeleteResourceGuardProxyRequestsObjectsOperationResponse
- type GetDisableSoftDeleteRequestsObjectsCompleteResult
- type GetDisableSoftDeleteRequestsObjectsOperationResponse
- type GetOperationResponse
- type GetResourcesInResourceGroupCompleteResult
- type GetResourcesInResourceGroupOperationResponse
- type GetResourcesInSubscriptionCompleteResult
- type GetResourcesInSubscriptionOperationResponse
- type GetUpdateProtectedItemRequestsObjectsCompleteResult
- type GetUpdateProtectedItemRequestsObjectsOperationResponse
- type GetUpdateProtectionPolicyRequestsObjectsCompleteResult
- type GetUpdateProtectionPolicyRequestsObjectsOperationResponse
- type MonitoringSettings
- type PatchBackupVaultInput
- type PatchOperationResponse
- type PatchResourceRequestInput
- type ProvisioningState
- type PutOperationResponse
- type ResourceGuard
- type ResourceGuardId
- type ResourceGuardOperation
- type ResourceGuardResource
- type ResourceGuardResourceOperationPredicate
- type ResourceGuardsClient
- func (c ResourceGuardsClient) Delete(ctx context.Context, id ResourceGuardId) (result DeleteOperationResponse, err error)
- func (c ResourceGuardsClient) Get(ctx context.Context, id ResourceGuardId) (result GetOperationResponse, err error)
- func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetBackupSecurityPINRequestsObjectsOperationResponse, err error)
- func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetBackupSecurityPINRequestsObjectsCompleteResult, error)
- func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, ...) (result GetBackupSecurityPINRequestsObjectsCompleteResult, err error)
- func (c ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObject(ctx context.Context, id GetBackupSecurityPINRequestId) (result GetDefaultBackupSecurityPINRequestsObjectOperationResponse, err error)
- func (c ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObject(ctx context.Context, id DeleteProtectedItemRequestId) (result GetDefaultDeleteProtectedItemRequestsObjectOperationResponse, err error)
- func (c ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObject(ctx context.Context, id DeleteResourceGuardProxyRequestId) (result GetDefaultDeleteResourceGuardProxyRequestsObjectOperationResponse, ...)
- func (c ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObject(ctx context.Context, id DisableSoftDeleteRequestId) (result GetDefaultDisableSoftDeleteRequestsObjectOperationResponse, err error)
- func (c ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObject(ctx context.Context, id UpdateProtectedItemRequestId) (result GetDefaultUpdateProtectedItemRequestsObjectOperationResponse, err error)
- func (c ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObject(ctx context.Context, id UpdateProtectionPolicyRequestId) (result GetDefaultUpdateProtectionPolicyRequestsObjectOperationResponse, ...)
- func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetDeleteProtectedItemRequestsObjectsOperationResponse, err error)
- func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDeleteProtectedItemRequestsObjectsCompleteResult, error)
- func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, ...) (result GetDeleteProtectedItemRequestsObjectsCompleteResult, err error)
- func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetDeleteResourceGuardProxyRequestsObjectsOperationResponse, err error)
- func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDeleteResourceGuardProxyRequestsObjectsCompleteResult, error)
- func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, ...) (result GetDeleteResourceGuardProxyRequestsObjectsCompleteResult, err error)
- func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetDisableSoftDeleteRequestsObjectsOperationResponse, err error)
- func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDisableSoftDeleteRequestsObjectsCompleteResult, error)
- func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, ...) (result GetDisableSoftDeleteRequestsObjectsCompleteResult, err error)
- func (c ResourceGuardsClient) GetResourcesInResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result GetResourcesInResourceGroupOperationResponse, err error)
- func (c ResourceGuardsClient) GetResourcesInResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (GetResourcesInResourceGroupCompleteResult, error)
- func (c ResourceGuardsClient) GetResourcesInResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result GetResourcesInResourceGroupCompleteResult, err error)
- func (c ResourceGuardsClient) GetResourcesInSubscription(ctx context.Context, id commonids.SubscriptionId) (result GetResourcesInSubscriptionOperationResponse, err error)
- func (c ResourceGuardsClient) GetResourcesInSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (GetResourcesInSubscriptionCompleteResult, error)
- func (c ResourceGuardsClient) GetResourcesInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result GetResourcesInSubscriptionCompleteResult, err error)
- func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetUpdateProtectedItemRequestsObjectsOperationResponse, err error)
- func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetUpdateProtectedItemRequestsObjectsCompleteResult, error)
- func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, ...) (result GetUpdateProtectedItemRequestsObjectsCompleteResult, err error)
- func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetUpdateProtectionPolicyRequestsObjectsOperationResponse, err error)
- func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetUpdateProtectionPolicyRequestsObjectsCompleteResult, error)
- func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, ...) (result GetUpdateProtectionPolicyRequestsObjectsCompleteResult, err error)
- func (c ResourceGuardsClient) Patch(ctx context.Context, id ResourceGuardId, input PatchResourceRequestInput) (result PatchOperationResponse, err error)
- func (c ResourceGuardsClient) Put(ctx context.Context, id ResourceGuardId, input ResourceGuardResource) (result PutOperationResponse, err error)
- type UpdateProtectedItemRequestId
- func NewUpdateProtectedItemRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, ...) UpdateProtectedItemRequestId
- func ParseUpdateProtectedItemRequestID(input string) (*UpdateProtectedItemRequestId, error)
- func ParseUpdateProtectedItemRequestIDInsensitively(input string) (*UpdateProtectedItemRequestId, error)
- type UpdateProtectionPolicyRequestId
- func NewUpdateProtectionPolicyRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, ...) UpdateProtectionPolicyRequestId
- func ParseUpdateProtectionPolicyRequestID(input string) (*UpdateProtectionPolicyRequestId, error)
- func ParseUpdateProtectionPolicyRequestIDInsensitively(input string) (*UpdateProtectionPolicyRequestId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlertsState ¶
func PossibleValuesForAlertsState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDeleteProtectedItemRequestID ¶
func ValidateDeleteProtectedItemRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateDeleteProtectedItemRequestID checks that 'input' can be parsed as a Delete Protected Item Request ID
func ValidateDeleteResourceGuardProxyRequestID ¶
func ValidateDeleteResourceGuardProxyRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateDeleteResourceGuardProxyRequestID checks that 'input' can be parsed as a Delete Resource Guard Proxy Request ID
func ValidateDisableSoftDeleteRequestID ¶
func ValidateDisableSoftDeleteRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateDisableSoftDeleteRequestID checks that 'input' can be parsed as a Disable Soft Delete Request ID
func ValidateGetBackupSecurityPINRequestID ¶
func ValidateGetBackupSecurityPINRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateGetBackupSecurityPINRequestID checks that 'input' can be parsed as a Get Backup Security P I N Request ID
func ValidateResourceGuardID ¶
ValidateResourceGuardID checks that 'input' can be parsed as a Resource Guard ID
func ValidateUpdateProtectedItemRequestID ¶
func ValidateUpdateProtectedItemRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateUpdateProtectedItemRequestID checks that 'input' can be parsed as a Update Protected Item Request ID
func ValidateUpdateProtectionPolicyRequestID ¶
func ValidateUpdateProtectionPolicyRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateUpdateProtectionPolicyRequestID checks that 'input' can be parsed as a Update Protection Policy Request ID
Types ¶
type AlertsState ¶
type AlertsState string
const ( AlertsStateDisabled AlertsState = "Disabled" AlertsStateEnabled AlertsState = "Enabled" )
func (*AlertsState) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *AlertsState) UnmarshalJSON(bytes []byte) error
type AzureMonitorAlertSettings ¶
type AzureMonitorAlertSettings struct {
AlertsForAllJobFailures *AlertsState `json:"alertsForAllJobFailures,omitempty"`
}
type DeleteOperationResponse ¶
type DeleteProtectedItemRequestId ¶
type DeleteProtectedItemRequestId struct { SubscriptionId string ResourceGroupName string ResourceGuardName string DeleteProtectedItemRequestName string }
DeleteProtectedItemRequestId is a struct representing the Resource ID for a Delete Protected Item Request
func NewDeleteProtectedItemRequestID ¶
func NewDeleteProtectedItemRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, deleteProtectedItemRequestName string) DeleteProtectedItemRequestId
NewDeleteProtectedItemRequestID returns a new DeleteProtectedItemRequestId struct
func ParseDeleteProtectedItemRequestID ¶
func ParseDeleteProtectedItemRequestID(input string) (*DeleteProtectedItemRequestId, error)
ParseDeleteProtectedItemRequestID parses 'input' into a DeleteProtectedItemRequestId
func ParseDeleteProtectedItemRequestIDInsensitively ¶
func ParseDeleteProtectedItemRequestIDInsensitively(input string) (*DeleteProtectedItemRequestId, error)
ParseDeleteProtectedItemRequestIDInsensitively parses 'input' case-insensitively into a DeleteProtectedItemRequestId note: this method should only be used for API response data and not user input
func (*DeleteProtectedItemRequestId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DeleteProtectedItemRequestId) FromParseResult(input resourceids.ParseResult) error
func (DeleteProtectedItemRequestId) ID ¶
func (id DeleteProtectedItemRequestId) ID() string
ID returns the formatted Delete Protected Item Request ID
func (DeleteProtectedItemRequestId) Segments ¶
func (id DeleteProtectedItemRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Delete Protected Item Request ID
func (DeleteProtectedItemRequestId) String ¶
func (id DeleteProtectedItemRequestId) String() string
String returns a human-readable description of this Delete Protected Item Request ID
type DeleteResourceGuardProxyRequestId ¶
type DeleteResourceGuardProxyRequestId struct { SubscriptionId string ResourceGroupName string ResourceGuardName string DeleteResourceGuardProxyRequestName string }
DeleteResourceGuardProxyRequestId is a struct representing the Resource ID for a Delete Resource Guard Proxy Request
func NewDeleteResourceGuardProxyRequestID ¶
func NewDeleteResourceGuardProxyRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, deleteResourceGuardProxyRequestName string) DeleteResourceGuardProxyRequestId
NewDeleteResourceGuardProxyRequestID returns a new DeleteResourceGuardProxyRequestId struct
func ParseDeleteResourceGuardProxyRequestID ¶
func ParseDeleteResourceGuardProxyRequestID(input string) (*DeleteResourceGuardProxyRequestId, error)
ParseDeleteResourceGuardProxyRequestID parses 'input' into a DeleteResourceGuardProxyRequestId
func ParseDeleteResourceGuardProxyRequestIDInsensitively ¶
func ParseDeleteResourceGuardProxyRequestIDInsensitively(input string) (*DeleteResourceGuardProxyRequestId, error)
ParseDeleteResourceGuardProxyRequestIDInsensitively parses 'input' case-insensitively into a DeleteResourceGuardProxyRequestId note: this method should only be used for API response data and not user input
func (*DeleteResourceGuardProxyRequestId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DeleteResourceGuardProxyRequestId) FromParseResult(input resourceids.ParseResult) error
func (DeleteResourceGuardProxyRequestId) ID ¶
func (id DeleteResourceGuardProxyRequestId) ID() string
ID returns the formatted Delete Resource Guard Proxy Request ID
func (DeleteResourceGuardProxyRequestId) Segments ¶
func (id DeleteResourceGuardProxyRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Delete Resource Guard Proxy Request ID
func (DeleteResourceGuardProxyRequestId) String ¶
func (id DeleteResourceGuardProxyRequestId) String() string
String returns a human-readable description of this Delete Resource Guard Proxy Request ID
type DisableSoftDeleteRequestId ¶
type DisableSoftDeleteRequestId struct { SubscriptionId string ResourceGroupName string ResourceGuardName string DisableSoftDeleteRequestName string }
DisableSoftDeleteRequestId is a struct representing the Resource ID for a Disable Soft Delete Request
func NewDisableSoftDeleteRequestID ¶
func NewDisableSoftDeleteRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, disableSoftDeleteRequestName string) DisableSoftDeleteRequestId
NewDisableSoftDeleteRequestID returns a new DisableSoftDeleteRequestId struct
func ParseDisableSoftDeleteRequestID ¶
func ParseDisableSoftDeleteRequestID(input string) (*DisableSoftDeleteRequestId, error)
ParseDisableSoftDeleteRequestID parses 'input' into a DisableSoftDeleteRequestId
func ParseDisableSoftDeleteRequestIDInsensitively ¶
func ParseDisableSoftDeleteRequestIDInsensitively(input string) (*DisableSoftDeleteRequestId, error)
ParseDisableSoftDeleteRequestIDInsensitively parses 'input' case-insensitively into a DisableSoftDeleteRequestId note: this method should only be used for API response data and not user input
func (*DisableSoftDeleteRequestId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DisableSoftDeleteRequestId) FromParseResult(input resourceids.ParseResult) error
func (DisableSoftDeleteRequestId) ID ¶
func (id DisableSoftDeleteRequestId) ID() string
ID returns the formatted Disable Soft Delete Request ID
func (DisableSoftDeleteRequestId) Segments ¶
func (id DisableSoftDeleteRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Disable Soft Delete Request ID
func (DisableSoftDeleteRequestId) String ¶
func (id DisableSoftDeleteRequestId) String() string
String returns a human-readable description of this Disable Soft Delete Request ID
type DppBaseResource ¶
type DppBaseResourceOperationPredicate ¶
func (DppBaseResourceOperationPredicate) Matches ¶
func (p DppBaseResourceOperationPredicate) Matches(input DppBaseResource) bool
type DppIdentityDetails ¶
type GetBackupSecurityPINRequestId ¶
type GetBackupSecurityPINRequestId struct { SubscriptionId string ResourceGroupName string ResourceGuardName string GetBackupSecurityPINRequestName string }
GetBackupSecurityPINRequestId is a struct representing the Resource ID for a Get Backup Security P I N Request
func NewGetBackupSecurityPINRequestID ¶
func NewGetBackupSecurityPINRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, getBackupSecurityPINRequestName string) GetBackupSecurityPINRequestId
NewGetBackupSecurityPINRequestID returns a new GetBackupSecurityPINRequestId struct
func ParseGetBackupSecurityPINRequestID ¶
func ParseGetBackupSecurityPINRequestID(input string) (*GetBackupSecurityPINRequestId, error)
ParseGetBackupSecurityPINRequestID parses 'input' into a GetBackupSecurityPINRequestId
func ParseGetBackupSecurityPINRequestIDInsensitively ¶
func ParseGetBackupSecurityPINRequestIDInsensitively(input string) (*GetBackupSecurityPINRequestId, error)
ParseGetBackupSecurityPINRequestIDInsensitively parses 'input' case-insensitively into a GetBackupSecurityPINRequestId note: this method should only be used for API response data and not user input
func (*GetBackupSecurityPINRequestId) FromParseResult ¶ added in v0.20231127.1171502
func (id *GetBackupSecurityPINRequestId) FromParseResult(input resourceids.ParseResult) error
func (GetBackupSecurityPINRequestId) ID ¶
func (id GetBackupSecurityPINRequestId) ID() string
ID returns the formatted Get Backup Security P I N Request ID
func (GetBackupSecurityPINRequestId) Segments ¶
func (id GetBackupSecurityPINRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Get Backup Security P I N Request ID
func (GetBackupSecurityPINRequestId) String ¶
func (id GetBackupSecurityPINRequestId) String() string
String returns a human-readable description of this Get Backup Security P I N Request ID
type GetBackupSecurityPINRequestsObjectsCompleteResult ¶
type GetBackupSecurityPINRequestsObjectsCompleteResult struct { LatestHttpResponse *http.Response Items []DppBaseResource }
type GetBackupSecurityPINRequestsObjectsOperationResponse ¶
type GetBackupSecurityPINRequestsObjectsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DppBaseResource }
type GetDefaultBackupSecurityPINRequestsObjectOperationResponse ¶
type GetDefaultBackupSecurityPINRequestsObjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DppBaseResource }
type GetDefaultDeleteProtectedItemRequestsObjectOperationResponse ¶
type GetDefaultDeleteProtectedItemRequestsObjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DppBaseResource }
type GetDefaultDeleteResourceGuardProxyRequestsObjectOperationResponse ¶
type GetDefaultDeleteResourceGuardProxyRequestsObjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DppBaseResource }
type GetDefaultDisableSoftDeleteRequestsObjectOperationResponse ¶
type GetDefaultDisableSoftDeleteRequestsObjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DppBaseResource }
type GetDefaultUpdateProtectedItemRequestsObjectOperationResponse ¶
type GetDefaultUpdateProtectedItemRequestsObjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DppBaseResource }
type GetDefaultUpdateProtectionPolicyRequestsObjectOperationResponse ¶
type GetDefaultUpdateProtectionPolicyRequestsObjectOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DppBaseResource }
type GetDeleteProtectedItemRequestsObjectsCompleteResult ¶
type GetDeleteProtectedItemRequestsObjectsCompleteResult struct { LatestHttpResponse *http.Response Items []DppBaseResource }
type GetDeleteProtectedItemRequestsObjectsOperationResponse ¶
type GetDeleteProtectedItemRequestsObjectsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DppBaseResource }
type GetDeleteResourceGuardProxyRequestsObjectsCompleteResult ¶
type GetDeleteResourceGuardProxyRequestsObjectsCompleteResult struct { LatestHttpResponse *http.Response Items []DppBaseResource }
type GetDeleteResourceGuardProxyRequestsObjectsOperationResponse ¶
type GetDeleteResourceGuardProxyRequestsObjectsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DppBaseResource }
type GetDisableSoftDeleteRequestsObjectsCompleteResult ¶
type GetDisableSoftDeleteRequestsObjectsCompleteResult struct { LatestHttpResponse *http.Response Items []DppBaseResource }
type GetDisableSoftDeleteRequestsObjectsOperationResponse ¶
type GetDisableSoftDeleteRequestsObjectsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DppBaseResource }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceGuardResource }
type GetResourcesInResourceGroupCompleteResult ¶
type GetResourcesInResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceGuardResource }
type GetResourcesInResourceGroupOperationResponse ¶
type GetResourcesInResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceGuardResource }
type GetResourcesInSubscriptionCompleteResult ¶
type GetResourcesInSubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceGuardResource }
type GetResourcesInSubscriptionOperationResponse ¶
type GetResourcesInSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceGuardResource }
type GetUpdateProtectedItemRequestsObjectsCompleteResult ¶
type GetUpdateProtectedItemRequestsObjectsCompleteResult struct { LatestHttpResponse *http.Response Items []DppBaseResource }
type GetUpdateProtectedItemRequestsObjectsOperationResponse ¶
type GetUpdateProtectedItemRequestsObjectsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DppBaseResource }
type GetUpdateProtectionPolicyRequestsObjectsCompleteResult ¶
type GetUpdateProtectionPolicyRequestsObjectsCompleteResult struct { LatestHttpResponse *http.Response Items []DppBaseResource }
type GetUpdateProtectionPolicyRequestsObjectsOperationResponse ¶
type GetUpdateProtectionPolicyRequestsObjectsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DppBaseResource }
type MonitoringSettings ¶
type MonitoringSettings struct {
AzureMonitorAlertSettings *AzureMonitorAlertSettings `json:"azureMonitorAlertSettings,omitempty"`
}
type PatchBackupVaultInput ¶
type PatchBackupVaultInput struct {
MonitoringSettings *MonitoringSettings `json:"monitoringSettings,omitempty"`
}
type PatchOperationResponse ¶
type PatchOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceGuardResource }
type PatchResourceRequestInput ¶
type PatchResourceRequestInput struct { Identity *DppIdentityDetails `json:"identity,omitempty"` Properties *PatchBackupVaultInput `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PutOperationResponse ¶
type PutOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceGuardResource }
type ResourceGuard ¶
type ResourceGuard struct { AllowAutoApprovals *bool `json:"allowAutoApprovals,omitempty"` Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceGuardOperations *[]ResourceGuardOperation `json:"resourceGuardOperations,omitempty"` VaultCriticalOperationExclusionList *[]string `json:"vaultCriticalOperationExclusionList,omitempty"` }
type ResourceGuardId ¶
type ResourceGuardId struct { SubscriptionId string ResourceGroupName string ResourceGuardName string }
ResourceGuardId is a struct representing the Resource ID for a Resource Guard
func NewResourceGuardID ¶
func NewResourceGuardID(subscriptionId string, resourceGroupName string, resourceGuardName string) ResourceGuardId
NewResourceGuardID returns a new ResourceGuardId struct
func ParseResourceGuardID ¶
func ParseResourceGuardID(input string) (*ResourceGuardId, error)
ParseResourceGuardID parses 'input' into a ResourceGuardId
func ParseResourceGuardIDInsensitively ¶
func ParseResourceGuardIDInsensitively(input string) (*ResourceGuardId, error)
ParseResourceGuardIDInsensitively parses 'input' case-insensitively into a ResourceGuardId note: this method should only be used for API response data and not user input
func (*ResourceGuardId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ResourceGuardId) FromParseResult(input resourceids.ParseResult) error
func (ResourceGuardId) ID ¶
func (id ResourceGuardId) ID() string
ID returns the formatted Resource Guard ID
func (ResourceGuardId) Segments ¶
func (id ResourceGuardId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Guard ID
func (ResourceGuardId) String ¶
func (id ResourceGuardId) String() string
String returns a human-readable description of this Resource Guard ID
type ResourceGuardOperation ¶
type ResourceGuardResource ¶
type ResourceGuardResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Identity *DppIdentityDetails `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ResourceGuard `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ResourceGuardResourceOperationPredicate ¶
type ResourceGuardResourceOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (ResourceGuardResourceOperationPredicate) Matches ¶
func (p ResourceGuardResourceOperationPredicate) Matches(input ResourceGuardResource) bool
type ResourceGuardsClient ¶
type ResourceGuardsClient struct {
Client *resourcemanager.Client
}
func NewResourceGuardsClientWithBaseURI ¶
func NewResourceGuardsClientWithBaseURI(sdkApi sdkEnv.Api) (*ResourceGuardsClient, error)
func (ResourceGuardsClient) Delete ¶
func (c ResourceGuardsClient) Delete(ctx context.Context, id ResourceGuardId) (result DeleteOperationResponse, err error)
Delete ...
func (ResourceGuardsClient) Get ¶
func (c ResourceGuardsClient) Get(ctx context.Context, id ResourceGuardId) (result GetOperationResponse, err error)
Get ...
func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjects ¶
func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetBackupSecurityPINRequestsObjectsOperationResponse, err error)
GetBackupSecurityPINRequestsObjects ...
func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsComplete ¶
func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetBackupSecurityPINRequestsObjectsCompleteResult, error)
GetBackupSecurityPINRequestsObjectsComplete retrieves all the results into a single object
func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsCompleteMatchingPredicate ¶
func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (result GetBackupSecurityPINRequestsObjectsCompleteResult, err error)
GetBackupSecurityPINRequestsObjectsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObject ¶
func (c ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObject(ctx context.Context, id GetBackupSecurityPINRequestId) (result GetDefaultBackupSecurityPINRequestsObjectOperationResponse, err error)
GetDefaultBackupSecurityPINRequestsObject ...
func (ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObject ¶
func (c ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObject(ctx context.Context, id DeleteProtectedItemRequestId) (result GetDefaultDeleteProtectedItemRequestsObjectOperationResponse, err error)
GetDefaultDeleteProtectedItemRequestsObject ...
func (ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObject ¶
func (c ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObject(ctx context.Context, id DeleteResourceGuardProxyRequestId) (result GetDefaultDeleteResourceGuardProxyRequestsObjectOperationResponse, err error)
GetDefaultDeleteResourceGuardProxyRequestsObject ...
func (ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObject ¶
func (c ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObject(ctx context.Context, id DisableSoftDeleteRequestId) (result GetDefaultDisableSoftDeleteRequestsObjectOperationResponse, err error)
GetDefaultDisableSoftDeleteRequestsObject ...
func (ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObject ¶
func (c ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObject(ctx context.Context, id UpdateProtectedItemRequestId) (result GetDefaultUpdateProtectedItemRequestsObjectOperationResponse, err error)
GetDefaultUpdateProtectedItemRequestsObject ...
func (ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObject ¶
func (c ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObject(ctx context.Context, id UpdateProtectionPolicyRequestId) (result GetDefaultUpdateProtectionPolicyRequestsObjectOperationResponse, err error)
GetDefaultUpdateProtectionPolicyRequestsObject ...
func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjects ¶
func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetDeleteProtectedItemRequestsObjectsOperationResponse, err error)
GetDeleteProtectedItemRequestsObjects ...
func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsComplete ¶
func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDeleteProtectedItemRequestsObjectsCompleteResult, error)
GetDeleteProtectedItemRequestsObjectsComplete retrieves all the results into a single object
func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsCompleteMatchingPredicate ¶
func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (result GetDeleteProtectedItemRequestsObjectsCompleteResult, err error)
GetDeleteProtectedItemRequestsObjectsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjects ¶
func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetDeleteResourceGuardProxyRequestsObjectsOperationResponse, err error)
GetDeleteResourceGuardProxyRequestsObjects ...
func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsComplete ¶
func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDeleteResourceGuardProxyRequestsObjectsCompleteResult, error)
GetDeleteResourceGuardProxyRequestsObjectsComplete retrieves all the results into a single object
func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsCompleteMatchingPredicate ¶
func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (result GetDeleteResourceGuardProxyRequestsObjectsCompleteResult, err error)
GetDeleteResourceGuardProxyRequestsObjectsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjects ¶
func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetDisableSoftDeleteRequestsObjectsOperationResponse, err error)
GetDisableSoftDeleteRequestsObjects ...
func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsComplete ¶
func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDisableSoftDeleteRequestsObjectsCompleteResult, error)
GetDisableSoftDeleteRequestsObjectsComplete retrieves all the results into a single object
func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsCompleteMatchingPredicate ¶
func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (result GetDisableSoftDeleteRequestsObjectsCompleteResult, err error)
GetDisableSoftDeleteRequestsObjectsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGuardsClient) GetResourcesInResourceGroup ¶
func (c ResourceGuardsClient) GetResourcesInResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result GetResourcesInResourceGroupOperationResponse, err error)
GetResourcesInResourceGroup ...
func (ResourceGuardsClient) GetResourcesInResourceGroupComplete ¶
func (c ResourceGuardsClient) GetResourcesInResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (GetResourcesInResourceGroupCompleteResult, error)
GetResourcesInResourceGroupComplete retrieves all the results into a single object
func (ResourceGuardsClient) GetResourcesInResourceGroupCompleteMatchingPredicate ¶
func (c ResourceGuardsClient) GetResourcesInResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ResourceGuardResourceOperationPredicate) (result GetResourcesInResourceGroupCompleteResult, err error)
GetResourcesInResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGuardsClient) GetResourcesInSubscription ¶
func (c ResourceGuardsClient) GetResourcesInSubscription(ctx context.Context, id commonids.SubscriptionId) (result GetResourcesInSubscriptionOperationResponse, err error)
GetResourcesInSubscription ...
func (ResourceGuardsClient) GetResourcesInSubscriptionComplete ¶
func (c ResourceGuardsClient) GetResourcesInSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (GetResourcesInSubscriptionCompleteResult, error)
GetResourcesInSubscriptionComplete retrieves all the results into a single object
func (ResourceGuardsClient) GetResourcesInSubscriptionCompleteMatchingPredicate ¶
func (c ResourceGuardsClient) GetResourcesInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ResourceGuardResourceOperationPredicate) (result GetResourcesInSubscriptionCompleteResult, err error)
GetResourcesInSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjects ¶
func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetUpdateProtectedItemRequestsObjectsOperationResponse, err error)
GetUpdateProtectedItemRequestsObjects ...
func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsComplete ¶
func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetUpdateProtectedItemRequestsObjectsCompleteResult, error)
GetUpdateProtectedItemRequestsObjectsComplete retrieves all the results into a single object
func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsCompleteMatchingPredicate ¶
func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (result GetUpdateProtectedItemRequestsObjectsCompleteResult, err error)
GetUpdateProtectedItemRequestsObjectsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjects ¶
func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjects(ctx context.Context, id ResourceGuardId) (result GetUpdateProtectionPolicyRequestsObjectsOperationResponse, err error)
GetUpdateProtectionPolicyRequestsObjects ...
func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsComplete ¶
func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetUpdateProtectionPolicyRequestsObjectsCompleteResult, error)
GetUpdateProtectionPolicyRequestsObjectsComplete retrieves all the results into a single object
func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsCompleteMatchingPredicate ¶
func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (result GetUpdateProtectionPolicyRequestsObjectsCompleteResult, err error)
GetUpdateProtectionPolicyRequestsObjectsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ResourceGuardsClient) Patch ¶
func (c ResourceGuardsClient) Patch(ctx context.Context, id ResourceGuardId, input PatchResourceRequestInput) (result PatchOperationResponse, err error)
Patch ...
func (ResourceGuardsClient) Put ¶
func (c ResourceGuardsClient) Put(ctx context.Context, id ResourceGuardId, input ResourceGuardResource) (result PutOperationResponse, err error)
Put ...
type UpdateProtectedItemRequestId ¶
type UpdateProtectedItemRequestId struct { SubscriptionId string ResourceGroupName string ResourceGuardName string UpdateProtectedItemRequestName string }
UpdateProtectedItemRequestId is a struct representing the Resource ID for a Update Protected Item Request
func NewUpdateProtectedItemRequestID ¶
func NewUpdateProtectedItemRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, updateProtectedItemRequestName string) UpdateProtectedItemRequestId
NewUpdateProtectedItemRequestID returns a new UpdateProtectedItemRequestId struct
func ParseUpdateProtectedItemRequestID ¶
func ParseUpdateProtectedItemRequestID(input string) (*UpdateProtectedItemRequestId, error)
ParseUpdateProtectedItemRequestID parses 'input' into a UpdateProtectedItemRequestId
func ParseUpdateProtectedItemRequestIDInsensitively ¶
func ParseUpdateProtectedItemRequestIDInsensitively(input string) (*UpdateProtectedItemRequestId, error)
ParseUpdateProtectedItemRequestIDInsensitively parses 'input' case-insensitively into a UpdateProtectedItemRequestId note: this method should only be used for API response data and not user input
func (*UpdateProtectedItemRequestId) FromParseResult ¶ added in v0.20231127.1171502
func (id *UpdateProtectedItemRequestId) FromParseResult(input resourceids.ParseResult) error
func (UpdateProtectedItemRequestId) ID ¶
func (id UpdateProtectedItemRequestId) ID() string
ID returns the formatted Update Protected Item Request ID
func (UpdateProtectedItemRequestId) Segments ¶
func (id UpdateProtectedItemRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Update Protected Item Request ID
func (UpdateProtectedItemRequestId) String ¶
func (id UpdateProtectedItemRequestId) String() string
String returns a human-readable description of this Update Protected Item Request ID
type UpdateProtectionPolicyRequestId ¶
type UpdateProtectionPolicyRequestId struct { SubscriptionId string ResourceGroupName string ResourceGuardName string UpdateProtectionPolicyRequestName string }
UpdateProtectionPolicyRequestId is a struct representing the Resource ID for a Update Protection Policy Request
func NewUpdateProtectionPolicyRequestID ¶
func NewUpdateProtectionPolicyRequestID(subscriptionId string, resourceGroupName string, resourceGuardName string, updateProtectionPolicyRequestName string) UpdateProtectionPolicyRequestId
NewUpdateProtectionPolicyRequestID returns a new UpdateProtectionPolicyRequestId struct
func ParseUpdateProtectionPolicyRequestID ¶
func ParseUpdateProtectionPolicyRequestID(input string) (*UpdateProtectionPolicyRequestId, error)
ParseUpdateProtectionPolicyRequestID parses 'input' into a UpdateProtectionPolicyRequestId
func ParseUpdateProtectionPolicyRequestIDInsensitively ¶
func ParseUpdateProtectionPolicyRequestIDInsensitively(input string) (*UpdateProtectionPolicyRequestId, error)
ParseUpdateProtectionPolicyRequestIDInsensitively parses 'input' case-insensitively into a UpdateProtectionPolicyRequestId note: this method should only be used for API response data and not user input
func (*UpdateProtectionPolicyRequestId) FromParseResult ¶ added in v0.20231127.1171502
func (id *UpdateProtectionPolicyRequestId) FromParseResult(input resourceids.ParseResult) error
func (UpdateProtectionPolicyRequestId) ID ¶
func (id UpdateProtectionPolicyRequestId) ID() string
ID returns the formatted Update Protection Policy Request ID
func (UpdateProtectionPolicyRequestId) Segments ¶
func (id UpdateProtectionPolicyRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Update Protection Policy Request ID
func (UpdateProtectionPolicyRequestId) String ¶
func (id UpdateProtectionPolicyRequestId) String() string
String returns a human-readable description of this Update Protection Policy Request ID
Source Files ¶
- client.go
- constants.go
- id_deleteprotecteditemrequest.go
- id_deleteresourceguardproxyrequest.go
- id_disablesoftdeleterequest.go
- id_getbackupsecuritypinrequest.go
- id_resourceguard.go
- id_updateprotecteditemrequest.go
- id_updateprotectionpolicyrequest.go
- method_delete.go
- method_get.go
- method_getbackupsecuritypinrequestsobjects.go
- method_getdefaultbackupsecuritypinrequestsobject.go
- method_getdefaultdeleteprotecteditemrequestsobject.go
- method_getdefaultdeleteresourceguardproxyrequestsobject.go
- method_getdefaultdisablesoftdeleterequestsobject.go
- method_getdefaultupdateprotecteditemrequestsobject.go
- method_getdefaultupdateprotectionpolicyrequestsobject.go
- method_getdeleteprotecteditemrequestsobjects.go
- method_getdeleteresourceguardproxyrequestsobjects.go
- method_getdisablesoftdeleterequestsobjects.go
- method_getresourcesinresourcegroup.go
- method_getresourcesinsubscription.go
- method_getupdateprotecteditemrequestsobjects.go
- method_getupdateprotectionpolicyrequestsobjects.go
- method_patch.go
- method_put.go
- model_azuremonitoralertsettings.go
- model_dppbaseresource.go
- model_dppidentitydetails.go
- model_monitoringsettings.go
- model_patchbackupvaultinput.go
- model_patchresourcerequestinput.go
- model_resourceguard.go
- model_resourceguardoperation.go
- model_resourceguardresource.go
- predicates.go
- version.go