Documentation ¶
Index ¶
- func PossibleValuesForAdvancedThreatProtectionState() []string
- type AdvancedThreatProtectionProperties
- type AdvancedThreatProtectionState
- type CreateOrUpdateOperationResponse
- type DatabaseAdvancedThreatProtection
- type DatabaseAdvancedThreatProtectionOperationPredicate
- type DatabaseAdvancedThreatProtectionSettingsClient
- func (c DatabaseAdvancedThreatProtectionSettingsClient) CreateOrUpdate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DatabaseAdvancedThreatProtectionSettingsClient) Get(ctx context.Context, id commonids.SqlDatabaseId) (result GetOperationResponse, err error)
- func (c DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
- func (c DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
- func (c DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, ...) (result ListByDatabaseCompleteResult, err error)
- type GetOperationResponse
- type ListByDatabaseCompleteResult
- type ListByDatabaseCustomPager
- type ListByDatabaseOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAdvancedThreatProtectionState ¶
func PossibleValuesForAdvancedThreatProtectionState() []string
Types ¶
type AdvancedThreatProtectionProperties ¶
type AdvancedThreatProtectionProperties struct { CreationTime *string `json:"creationTime,omitempty"` State AdvancedThreatProtectionState `json:"state"` }
func (*AdvancedThreatProtectionProperties) GetCreationTimeAsTime ¶
func (o *AdvancedThreatProtectionProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*AdvancedThreatProtectionProperties) SetCreationTimeAsTime ¶
func (o *AdvancedThreatProtectionProperties) SetCreationTimeAsTime(input time.Time)
type AdvancedThreatProtectionState ¶
type AdvancedThreatProtectionState string
const ( AdvancedThreatProtectionStateDisabled AdvancedThreatProtectionState = "Disabled" AdvancedThreatProtectionStateEnabled AdvancedThreatProtectionState = "Enabled" AdvancedThreatProtectionStateNew AdvancedThreatProtectionState = "New" )
func (*AdvancedThreatProtectionState) UnmarshalJSON ¶
func (s *AdvancedThreatProtectionState) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseAdvancedThreatProtection }
type DatabaseAdvancedThreatProtection ¶
type DatabaseAdvancedThreatProtection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AdvancedThreatProtectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DatabaseAdvancedThreatProtectionOperationPredicate ¶
type DatabaseAdvancedThreatProtectionOperationPredicate struct { Id *string Name *string Type *string }
func (DatabaseAdvancedThreatProtectionOperationPredicate) Matches ¶
func (p DatabaseAdvancedThreatProtectionOperationPredicate) Matches(input DatabaseAdvancedThreatProtection) bool
type DatabaseAdvancedThreatProtectionSettingsClient ¶
type DatabaseAdvancedThreatProtectionSettingsClient struct {
Client *resourcemanager.Client
}
func NewDatabaseAdvancedThreatProtectionSettingsClientWithBaseURI ¶
func NewDatabaseAdvancedThreatProtectionSettingsClientWithBaseURI(sdkApi sdkEnv.Api) (*DatabaseAdvancedThreatProtectionSettingsClient, error)
func (DatabaseAdvancedThreatProtectionSettingsClient) CreateOrUpdate ¶
func (c DatabaseAdvancedThreatProtectionSettingsClient) CreateOrUpdate(ctx context.Context, id commonids.SqlDatabaseId, input DatabaseAdvancedThreatProtection) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DatabaseAdvancedThreatProtectionSettingsClient) Get ¶
func (c DatabaseAdvancedThreatProtectionSettingsClient) Get(ctx context.Context, id commonids.SqlDatabaseId) (result GetOperationResponse, err error)
Get ...
func (DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabase ¶
func (c DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabase(ctx context.Context, id commonids.SqlDatabaseId) (result ListByDatabaseOperationResponse, err error)
ListByDatabase ...
func (DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabaseComplete ¶
func (c DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabaseComplete(ctx context.Context, id commonids.SqlDatabaseId) (ListByDatabaseCompleteResult, error)
ListByDatabaseComplete retrieves all the results into a single object
func (DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabaseCompleteMatchingPredicate ¶
func (c DatabaseAdvancedThreatProtectionSettingsClient) ListByDatabaseCompleteMatchingPredicate(ctx context.Context, id commonids.SqlDatabaseId, predicate DatabaseAdvancedThreatProtectionOperationPredicate) (result ListByDatabaseCompleteResult, err error)
ListByDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DatabaseAdvancedThreatProtection }
type ListByDatabaseCompleteResult ¶
type ListByDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []DatabaseAdvancedThreatProtection }
type ListByDatabaseCustomPager ¶ added in v0.20240628.1153531
func (*ListByDatabaseCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByDatabaseCustomPager) NextPageLink() *odata.Link
type ListByDatabaseOperationResponse ¶
type ListByDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatabaseAdvancedThreatProtection }
Click to show internal directories.
Click to hide internal directories.