Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForSecurityAlertsPolicyState() []string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ServerSecurityAlertPolicy + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *ServerSecurityAlertPolicy + OData *odata.OData + type ListByServerCompleteResult struct + Items []ServerSecurityAlertPolicy + LatestHttpResponse *http.Response + type ListByServerCustomPager struct + NextLink *odata.Link + func (p *ListByServerCustomPager) NextPageLink() *odata.Link + type ListByServerOperationResponse struct + HttpResponse *http.Response + Model *[]ServerSecurityAlertPolicy + OData *odata.OData + type SecurityAlertsPolicyProperties struct + CreationTime *string + DisabledAlerts *[]string + EmailAccountAdmins *bool + EmailAddresses *[]string + RetentionDays *int64 + State SecurityAlertsPolicyState + StorageAccountAccessKey *string + StorageEndpoint *string + func (o *SecurityAlertsPolicyProperties) GetCreationTimeAsTime() (*time.Time, error) + func (o *SecurityAlertsPolicyProperties) SetCreationTimeAsTime(input time.Time) + type SecurityAlertsPolicyState string + const SecurityAlertsPolicyStateDisabled + const SecurityAlertsPolicyStateEnabled + func (s *SecurityAlertsPolicyState) UnmarshalJSON(bytes []byte) error + type ServerSecurityAlertPoliciesClient struct + Client *resourcemanager.Client + func NewServerSecurityAlertPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerSecurityAlertPoliciesClient, error) + func (c ServerSecurityAlertPoliciesClient) CreateOrUpdate(ctx context.Context, id commonids.SqlServerId, input ServerSecurityAlertPolicy) (result CreateOrUpdateOperationResponse, err error) + func (c ServerSecurityAlertPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.SqlServerId, input ServerSecurityAlertPolicy) error + func (c ServerSecurityAlertPoliciesClient) Get(ctx context.Context, id commonids.SqlServerId) (result GetOperationResponse, err error) + func (c ServerSecurityAlertPoliciesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error) + func (c ServerSecurityAlertPoliciesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error) + func (c ServerSecurityAlertPoliciesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error) + type ServerSecurityAlertPolicy struct + Id *string + Name *string + Properties *SecurityAlertsPolicyProperties + SystemData *systemdata.SystemData + Type *string + type ServerSecurityAlertPolicyOperationPredicate struct + Id *string + Name *string + Type *string + func (p ServerSecurityAlertPolicyOperationPredicate) Matches(input ServerSecurityAlertPolicy) bool