blobauditing

package
v0.20240117.1113630 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/sql/2021-11-01/blobauditing Documentation

The blobauditing SDK allows for interaction with the Azure Resource Manager Service sql (API Version 2021-11-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/sql/2021-11-01/blobauditing"

Client Initialization

client := blobauditing.NewBlobAuditingClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BlobAuditingClient.DatabaseBlobAuditingPoliciesCreateOrUpdate

ctx := context.TODO()
id := blobauditing.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue")

payload := blobauditing.DatabaseBlobAuditingPolicy{
	// ...
}


read, err := client.DatabaseBlobAuditingPoliciesCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobAuditingClient.DatabaseBlobAuditingPoliciesGet

ctx := context.TODO()
id := blobauditing.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue")

read, err := client.DatabaseBlobAuditingPoliciesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobAuditingClient.DatabaseBlobAuditingPoliciesListByDatabase

ctx := context.TODO()
id := blobauditing.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue")

// alternatively `client.DatabaseBlobAuditingPoliciesListByDatabase(ctx, id)` can be used to do batched pagination
items, err := client.DatabaseBlobAuditingPoliciesListByDatabaseComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BlobAuditingClient.ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdate

ctx := context.TODO()
id := blobauditing.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue")

payload := blobauditing.ExtendedDatabaseBlobAuditingPolicy{
	// ...
}


read, err := client.ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobAuditingClient.ExtendedDatabaseBlobAuditingPoliciesGet

ctx := context.TODO()
id := blobauditing.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue")

read, err := client.ExtendedDatabaseBlobAuditingPoliciesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobAuditingClient.ExtendedDatabaseBlobAuditingPoliciesListByDatabase

ctx := context.TODO()
id := blobauditing.NewSqlDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue", "databaseValue")

// alternatively `client.ExtendedDatabaseBlobAuditingPoliciesListByDatabase(ctx, id)` can be used to do batched pagination
items, err := client.ExtendedDatabaseBlobAuditingPoliciesListByDatabaseComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BlobAuditingClient.ExtendedServerBlobAuditingPoliciesCreateOrUpdate

ctx := context.TODO()
id := blobauditing.NewSqlServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue")

payload := blobauditing.ExtendedServerBlobAuditingPolicy{
	// ...
}


if err := client.ExtendedServerBlobAuditingPoliciesCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BlobAuditingClient.ExtendedServerBlobAuditingPoliciesGet

ctx := context.TODO()
id := blobauditing.NewSqlServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue")

read, err := client.ExtendedServerBlobAuditingPoliciesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobAuditingClient.ExtendedServerBlobAuditingPoliciesListByServer

ctx := context.TODO()
id := blobauditing.NewSqlServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue")

// alternatively `client.ExtendedServerBlobAuditingPoliciesListByServer(ctx, id)` can be used to do batched pagination
items, err := client.ExtendedServerBlobAuditingPoliciesListByServerComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BlobAuditingClient.ServerBlobAuditingPoliciesCreateOrUpdate

ctx := context.TODO()
id := blobauditing.NewSqlServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue")

payload := blobauditing.ServerBlobAuditingPolicy{
	// ...
}


if err := client.ServerBlobAuditingPoliciesCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BlobAuditingClient.ServerBlobAuditingPoliciesGet

ctx := context.TODO()
id := blobauditing.NewSqlServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue")

read, err := client.ServerBlobAuditingPoliciesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobAuditingClient.ServerBlobAuditingPoliciesListByServer

ctx := context.TODO()
id := blobauditing.NewSqlServerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serverValue")

// alternatively `client.ServerBlobAuditingPoliciesListByServer(ctx, id)` can be used to do batched pagination
items, err := client.ServerBlobAuditingPoliciesListByServerComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForBlobAuditingPolicyState

func PossibleValuesForBlobAuditingPolicyState() []string

Types

type BlobAuditingClient

type BlobAuditingClient struct {
	Client *resourcemanager.Client
}

func NewBlobAuditingClientWithBaseURI

func NewBlobAuditingClientWithBaseURI(sdkApi sdkEnv.Api) (*BlobAuditingClient, error)

func (BlobAuditingClient) DatabaseBlobAuditingPoliciesCreateOrUpdate

DatabaseBlobAuditingPoliciesCreateOrUpdate ...

func (BlobAuditingClient) DatabaseBlobAuditingPoliciesGet

func (c BlobAuditingClient) DatabaseBlobAuditingPoliciesGet(ctx context.Context, id commonids.SqlDatabaseId) (result DatabaseBlobAuditingPoliciesGetOperationResponse, err error)

DatabaseBlobAuditingPoliciesGet ...

func (BlobAuditingClient) DatabaseBlobAuditingPoliciesListByDatabase

func (c BlobAuditingClient) DatabaseBlobAuditingPoliciesListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result DatabaseBlobAuditingPoliciesListByDatabaseOperationResponse, err error)

