Documentation ¶
Index ¶
- func PossibleValuesForSecurityAlertPolicyState() []string
- func ValidateSqlPoolID(input interface{}, key string) (warnings []string, errors []error)
- type SecurityAlertPolicyProperties
- type SecurityAlertPolicyState
- type SqlPoolId
- type SqlPoolSecurityAlertPoliciesCreateOrUpdateOperationResponse
- type SqlPoolSecurityAlertPoliciesGetOperationResponse
- type SqlPoolSecurityAlertPoliciesListCompleteResult
- type SqlPoolSecurityAlertPoliciesListCustomPager
- type SqlPoolSecurityAlertPoliciesListOperationResponse
- type SqlPoolSecurityAlertPolicy
- type SqlPoolSecurityAlertPolicyOperationPredicate
- type SqlPoolsSecurityAlertPoliciesClient
- func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesCreateOrUpdate(ctx context.Context, id SqlPoolId, input SqlPoolSecurityAlertPolicy) (result SqlPoolSecurityAlertPoliciesCreateOrUpdateOperationResponse, err error)
- func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesGet(ctx context.Context, id SqlPoolId) (result SqlPoolSecurityAlertPoliciesGetOperationResponse, err error)
- func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesList(ctx context.Context, id SqlPoolId) (result SqlPoolSecurityAlertPoliciesListOperationResponse, err error)
- func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesListComplete(ctx context.Context, id SqlPoolId) (SqlPoolSecurityAlertPoliciesListCompleteResult, error)
- func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, ...) (result SqlPoolSecurityAlertPoliciesListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSecurityAlertPolicyState ¶
func PossibleValuesForSecurityAlertPolicyState() []string
func ValidateSqlPoolID ¶
ValidateSqlPoolID checks that 'input' can be parsed as a Sql Pool ID
Types ¶
type SecurityAlertPolicyProperties ¶
type SecurityAlertPolicyProperties 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 (*SecurityAlertPolicyProperties) GetCreationTimeAsTime ¶
func (o *SecurityAlertPolicyProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*SecurityAlertPolicyProperties) SetCreationTimeAsTime ¶
func (o *SecurityAlertPolicyProperties) SetCreationTimeAsTime(input time.Time)
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 SqlPoolId ¶
type SqlPoolId struct { SubscriptionId string ResourceGroupName string WorkspaceName string SqlPoolName string }
SqlPoolId is a struct representing the Resource ID for a Sql Pool
func NewSqlPoolID ¶
func NewSqlPoolID(subscriptionId string, resourceGroupName string, workspaceName string, sqlPoolName string) SqlPoolId
NewSqlPoolID returns a new SqlPoolId struct
func ParseSqlPoolID ¶
ParseSqlPoolID parses 'input' into a SqlPoolId
func ParseSqlPoolIDInsensitively ¶
ParseSqlPoolIDInsensitively parses 'input' case-insensitively into a SqlPoolId note: this method should only be used for API response data and not user input
func (*SqlPoolId) FromParseResult ¶
func (id *SqlPoolId) FromParseResult(input resourceids.ParseResult) error
func (SqlPoolId) Segments ¶
func (id SqlPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sql Pool ID
type SqlPoolSecurityAlertPoliciesCreateOrUpdateOperationResponse ¶
type SqlPoolSecurityAlertPoliciesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SqlPoolSecurityAlertPolicy }
type SqlPoolSecurityAlertPoliciesGetOperationResponse ¶
type SqlPoolSecurityAlertPoliciesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SqlPoolSecurityAlertPolicy }
type SqlPoolSecurityAlertPoliciesListCompleteResult ¶
type SqlPoolSecurityAlertPoliciesListCompleteResult struct { LatestHttpResponse *http.Response Items []SqlPoolSecurityAlertPolicy }
type SqlPoolSecurityAlertPoliciesListCustomPager ¶
func (*SqlPoolSecurityAlertPoliciesListCustomPager) NextPageLink ¶
func (p *SqlPoolSecurityAlertPoliciesListCustomPager) NextPageLink() *odata.Link
type SqlPoolSecurityAlertPoliciesListOperationResponse ¶
type SqlPoolSecurityAlertPoliciesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SqlPoolSecurityAlertPolicy }
type SqlPoolSecurityAlertPolicy ¶
type SqlPoolSecurityAlertPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecurityAlertPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SqlPoolSecurityAlertPolicyOperationPredicate ¶
func (SqlPoolSecurityAlertPolicyOperationPredicate) Matches ¶
func (p SqlPoolSecurityAlertPolicyOperationPredicate) Matches(input SqlPoolSecurityAlertPolicy) bool
type SqlPoolsSecurityAlertPoliciesClient ¶
type SqlPoolsSecurityAlertPoliciesClient struct {
Client *resourcemanager.Client
}
func NewSqlPoolsSecurityAlertPoliciesClientWithBaseURI ¶
func NewSqlPoolsSecurityAlertPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*SqlPoolsSecurityAlertPoliciesClient, error)
func (SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesCreateOrUpdate ¶
func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesCreateOrUpdate(ctx context.Context, id SqlPoolId, input SqlPoolSecurityAlertPolicy) (result SqlPoolSecurityAlertPoliciesCreateOrUpdateOperationResponse, err error)
SqlPoolSecurityAlertPoliciesCreateOrUpdate ...
func (SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesGet ¶
func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesGet(ctx context.Context, id SqlPoolId) (result SqlPoolSecurityAlertPoliciesGetOperationResponse, err error)
SqlPoolSecurityAlertPoliciesGet ...
func (SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesList ¶
func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesList(ctx context.Context, id SqlPoolId) (result SqlPoolSecurityAlertPoliciesListOperationResponse, err error)
SqlPoolSecurityAlertPoliciesList ...
func (SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesListComplete ¶
func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesListComplete(ctx context.Context, id SqlPoolId) (SqlPoolSecurityAlertPoliciesListCompleteResult, error)
SqlPoolSecurityAlertPoliciesListComplete retrieves all the results into a single object
func (SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesListCompleteMatchingPredicate ¶
func (c SqlPoolsSecurityAlertPoliciesClient) SqlPoolSecurityAlertPoliciesListCompleteMatchingPredicate(ctx context.Context, id SqlPoolId, predicate SqlPoolSecurityAlertPolicyOperationPredicate) (result SqlPoolSecurityAlertPoliciesListCompleteResult, err error)
SqlPoolSecurityAlertPoliciesListCompleteMatchingPredicate retrieves all the results and then applies the predicate