Documentation ¶
Index ¶
- func PossibleValuesForSecurityAlertPolicyState() []string
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type SecurityAlertPolicyState
- type ServerSecurityAlertPolicy
- type ServerSecurityAlertPolicyOperationPredicate
- type ServerSecurityAlertPolicyProperties
- type WorkspaceId
- type WorkspaceManagedSqlServerSecurityAlertPoliciesClient
- func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdate(ctx context.Context, id WorkspaceId, input ServerSecurityAlertPolicy) (...)
- func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input ServerSecurityAlertPolicy) error
- func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyGet(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerSecurityAlertPolicyGetOperationResponse, ...)
- func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyList(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerSecurityAlertPolicyListOperationResponse, ...)
- func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyListComplete(ctx context.Context, id WorkspaceId) (WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteResult, error)
- func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteResult, ...)
- type WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateOperationResponse
- type WorkspaceManagedSqlServerSecurityAlertPolicyGetOperationResponse
- type WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteResult
- type WorkspaceManagedSqlServerSecurityAlertPolicyListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSecurityAlertPolicyState ¶
func PossibleValuesForSecurityAlertPolicyState() []string
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type SecurityAlertPolicyState ¶
type SecurityAlertPolicyState string
const ( SecurityAlertPolicyStateDisabled SecurityAlertPolicyState = "Disabled" SecurityAlertPolicyStateEnabled SecurityAlertPolicyState = "Enabled" SecurityAlertPolicyStateNew SecurityAlertPolicyState = "New" )
func (*SecurityAlertPolicyState) UnmarshalJSON ¶
func (s *SecurityAlertPolicyState) UnmarshalJSON(bytes []byte) error
type ServerSecurityAlertPolicy ¶
type ServerSecurityAlertPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerSecurityAlertPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerSecurityAlertPolicyOperationPredicate ¶
func (ServerSecurityAlertPolicyOperationPredicate) Matches ¶
func (p ServerSecurityAlertPolicyOperationPredicate) Matches(input ServerSecurityAlertPolicy) bool
type ServerSecurityAlertPolicyProperties ¶
type ServerSecurityAlertPolicyProperties struct { CreationTime *string `json:"creationTime,omitempty"` DisabledAlerts *[]string `json:"disabledAlerts,omitempty"` EmailAccountAdmins *bool `json:"emailAccountAdmins,omitempty"` EmailAddresses *[]string `json:"emailAddresses,omitempty"` RetentionDays *int64 `json:"retentionDays,omitempty"` State SecurityAlertPolicyState `json:"state"` StorageAccountAccessKey *string `json:"storageAccountAccessKey,omitempty"` StorageEndpoint *string `json:"storageEndpoint,omitempty"` }
func (*ServerSecurityAlertPolicyProperties) GetCreationTimeAsTime ¶
func (o *ServerSecurityAlertPolicyProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ServerSecurityAlertPolicyProperties) SetCreationTimeAsTime ¶
func (o *ServerSecurityAlertPolicyProperties) SetCreationTimeAsTime(input time.Time)
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 WorkspaceManagedSqlServerSecurityAlertPoliciesClient ¶
type WorkspaceManagedSqlServerSecurityAlertPoliciesClient struct {
Client *resourcemanager.Client
}
func NewWorkspaceManagedSqlServerSecurityAlertPoliciesClientWithBaseURI ¶
func NewWorkspaceManagedSqlServerSecurityAlertPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkspaceManagedSqlServerSecurityAlertPoliciesClient, error)
func (WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdate ¶
func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdate(ctx context.Context, id WorkspaceId, input ServerSecurityAlertPolicy) (result WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateOperationResponse, err error)
WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdate ...
func (WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateThenPoll ¶
func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceId, input ServerSecurityAlertPolicy) error
WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdateThenPoll performs WorkspaceManagedSqlServerSecurityAlertPolicyCreateOrUpdate then polls until it's completed
func (WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyGet ¶
func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyGet(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerSecurityAlertPolicyGetOperationResponse, err error)
WorkspaceManagedSqlServerSecurityAlertPolicyGet ...
func (WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyList ¶
func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyList(ctx context.Context, id WorkspaceId) (result WorkspaceManagedSqlServerSecurityAlertPolicyListOperationResponse, err error)
WorkspaceManagedSqlServerSecurityAlertPolicyList ...
func (WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyListComplete ¶
func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyListComplete(ctx context.Context, id WorkspaceId) (WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteResult, error)
WorkspaceManagedSqlServerSecurityAlertPolicyListComplete retrieves all the results into a single object
func (WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteMatchingPredicate ¶
func (c WorkspaceManagedSqlServerSecurityAlertPoliciesClient) WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate ServerSecurityAlertPolicyOperationPredicate) (result WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteResult, err error)
WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type WorkspaceManagedSqlServerSecurityAlertPolicyGetOperationResponse ¶
type WorkspaceManagedSqlServerSecurityAlertPolicyGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerSecurityAlertPolicy }
type WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteResult ¶
type WorkspaceManagedSqlServerSecurityAlertPolicyListCompleteResult struct { LatestHttpResponse *http.Response Items []ServerSecurityAlertPolicy }
type WorkspaceManagedSqlServerSecurityAlertPolicyListOperationResponse ¶
type WorkspaceManagedSqlServerSecurityAlertPolicyListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerSecurityAlertPolicy }
Source Files ¶
- client.go
- constants.go
- id_workspace.go
- method_workspacemanagedsqlserversecurityalertpolicycreateorupdate.go
- method_workspacemanagedsqlserversecurityalertpolicyget.go
- method_workspacemanagedsqlserversecurityalertpolicylist.go
- model_serversecurityalertpolicy.go
- model_serversecurityalertpolicyproperties.go
- predicates.go
- version.go