resourceguards

package
v0.20231116.1162710 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/dataprotection/2023-08-01/resourceguards Documentation

The resourceguards SDK allows for interaction with the Azure Resource Manager Service dataprotection (API Version 2023-08-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/2023-08-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.PatchResourceGuardInput{
	// ...
}


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

Constants

This section is empty.

Variables

This section is empty.

Functions

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 DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

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) 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
	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) 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
	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) 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 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) 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
	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 {
	Items []DppBaseResource
}

type GetDeleteProtectedItemRequestsObjectsOperationResponse

type GetDeleteProtectedItemRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DppBaseResource
}

type GetDeleteResourceGuardProxyRequestsObjectsCompleteResult

type GetDeleteResourceGuardProxyRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetDeleteResourceGuardProxyRequestsObjectsOperationResponse

type GetDeleteResourceGuardProxyRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DppBaseResource
}

type GetDisableSoftDeleteRequestsObjectsCompleteResult

type GetDisableSoftDeleteRequestsObjectsCompleteResult struct {
	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 {
	Items []ResourceGuardResource
}

type GetResourcesInResourceGroupOperationResponse

type GetResourcesInResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ResourceGuardResource
}

type GetResourcesInSubscriptionCompleteResult

type GetResourcesInSubscriptionCompleteResult struct {
	Items []ResourceGuardResource
}

type GetResourcesInSubscriptionOperationResponse

type GetResourcesInSubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ResourceGuardResource
}

type GetUpdateProtectedItemRequestsObjectsCompleteResult

type GetUpdateProtectedItemRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetUpdateProtectedItemRequestsObjectsOperationResponse

type GetUpdateProtectedItemRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DppBaseResource
}

type GetUpdateProtectionPolicyRequestsObjectsCompleteResult

type GetUpdateProtectionPolicyRequestsObjectsCompleteResult struct {
	Items []DppBaseResource
}

type GetUpdateProtectionPolicyRequestsObjectsOperationResponse

type GetUpdateProtectionPolicyRequestsObjectsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DppBaseResource
}

type PatchOperationResponse

type PatchOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ResourceGuardResource
}

type PatchResourceGuardInput

type PatchResourceGuardInput struct {
	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

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) 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"`
	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 *resourcemanager.Client
}

func NewResourceGuardsClientWithBaseURI

func NewResourceGuardsClientWithBaseURI(sdkApi sdkEnv.Api) (*ResourceGuardsClient, error)

func (ResourceGuardsClient) Delete

Delete ...

func (ResourceGuardsClient) Get

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

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

GetResourcesInResourceGroup ...

func (ResourceGuardsClient) GetResourcesInResourceGroupComplete

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

GetResourcesInSubscription ...

func (ResourceGuardsClient) GetResourcesInSubscriptionComplete

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

Patch ...

func (ResourceGuardsClient) Put

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