Documentation ¶
Index ¶
- func PossibleValuesForBlobAuditingPolicyState() []string
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type BlobAuditingPolicyState
- type ExtendedServerBlobAuditingPolicy
- type ExtendedServerBlobAuditingPolicyOperationPredicate
- type ExtendedServerBlobAuditingPolicyProperties
- type ServerBlobAuditingPolicy
- type ServerBlobAuditingPolicyOperationPredicate
- type ServerBlobAuditingPolicyProperties
- type WorkspaceId
- type WorkspaceManagedSqlServerBlobAuditingClient
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdate(ctx context.Context, id WorkspaceId, input ServerBlobAuditingPolicy) (...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input ServerBlobAuditingPolicy) error
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesGet(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerBlobAuditingPoliciesGetOperationResponse, ...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspace(ctx context.Context, id WorkspaceId) (...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteResult, ...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdate(ctx context.Context, id WorkspaceId, input ExtendedServerBlobAuditingPolicy) (...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input ExtendedServerBlobAuditingPolicy) error
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGet(ctx context.Context, id WorkspaceId) (...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspace(ctx context.Context, id WorkspaceId) (...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (...)
- func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (...)
- type WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdateOperationResponse
- type WorkspaceManagedSqlServerBlobAuditingPoliciesGetOperationResponse
- type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteResult
- type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCustomPager
- type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceOperationResponse
- type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateOperationResponse
- type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGetOperationResponse
- type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteResult
- type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCustomPager
- type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBlobAuditingPolicyState ¶
func PossibleValuesForBlobAuditingPolicyState() []string
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type BlobAuditingPolicyState ¶
type BlobAuditingPolicyState string
const ( BlobAuditingPolicyStateDisabled BlobAuditingPolicyState = "Disabled" BlobAuditingPolicyStateEnabled BlobAuditingPolicyState = "Enabled" )
func (*BlobAuditingPolicyState) UnmarshalJSON ¶
func (s *BlobAuditingPolicyState) UnmarshalJSON(bytes []byte) error
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 ¶
func (p ExtendedServerBlobAuditingPolicyOperationPredicate) Matches(input ExtendedServerBlobAuditingPolicy) bool
type ExtendedServerBlobAuditingPolicyProperties ¶
type ExtendedServerBlobAuditingPolicyProperties struct { AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"` IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` IsDevopsAuditEnabled *bool `json:"isDevopsAuditEnabled,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 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 ¶
func (ServerBlobAuditingPolicyOperationPredicate) Matches ¶
func (p ServerBlobAuditingPolicyOperationPredicate) Matches(input ServerBlobAuditingPolicy) bool
type ServerBlobAuditingPolicyProperties ¶
type ServerBlobAuditingPolicyProperties struct { AuditActionsAndGroups *[]string `json:"auditActionsAndGroups,omitempty"` IsAzureMonitorTargetEnabled *bool `json:"isAzureMonitorTargetEnabled,omitempty"` IsDevopsAuditEnabled *bool `json:"isDevopsAuditEnabled,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 WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
type WorkspaceManagedSqlServerBlobAuditingClient ¶
type WorkspaceManagedSqlServerBlobAuditingClient struct {
Client *resourcemanager.Client
}
func NewWorkspaceManagedSqlServerBlobAuditingClientWithBaseURI ¶
func NewWorkspaceManagedSqlServerBlobAuditingClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspaceManagedSqlServerBlobAuditingClient, error)
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdate ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdate(ctx context.Context, id WorkspaceId, input ServerBlobAuditingPolicy) (result WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdateOperationResponse, err error)
WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdate ...
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdateThenPoll ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input ServerBlobAuditingPolicy) error
WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdateThenPoll performs WorkspaceManagedSqlServerBlobAuditingPoliciesCreateOrUpdate then polls until it's completed
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesGet ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesGet(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerBlobAuditingPoliciesGetOperationResponse, err error)
WorkspaceManagedSqlServerBlobAuditingPoliciesGet ...
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspace ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspace(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceOperationResponse, err error)
WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspace ...
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceComplete ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteResult, error)
WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceComplete retrieves all the results into a single object
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteMatchingPredicate ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate ServerBlobAuditingPolicyOperationPredicate) (result WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteResult, err error)
WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdate ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdate(ctx context.Context, id WorkspaceId, input ExtendedServerBlobAuditingPolicy) (result WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateOperationResponse, err error)
WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdate ...
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateThenPoll ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input ExtendedServerBlobAuditingPolicy) error
WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdateThenPoll performs WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesCreateOrUpdate then polls until it's completed
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGet ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGet(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGetOperationResponse, err error)
WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGet ...
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspace ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspace(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceOperationResponse, err error)
WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspace ...
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceComplete ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteResult, error)
WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceComplete retrieves all the results into a single object
func (WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteMatchingPredicate ¶
func (c WorkspaceManagedSqlServerBlobAuditingClient) WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate ExtendedServerBlobAuditingPolicyOperationPredicate) (result WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteResult, err error)
WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type WorkspaceManagedSqlServerBlobAuditingPoliciesGetOperationResponse ¶
type WorkspaceManagedSqlServerBlobAuditingPoliciesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerBlobAuditingPolicy }
type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteResult ¶
type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCompleteResult struct { LatestHttpResponse *http.Response Items []ServerBlobAuditingPolicy }
type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCustomPager ¶ added in v0.20240628.1153531
type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceCustomPager) NextPageLink() *odata.Link
type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceOperationResponse ¶
type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerBlobAuditingPolicy }
type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGetOperationResponse ¶
type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExtendedServerBlobAuditingPolicy }
type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteResult ¶
type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCompleteResult struct { LatestHttpResponse *http.Response Items []ExtendedServerBlobAuditingPolicy }
type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCustomPager ¶ added in v0.20240628.1153531
type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceCustomPager) NextPageLink() *odata.Link
type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceOperationResponse ¶
type WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExtendedServerBlobAuditingPolicy }
Source Files ¶
- client.go
- constants.go
- id_workspace.go
- method_workspacemanagedsqlserverblobauditingpoliciescreateorupdate.go
- method_workspacemanagedsqlserverblobauditingpoliciesget.go
- method_workspacemanagedsqlserverblobauditingpolicieslistbyworkspace.go
- method_workspacemanagedsqlserverextendedblobauditingpoliciescreateorupdate.go
- method_workspacemanagedsqlserverextendedblobauditingpoliciesget.go
- method_workspacemanagedsqlserverextendedblobauditingpolicieslistbyworkspace.go
- model_extendedserverblobauditingpolicy.go
- model_extendedserverblobauditingpolicyproperties.go
- model_serverblobauditingpolicy.go
- model_serverblobauditingpolicyproperties.go
- predicates.go
- version.go