DatabaseBlobAuditingPoliciesListByDatabase ...

func (BlobAuditingClient) DatabaseBlobAuditingPoliciesListByDatabaseComplete

func (c BlobAuditingClient) DatabaseBlobAuditingPoliciesListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (DatabaseBlobAuditingPoliciesListByDatabaseCompleteResult, error)

DatabaseBlobAuditingPoliciesListByDatabaseComplete retrieves all the results into a single object

func (BlobAuditingClient) DatabaseBlobAuditingPoliciesListByDatabaseCompleteMatchingPredicate

func (c BlobAuditingClient) DatabaseBlobAuditingPoliciesListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate DatabaseBlobAuditingPolicyOperationPredicate) (result DatabaseBlobAuditingPoliciesListByDatabaseCompleteResult, err error)

DatabaseBlobAuditingPoliciesListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdate

ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdate ...

func (BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesGet

func (c BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesGet(ctx context.Context, id commonids.SqlDatabaseId) (result ExtendedDatabaseBlobAuditingPoliciesGetOperationResponse, err error)

ExtendedDatabaseBlobAuditingPoliciesGet ...

func (BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesListByDatabase

func (c BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ExtendedDatabaseBlobAuditingPoliciesListByDatabaseOperationResponse, err error)

ExtendedDatabaseBlobAuditingPoliciesListByDatabase ...

func (BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesListByDatabaseComplete

func (c BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ExtendedDatabaseBlobAuditingPoliciesListByDatabaseCompleteResult, error)

ExtendedDatabaseBlobAuditingPoliciesListByDatabaseComplete retrieves all the results into a single object

func (BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesListByDatabaseCompleteMatchingPredicate

func (c BlobAuditingClient) ExtendedDatabaseBlobAuditingPoliciesListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate ExtendedDatabaseBlobAuditingPolicyOperationPredicate) (result ExtendedDatabaseBlobAuditingPoliciesListByDatabaseCompleteResult, err error)

ExtendedDatabaseBlobAuditingPoliciesListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BlobAuditingClient) ExtendedServerBlobAuditingPoliciesCreateOrUpdate

ExtendedServerBlobAuditingPoliciesCreateOrUpdate ...

func (BlobAuditingClient) ExtendedServerBlobAuditingPoliciesCreateOrUpdateThenPoll

func (c BlobAuditingClient) ExtendedServerBlobAuditingPoliciesCreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlServerId, input ExtendedServerBlobAuditingPolicy) error

ExtendedServerBlobAuditingPoliciesCreateOrUpdateThenPoll performs ExtendedServerBlobAuditingPoliciesCreateOrUpdate then polls until it's completed

func (BlobAuditingClient) ExtendedServerBlobAuditingPoliciesGet

func (c BlobAuditingClient) ExtendedServerBlobAuditingPoliciesGet(ctx context.Context, id commonids.SqlServerId) (result ExtendedServerBlobAuditingPoliciesGetOperationResponse, err error)

ExtendedServerBlobAuditingPoliciesGet ...

func (BlobAuditingClient) ExtendedServerBlobAuditingPoliciesListByServer

func (c BlobAuditingClient) ExtendedServerBlobAuditingPoliciesListByServer(ctx context.Context, id commonids.SqlServerId) (result ExtendedServerBlobAuditingPoliciesListByServerOperationResponse, err error)

ExtendedServerBlobAuditingPoliciesListByServer ...

func (BlobAuditingClient) ExtendedServerBlobAuditingPoliciesListByServerComplete

func (c BlobAuditingClient) ExtendedServerBlobAuditingPoliciesListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ExtendedServerBlobAuditingPoliciesListByServerCompleteResult, error)

ExtendedServerBlobAuditingPoliciesListByServerComplete retrieves all the results into a single object

func (BlobAuditingClient) ExtendedServerBlobAuditingPoliciesListByServerCompleteMatchingPredicate

func (c BlobAuditingClient) ExtendedServerBlobAuditingPoliciesListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate ExtendedServerBlobAuditingPolicyOperationPredicate) (result ExtendedServerBlobAuditingPoliciesListByServerCompleteResult, err error)

ExtendedServerBlobAuditingPoliciesListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BlobAuditingClient) ServerBlobAuditingPoliciesCreateOrUpdate

ServerBlobAuditingPoliciesCreateOrUpdate ...

func (BlobAuditingClient) ServerBlobAuditingPoliciesCreateOrUpdateThenPoll

func (c BlobAuditingClient) ServerBlobAuditingPoliciesCreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlServerId, input ServerBlobAuditingPolicy) error

ServerBlobAuditingPoliciesCreateOrUpdateThenPoll performs ServerBlobAuditingPoliciesCreateOrUpdate then polls until it's completed

func (BlobAuditingClient) ServerBlobAuditingPoliciesGet

func (c BlobAuditingClient) ServerBlobAuditingPoliciesGet(ctx context.Context, id commonids.SqlServerId) (result ServerBlobAuditingPoliciesGetOperationResponse, err error)

ServerBlobAuditingPoliciesGet ...

func (BlobAuditingClient) ServerBlobAuditingPoliciesListByServer

func (c BlobAuditingClient) ServerBlobAuditingPoliciesListByServer(ctx context.Context, id commonids.SqlServerId) (result ServerBlobAuditingPoliciesListByServerOperationResponse, err error)

ServerBlobAuditingPoliciesListByServer ...

func (BlobAuditingClient) ServerBlobAuditingPoliciesListByServerComplete

func (c BlobAuditingClient) ServerBlobAuditingPoliciesListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ServerBlobAuditingPoliciesListByServerCompleteResult, error)

ServerBlobAuditingPoliciesListByServerComplete retrieves all the results into a single object

func (BlobAuditingClient) ServerBlobAuditingPoliciesListByServerCompleteMatchingPredicate

func (c BlobAuditingClient) ServerBlobAuditingPoliciesListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate ServerBlobAuditingPolicyOperationPredicate) (result ServerBlobAuditingPoliciesListByServerCompleteResult, err error)

ServerBlobAuditingPoliciesListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate

type BlobAuditingPolicyState

type BlobAuditingPolicyState string
const (
	BlobAuditingPolicyStateDisabled BlobAuditingPolicyState = "Disabled"
	BlobAuditingPolicyStateEnabled  BlobAuditingPolicyState = "Enabled"
)

func (*BlobAuditingPolicyState) UnmarshalJSON

func (s *BlobAuditingPolicyState) UnmarshalJSON(bytes []byte) error

type DatabaseBlobAuditingPoliciesCreateOrUpdateOperationResponse

type DatabaseBlobAuditingPoliciesCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DatabaseBlobAuditingPolicy
}

type DatabaseBlobAuditingPoliciesGetOperationResponse

type DatabaseBlobAuditingPoliciesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DatabaseBlobAuditingPolicy
}

type DatabaseBlobAuditingPoliciesListByDatabaseCompleteResult

type DatabaseBlobAuditingPoliciesListByDatabaseCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DatabaseBlobAuditingPolicy
}

type DatabaseBlobAuditingPoliciesListByDatabaseOperationResponse

type DatabaseBlobAuditingPoliciesListByDatabaseOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DatabaseBlobAuditingPolicy
}

type DatabaseBlobAuditingPolicy

type DatabaseBlobAuditingPolicy struct {
	Id         *string                               `json:"id,omitempty"`
	Kind       *string                               `json:"kind,omitempty"`
	Name       *string                               `json:"name,omitempty"`
	Properties *DatabaseBlobAuditingPolicyProperties `json:"properties,omitempty"`
	Type       *string                               `json:"type,omitempty"`
}

type DatabaseBlobAuditingPolicyOperationPredicate

type DatabaseBlobAuditingPolicyOperationPredicate struct {
	Id   *string
	Kind *string
	Name *string
	Type *string
}

func (DatabaseBlobAuditingPolicyOperationPredicate) Matches

type DatabaseBlobAuditingPolicyProperties

type DatabaseBlobAuditingPolicyProperties struct {
	AuditActionsAndGroups        *[]string               `json:"auditActionsAndGroups,omitempty"`
	IsAzureMonitorTargetEnabled  *bool                   `json:"isAzureMonitorTargetEnabled,omitempty"`
	IsManagedIdentityInUse       *bool                   `json:"isManagedIdentityInUse,omitempty"`
	IsStorageSecondaryKeyInUse   *bool                   `json:"isStorageSecondaryKeyInUse,omitempty"`
	QueueDelayMs                 *int64                  `json:"queueDelayMs,omitempty"`
	RetentionDays                *int64                  `json:"retentionDays,omitempty"`
	State                        BlobAuditingPolicyState `json:"state"`
	StorageAccountAccessKey      *string                 `json:"storageAccountAccessKey,omitempty"`
	StorageAccountSubscriptionId *string                 `json:"storageAccountSubscriptionId,omitempty"`
	StorageEndpoint              *string                 `json:"storageEndpoint,omitempty"`
}

type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateOperationResponse

type ExtendedDatabaseBlobAuditingPoliciesCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ExtendedDatabaseBlobAuditingPolicy
}

type ExtendedDatabaseBlobAuditingPoliciesGetOperationResponse

type ExtendedDatabaseBlobAuditingPoliciesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ExtendedDatabaseBlobAuditingPolicy
}

type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseCompleteResult

type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ExtendedDatabaseBlobAuditingPolicy
}

type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseOperationResponse

type ExtendedDatabaseBlobAuditingPoliciesListByDatabaseOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ExtendedDatabaseBlobAuditingPolicy
}

type ExtendedDatabaseBlobAuditingPolicy

type ExtendedDatabaseBlobAuditingPolicy struct {
	Id         *string                                       `json:"id,omitempty"`
	Name       *string                                       `json:"name,omitempty"`
	Properties *ExtendedDatabaseBlobAuditingPolicyProperties `json:"properties,omitempty"`
	Type       *string                                       `json:"type,omitempty"`
}

type ExtendedDatabaseBlobAuditingPolicyOperationPredicate

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

func (ExtendedDatabaseBlobAuditingPolicyOperationPredicate) Matches

type ExtendedDatabaseBlobAuditingPolicyProperties

type ExtendedDatabaseBlobAuditingPolicyProperties struct {
	AuditActionsAndGroups        *[]string               `json:"auditActionsAndGroups,omitempty"`
	IsAzureMonitorTargetEnabled  *bool                   `json:"isAzureMonitorTargetEnabled,omitempty"`
	IsManagedIdentityInUse       *bool                   `json:"isManagedIdentityInUse,omitempty"`
	IsStorageSecondaryKeyInUse   *bool                   `json:"isStorageSecondaryKeyInUse,omitempty"`
	PredicateExpression          *string                 `json:"predicateExpression,omitempty"`
	QueueDelayMs                 *int64                  `json:"queueDelayMs,omitempty"`
	RetentionDays                *int64                  `json:"retentionDays,omitempty"`
	State                        BlobAuditingPolicyState `json:"state"`
	StorageAccountAccessKey      *string                 `json:"storageAccountAccessKey,omitempty"`
	StorageAccountSubscriptionId *string                 `json:"storageAccountSubscriptionId,omitempty"`
	StorageEndpoint              *string                 `json:"storageEndpoint,omitempty"`
}

type ExtendedServerBlobAuditingPoliciesCreateOrUpdateOperationResponse

type ExtendedServerBlobAuditingPoliciesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ExtendedServerBlobAuditingPoliciesGetOperationResponse

type ExtendedServerBlobAuditingPoliciesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ExtendedServerBlobAuditingPolicy
}

type ExtendedServerBlobAuditingPoliciesListByServerCompleteResult

type ExtendedServerBlobAuditingPoliciesListByServerCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ExtendedServerBlobAuditingPolicy
}

type ExtendedServerBlobAuditingPoliciesListByServerOperationResponse

type ExtendedServerBlobAuditingPoliciesListByServerOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ExtendedServerBlobAuditingPolicy
}

type ExtendedServerBlobAuditingPolicy

type ExtendedServerBlobAuditingPolicy struct {
	Id         *string                                     `json:"id,omitempty"`
	Name       *string                                     `json:"name,omitempty"`
	Properties *ExtendedServerBlobAuditingPolicyProperties `json:"properties,omitempty"`
	Type       *string                                     `json:"type,omitempty"`
}

type ExtendedServerBlobAuditingPolicyOperationPredicate

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

func (ExtendedServerBlobAuditingPolicyOperationPredicate) Matches

type ExtendedServerBlobAuditingPolicyProperties

type ExtendedServerBlobAuditingPolicyProperties struct {
	AuditActionsAndGroups        *[]string               `json:"auditActionsAndGroups,omitempty"`
	IsAzureMonitorTargetEnabled  *bool                   `json:"isAzureMonitorTargetEnabled,omitempty"`
	IsDevopsAuditEnabled         *bool                   `json:"isDevopsAuditEnabled,omitempty"`
	IsManagedIdentityInUse       *bool                   `json:"isManagedIdentityInUse,omitempty"`
	IsStorageSecondaryKeyInUse   *bool                   `json:"isStorageSecondaryKeyInUse,omitempty"`
	PredicateExpression          *string                 `json:"predicateExpression,omitempty"`
	QueueDelayMs                 *int64                  `json:"queueDelayMs,omitempty"`
	RetentionDays                *int64                  `json:"retentionDays,omitempty"`
	State                        BlobAuditingPolicyState `json:"state"`
	StorageAccountAccessKey      *string                 `json:"storageAccountAccessKey,omitempty"`
	StorageAccountSubscriptionId *string                 `json:"storageAccountSubscriptionId,omitempty"`
	StorageEndpoint              *string                 `json:"storageEndpoint,omitempty"`
}

type ServerBlobAuditingPoliciesCreateOrUpdateOperationResponse

type ServerBlobAuditingPoliciesCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServerBlobAuditingPoliciesGetOperationResponse

type ServerBlobAuditingPoliciesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ServerBlobAuditingPolicy
}

type ServerBlobAuditingPoliciesListByServerCompleteResult

type ServerBlobAuditingPoliciesListByServerCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ServerBlobAuditingPolicy
}

type ServerBlobAuditingPoliciesListByServerOperationResponse

type ServerBlobAuditingPoliciesListByServerOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ServerBlobAuditingPolicy
}

type ServerBlobAuditingPolicy

type ServerBlobAuditingPolicy struct {
	Id         *string                             `json:"id,omitempty"`
	Name       *string                             `json:"name,omitempty"`
	Properties *ServerBlobAuditingPolicyProperties `json:"properties,omitempty"`
	Type       *string                             `json:"type,omitempty"`
}

type ServerBlobAuditingPolicyOperationPredicate

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

func (ServerBlobAuditingPolicyOperationPredicate) Matches

type ServerBlobAuditingPolicyProperties

type ServerBlobAuditingPolicyProperties struct {
	AuditActionsAndGroups        *[]string               `json:"auditActionsAndGroups,omitempty"`
	IsAzureMonitorTargetEnabled  *bool                   `json:"isAzureMonitorTargetEnabled,omitempty"`
	IsDevopsAuditEnabled         *bool                   `json:"isDevopsAuditEnabled,omitempty"`
	IsManagedIdentityInUse       *bool                   `json:"isManagedIdentityInUse,omitempty"`
	IsStorageSecondaryKeyInUse   *bool                   `json:"isStorageSecondaryKeyInUse,omitempty"`
	QueueDelayMs                 *int64                  `json:"queueDelayMs,omitempty"`
	RetentionDays                *int64                  `json:"retentionDays,omitempty"`
	State                        BlobAuditingPolicyState `json:"state"`
	StorageAccountAccessKey      *string                 `json:"storageAccountAccessKey,omitempty"`
	StorageAccountSubscriptionId *string                 `json:"storageAccountSubscriptionId,omitempty"`
	StorageEndpoint              *string                 `json:"storageEndpoint,omitempty"`
}

Jump to

Keyboard shortcuts

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