resourceguards

package
v0.20221013.1075625 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/dataprotection/2022-05-01/resourceguards Documentation

The resourceguards SDK allows for interaction with the Azure Resource Manager Service dataprotection (API Version 2022-05-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-05-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", "resourceGuardsValue")

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", "resourceGuardsValue")

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", "resourceGuardsValue")

// 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", "resourceGuardsValue", "requestValue")

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", "resourceGuardsValue", "requestValue")

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", "resourceGuardsValue", "requestValue")

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", "resourceGuardsValue", "requestValue")

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", "resourceGuardsValue", "requestValue")

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", "resourceGuardsValue", "requestValue")

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", "resourceGuardsValue")

// 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", "resourceGuardsValue")

// 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", "resourceGuardsValue")

// 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", "resourceGuardsValue")

// 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", "resourceGuardsValue")

// 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", "resourceGuardsValue")

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", "resourceGuardsValue")

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

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

func ValidateResourceGuardID(input interface{}, key string) (warnings []string, errors []error)

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"
)

type AzureMonitorAlertSettings

type AzureMonitorAlertSettings struct {
	AlertsForAllJobFailures *AlertsState `json:"alertsForAllJobFailures,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type DeleteProtectedItemRequestId

type DeleteProtectedItemRequestId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ResourceGuardsName string
	RequestName        string
}

DeleteProtectedItemRequestId is a struct representing the Resource ID for a Delete Protected Item Request

func NewDeleteProtectedItemRequestID

func NewDeleteProtectedItemRequestID(subscriptionId string, resourceGroupName string, resourceGuardsName string, requestName 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) ID

ID returns the formatted Delete Protected Item Request ID

func (DeleteProtectedItemRequestId) Segments

Segments returns a slice of Resource ID Segments which comprise this Delete Protected Item Request ID

func (DeleteProtectedItemRequestId) String

String returns a human-readable description of this Delete Protected Item Request ID

type DeleteResourceGuardProxyRequestId

type DeleteResourceGuardProxyRequestId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ResourceGuardsName string
	RequestName        string
}

DeleteResourceGuardProxyRequestId is a struct representing the Resource ID for a Delete Resource Guard Proxy Request

func NewDeleteResourceGuardProxyRequestID

func NewDeleteResourceGuardProxyRequestID(subscriptionId string, resourceGroupName string, resourceGuardsName string, requestName 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) ID

ID returns the formatted Delete Resource Guard Proxy Request ID

func (DeleteResourceGuardProxyRequestId) Segments

Segments returns a slice of Resource ID Segments which comprise this Delete Resource Guard Proxy Request ID

func (DeleteResourceGuardProxyRequestId) String

String returns a human-readable description of this Delete Resource Guard Proxy Request ID

type DisableSoftDeleteRequestId

type DisableSoftDeleteRequestId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ResourceGuardsName string
	RequestName        string
}

DisableSoftDeleteRequestId is a struct representing the Resource ID for a Disable Soft Delete Request

func NewDisableSoftDeleteRequestID

func NewDisableSoftDeleteRequestID(subscriptionId string, resourceGroupName string, resourceGuardsName string, requestName 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) ID

ID returns the formatted Disable Soft Delete Request ID

func (DisableSoftDeleteRequestId) Segments

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 DppBaseResource struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type DppBaseResourceOperationPredicate

type DppBaseResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (DppBaseResourceOperationPredicate) Matches

type DppIdentityDetails

type DppIdentityDetails struct {
	PrincipalId *string `json:"principalId,omitempty"`
	TenantId    *string `json:"tenantId,omitempty"`
	Type        *string `json:"type,omitempty"`
}

type GetBackupSecurityPINRequestId

type GetBackupSecurityPINRequestId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ResourceGuardsName string
	RequestName        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, resourceGuardsName string, requestName 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) ID

ID returns the formatted Get Backup Security P I N Request ID

func (GetBackupSecurityPINRequestId) Segments

Segments returns a slice of Resource ID Segments which comprise this Get Backup Security P I N Request ID

func (GetBackupSecurityPINRequestId) String

String returns a human-readable description of this Get Backup Security P I N Request ID

type GetBackupSecurityPINRequestsObjectsCompleteResult

type GetBackupSecurityPINRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetBackupSecurityPINRequestsObjectsOperationResponse

type GetBackupSecurityPINRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DppBaseResource
	// contains filtered or unexported fields
}

func (GetBackupSecurityPINRequestsObjectsOperationResponse) HasMore

func (GetBackupSecurityPINRequestsObjectsOperationResponse) LoadMore

type GetDefaultBackupSecurityPINRequestsObjectOperationResponse

type GetDefaultBackupSecurityPINRequestsObjectOperationResponse struct {
	HttpResponse *http.Response
	Model        *DppBaseResource
}

type GetDefaultDeleteProtectedItemRequestsObjectOperationResponse

type GetDefaultDeleteProtectedItemRequestsObjectOperationResponse struct {
	HttpResponse *http.Response
	Model        *DppBaseResource
}

type GetDefaultDeleteResourceGuardProxyRequestsObjectOperationResponse

type GetDefaultDeleteResourceGuardProxyRequestsObjectOperationResponse struct {
	HttpResponse *http.Response
	Model        *DppBaseResource
}

type GetDefaultDisableSoftDeleteRequestsObjectOperationResponse

type GetDefaultDisableSoftDeleteRequestsObjectOperationResponse struct {
	HttpResponse *http.Response
	Model        *DppBaseResource
}

type GetDefaultUpdateProtectedItemRequestsObjectOperationResponse

type GetDefaultUpdateProtectedItemRequestsObjectOperationResponse struct {
	HttpResponse *http.Response
	Model        *DppBaseResource
}

type GetDefaultUpdateProtectionPolicyRequestsObjectOperationResponse

type GetDefaultUpdateProtectionPolicyRequestsObjectOperationResponse struct {
	HttpResponse *http.Response
	Model        *DppBaseResource
}

type GetDeleteProtectedItemRequestsObjectsCompleteResult

type GetDeleteProtectedItemRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetDeleteProtectedItemRequestsObjectsOperationResponse

type GetDeleteProtectedItemRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DppBaseResource
	// contains filtered or unexported fields
}

func (GetDeleteProtectedItemRequestsObjectsOperationResponse) HasMore

func (GetDeleteProtectedItemRequestsObjectsOperationResponse) LoadMore

type GetDeleteResourceGuardProxyRequestsObjectsCompleteResult

type GetDeleteResourceGuardProxyRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetDeleteResourceGuardProxyRequestsObjectsOperationResponse

type GetDeleteResourceGuardProxyRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DppBaseResource
	// contains filtered or unexported fields
}

func (GetDeleteResourceGuardProxyRequestsObjectsOperationResponse) HasMore

func (GetDeleteResourceGuardProxyRequestsObjectsOperationResponse) LoadMore

type GetDisableSoftDeleteRequestsObjectsCompleteResult

type GetDisableSoftDeleteRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetDisableSoftDeleteRequestsObjectsOperationResponse

type GetDisableSoftDeleteRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DppBaseResource
	// contains filtered or unexported fields
}

func (GetDisableSoftDeleteRequestsObjectsOperationResponse) HasMore

func (GetDisableSoftDeleteRequestsObjectsOperationResponse) LoadMore

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *ResourceGuardResource
}

type GetResourcesInResourceGroupCompleteResult

type GetResourcesInResourceGroupCompleteResult struct {
	Items []ResourceGuardResource
}

type GetResourcesInResourceGroupOperationResponse

type GetResourcesInResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ResourceGuardResource
	// contains filtered or unexported fields
}

func (GetResourcesInResourceGroupOperationResponse) HasMore

func (GetResourcesInResourceGroupOperationResponse) LoadMore

type GetResourcesInSubscriptionCompleteResult

type GetResourcesInSubscriptionCompleteResult struct {
	Items []ResourceGuardResource
}

type GetResourcesInSubscriptionOperationResponse

type GetResourcesInSubscriptionOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ResourceGuardResource
	// contains filtered or unexported fields
}

func (GetResourcesInSubscriptionOperationResponse) HasMore

func (GetResourcesInSubscriptionOperationResponse) LoadMore

type GetUpdateProtectedItemRequestsObjectsCompleteResult

type GetUpdateProtectedItemRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetUpdateProtectedItemRequestsObjectsOperationResponse

type GetUpdateProtectedItemRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DppBaseResource
	// contains filtered or unexported fields
}

func (GetUpdateProtectedItemRequestsObjectsOperationResponse) HasMore

func (GetUpdateProtectedItemRequestsObjectsOperationResponse) LoadMore

type GetUpdateProtectionPolicyRequestsObjectsCompleteResult

type GetUpdateProtectionPolicyRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetUpdateProtectionPolicyRequestsObjectsOperationResponse

type GetUpdateProtectionPolicyRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]DppBaseResource
	// contains filtered or unexported fields
}

func (GetUpdateProtectionPolicyRequestsObjectsOperationResponse) HasMore

func (GetUpdateProtectionPolicyRequestsObjectsOperationResponse) LoadMore

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
	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"
)

type PutOperationResponse

type PutOperationResponse struct {
	HttpResponse *http.Response
	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
	ResourceGuardsName string
}

ResourceGuardId is a struct representing the Resource ID for a Resource Guard

func NewResourceGuardID

func NewResourceGuardID(subscriptionId string, resourceGroupName string, resourceGuardsName 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) 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 ResourceGuardOperation struct {
	RequestResourceType    *string `json:"requestResourceType,omitempty"`
	VaultCriticalOperation *string `json:"vaultCriticalOperation,omitempty"`
}

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

type ResourceGuardsClient

type ResourceGuardsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewResourceGuardsClientWithBaseURI

func NewResourceGuardsClientWithBaseURI(endpoint string) ResourceGuardsClient

func (ResourceGuardsClient) Delete

Delete ...

func (ResourceGuardsClient) Get

Get ...

func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjects

func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjects(ctx context.Context, id ResourceGuardId) (resp GetBackupSecurityPINRequestsObjectsOperationResponse, err error)

GetBackupSecurityPINRequestsObjects ...

func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsComplete

func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetBackupSecurityPINRequestsObjectsCompleteResult, error)

GetBackupSecurityPINRequestsObjectsComplete retrieves all of the results into a single object

func (ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsCompleteMatchingPredicate

func (c ResourceGuardsClient) GetBackupSecurityPINRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (resp GetBackupSecurityPINRequestsObjectsCompleteResult, err error)

GetBackupSecurityPINRequestsObjectsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceGuardsClient) GetDefaultBackupSecurityPINRequestsObject

GetDefaultBackupSecurityPINRequestsObject ...

func (ResourceGuardsClient) GetDefaultDeleteProtectedItemRequestsObject

GetDefaultDeleteProtectedItemRequestsObject ...

func (ResourceGuardsClient) GetDefaultDeleteResourceGuardProxyRequestsObject

GetDefaultDeleteResourceGuardProxyRequestsObject ...

func (ResourceGuardsClient) GetDefaultDisableSoftDeleteRequestsObject

GetDefaultDisableSoftDeleteRequestsObject ...

func (ResourceGuardsClient) GetDefaultUpdateProtectedItemRequestsObject

GetDefaultUpdateProtectedItemRequestsObject ...

func (ResourceGuardsClient) GetDefaultUpdateProtectionPolicyRequestsObject

GetDefaultUpdateProtectionPolicyRequestsObject ...

func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjects

func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjects(ctx context.Context, id ResourceGuardId) (resp GetDeleteProtectedItemRequestsObjectsOperationResponse, err error)

GetDeleteProtectedItemRequestsObjects ...

func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsComplete

func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDeleteProtectedItemRequestsObjectsCompleteResult, error)

GetDeleteProtectedItemRequestsObjectsComplete retrieves all of the results into a single object

func (ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsCompleteMatchingPredicate

func (c ResourceGuardsClient) GetDeleteProtectedItemRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (resp GetDeleteProtectedItemRequestsObjectsCompleteResult, err error)

GetDeleteProtectedItemRequestsObjectsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjects

func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjects(ctx context.Context, id ResourceGuardId) (resp GetDeleteResourceGuardProxyRequestsObjectsOperationResponse, err error)

GetDeleteResourceGuardProxyRequestsObjects ...

func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsComplete

func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDeleteResourceGuardProxyRequestsObjectsCompleteResult, error)

GetDeleteResourceGuardProxyRequestsObjectsComplete retrieves all of the results into a single object

func (ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsCompleteMatchingPredicate

func (c ResourceGuardsClient) GetDeleteResourceGuardProxyRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (resp GetDeleteResourceGuardProxyRequestsObjectsCompleteResult, err error)

GetDeleteResourceGuardProxyRequestsObjectsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjects

func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjects(ctx context.Context, id ResourceGuardId) (resp GetDisableSoftDeleteRequestsObjectsOperationResponse, err error)

GetDisableSoftDeleteRequestsObjects ...

func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsComplete

func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetDisableSoftDeleteRequestsObjectsCompleteResult, error)

GetDisableSoftDeleteRequestsObjectsComplete retrieves all of the results into a single object

func (ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsCompleteMatchingPredicate

func (c ResourceGuardsClient) GetDisableSoftDeleteRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (resp GetDisableSoftDeleteRequestsObjectsCompleteResult, err error)

GetDisableSoftDeleteRequestsObjectsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceGuardsClient) GetResourcesInResourceGroup

GetResourcesInResourceGroup ...

func (ResourceGuardsClient) GetResourcesInResourceGroupComplete

GetResourcesInResourceGroupComplete retrieves all of the results into a single object

func (ResourceGuardsClient) GetResourcesInResourceGroupCompleteMatchingPredicate

func (c ResourceGuardsClient) GetResourcesInResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ResourceGuardResourceOperationPredicate) (resp GetResourcesInResourceGroupCompleteResult, err error)

GetResourcesInResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceGuardsClient) GetResourcesInSubscription

GetResourcesInSubscription ...

func (ResourceGuardsClient) GetResourcesInSubscriptionComplete

GetResourcesInSubscriptionComplete retrieves all of the results into a single object

func (ResourceGuardsClient) GetResourcesInSubscriptionCompleteMatchingPredicate

func (c ResourceGuardsClient) GetResourcesInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ResourceGuardResourceOperationPredicate) (resp GetResourcesInSubscriptionCompleteResult, err error)

GetResourcesInSubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjects

func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjects(ctx context.Context, id ResourceGuardId) (resp GetUpdateProtectedItemRequestsObjectsOperationResponse, err error)

GetUpdateProtectedItemRequestsObjects ...

func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsComplete

func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetUpdateProtectedItemRequestsObjectsCompleteResult, error)

GetUpdateProtectedItemRequestsObjectsComplete retrieves all of the results into a single object

func (ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsCompleteMatchingPredicate

func (c ResourceGuardsClient) GetUpdateProtectedItemRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (resp GetUpdateProtectedItemRequestsObjectsCompleteResult, err error)

GetUpdateProtectedItemRequestsObjectsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjects

func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjects(ctx context.Context, id ResourceGuardId) (resp GetUpdateProtectionPolicyRequestsObjectsOperationResponse, err error)

GetUpdateProtectionPolicyRequestsObjects ...

func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsComplete

func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsComplete(ctx context.Context, id ResourceGuardId) (GetUpdateProtectionPolicyRequestsObjectsCompleteResult, error)

GetUpdateProtectionPolicyRequestsObjectsComplete retrieves all of the results into a single object

func (ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsCompleteMatchingPredicate

func (c ResourceGuardsClient) GetUpdateProtectionPolicyRequestsObjectsCompleteMatchingPredicate(ctx context.Context, id ResourceGuardId, predicate DppBaseResourceOperationPredicate) (resp GetUpdateProtectionPolicyRequestsObjectsCompleteResult, err error)

GetUpdateProtectionPolicyRequestsObjectsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (ResourceGuardsClient) Patch

Patch ...

func (ResourceGuardsClient) Put

Put ...

type UpdateProtectedItemRequestId

type UpdateProtectedItemRequestId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ResourceGuardsName string
	RequestName        string
}

UpdateProtectedItemRequestId is a struct representing the Resource ID for a Update Protected Item Request

func NewUpdateProtectedItemRequestID

func NewUpdateProtectedItemRequestID(subscriptionId string, resourceGroupName string, resourceGuardsName string, requestName 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) ID

ID returns the formatted Update Protected Item Request ID

func (UpdateProtectedItemRequestId) Segments

Segments returns a slice of Resource ID Segments which comprise this Update Protected Item Request ID

func (UpdateProtectedItemRequestId) String

String returns a human-readable description of this Update Protected Item Request ID

type UpdateProtectionPolicyRequestId

type UpdateProtectionPolicyRequestId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ResourceGuardsName string
	RequestName        string
}

UpdateProtectionPolicyRequestId is a struct representing the Resource ID for a Update Protection Policy Request

func NewUpdateProtectionPolicyRequestID

func NewUpdateProtectionPolicyRequestID(subscriptionId string, resourceGroupName string, resourceGuardsName string, requestName 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) ID

ID returns the formatted Update Protection Policy Request ID

func (UpdateProtectionPolicyRequestId) Segments

Segments returns a slice of Resource ID Segments which comprise this Update Protection Policy Request ID

func (UpdateProtectionPolicyRequestId) String

String returns a human-readable description of this Update Protection Policy Request ID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL