Documentation ¶
Index ¶
- func PossibleValuesForThreatProtectionState() []string
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- type AdvancedThreatProtectionSettingsClient
- func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsCreateOrUpdate(ctx context.Context, id FlexibleServerId, ...) (result ServerThreatProtectionSettingsCreateOrUpdateOperationResponse, ...)
- func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsCreateOrUpdateThenPoll(ctx context.Context, id FlexibleServerId, ...) error
- func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsGet(ctx context.Context, id FlexibleServerId) (result ServerThreatProtectionSettingsGetOperationResponse, err error)
- func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServer(ctx context.Context, id FlexibleServerId) (result ServerThreatProtectionSettingsListByServerOperationResponse, err error)
- func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServerComplete(ctx context.Context, id FlexibleServerId) (ServerThreatProtectionSettingsListByServerCompleteResult, error)
- func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, ...) (result ServerThreatProtectionSettingsListByServerCompleteResult, err error)
- type FlexibleServerId
- type ServerThreatProtectionProperties
- type ServerThreatProtectionSettingsCreateOrUpdateOperationResponse
- type ServerThreatProtectionSettingsGetOperationResponse
- type ServerThreatProtectionSettingsListByServerCompleteResult
- type ServerThreatProtectionSettingsListByServerOperationResponse
- type ServerThreatProtectionSettingsModel
- type ServerThreatProtectionSettingsModelOperationPredicate
- type ThreatProtectionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForThreatProtectionState ¶
func PossibleValuesForThreatProtectionState() []string
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
Types ¶
type AdvancedThreatProtectionSettingsClient ¶
type AdvancedThreatProtectionSettingsClient struct {
Client *resourcemanager.Client
}
func NewAdvancedThreatProtectionSettingsClientWithBaseURI ¶
func NewAdvancedThreatProtectionSettingsClientWithBaseURI(sdkApi sdkEnv.Api) (*AdvancedThreatProtectionSettingsClient, error)
func (AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsCreateOrUpdate ¶
func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsCreateOrUpdate(ctx context.Context, id FlexibleServerId, input ServerThreatProtectionSettingsModel) (result ServerThreatProtectionSettingsCreateOrUpdateOperationResponse, err error)
ServerThreatProtectionSettingsCreateOrUpdate ...
func (AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsCreateOrUpdateThenPoll ¶
func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsCreateOrUpdateThenPoll(ctx context.Context, id FlexibleServerId, input ServerThreatProtectionSettingsModel) error
ServerThreatProtectionSettingsCreateOrUpdateThenPoll performs ServerThreatProtectionSettingsCreateOrUpdate then polls until it's completed
func (AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsGet ¶
func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsGet(ctx context.Context, id FlexibleServerId) (result ServerThreatProtectionSettingsGetOperationResponse, err error)
ServerThreatProtectionSettingsGet ...
func (AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServer ¶
func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServer(ctx context.Context, id FlexibleServerId) (result ServerThreatProtectionSettingsListByServerOperationResponse, err error)
ServerThreatProtectionSettingsListByServer ...
func (AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServerComplete ¶
func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServerComplete(ctx context.Context, id FlexibleServerId) (ServerThreatProtectionSettingsListByServerCompleteResult, error)
ServerThreatProtectionSettingsListByServerComplete retrieves all the results into a single object
func (AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServerCompleteMatchingPredicate ¶
func (c AdvancedThreatProtectionSettingsClient) ServerThreatProtectionSettingsListByServerCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate ServerThreatProtectionSettingsModelOperationPredicate) (result ServerThreatProtectionSettingsListByServerCompleteResult, err error)
ServerThreatProtectionSettingsListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
type FlexibleServerId ¶
type FlexibleServerId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string }
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId
NewFlexibleServerID returns a new FlexibleServerId struct
func ParseFlexibleServerID ¶
func ParseFlexibleServerID(input string) (*FlexibleServerId, error)
ParseFlexibleServerID parses 'input' into a FlexibleServerId
func ParseFlexibleServerIDInsensitively ¶
func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error)
ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId note: this method should only be used for API response data and not user input
func (*FlexibleServerId) FromParseResult ¶ added in v0.20231127.1171502
func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error
func (FlexibleServerId) ID ¶
func (id FlexibleServerId) ID() string
ID returns the formatted Flexible Server ID
func (FlexibleServerId) Segments ¶
func (id FlexibleServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID
func (FlexibleServerId) String ¶
func (id FlexibleServerId) String() string
String returns a human-readable description of this Flexible Server ID
type ServerThreatProtectionProperties ¶
type ServerThreatProtectionProperties struct { CreationTime *string `json:"creationTime,omitempty"` State ThreatProtectionState `json:"state"` }
func (*ServerThreatProtectionProperties) GetCreationTimeAsTime ¶
func (o *ServerThreatProtectionProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ServerThreatProtectionProperties) SetCreationTimeAsTime ¶
func (o *ServerThreatProtectionProperties) SetCreationTimeAsTime(input time.Time)
type ServerThreatProtectionSettingsGetOperationResponse ¶
type ServerThreatProtectionSettingsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServerThreatProtectionSettingsModel }
type ServerThreatProtectionSettingsListByServerCompleteResult ¶
type ServerThreatProtectionSettingsListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []ServerThreatProtectionSettingsModel }
type ServerThreatProtectionSettingsListByServerOperationResponse ¶
type ServerThreatProtectionSettingsListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ServerThreatProtectionSettingsModel }
type ServerThreatProtectionSettingsModel ¶
type ServerThreatProtectionSettingsModel struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerThreatProtectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ServerThreatProtectionSettingsModelOperationPredicate ¶
type ServerThreatProtectionSettingsModelOperationPredicate struct { Id *string Name *string Type *string }
func (ServerThreatProtectionSettingsModelOperationPredicate) Matches ¶
func (p ServerThreatProtectionSettingsModelOperationPredicate) Matches(input ServerThreatProtectionSettingsModel) bool
type ThreatProtectionState ¶
type ThreatProtectionState string
const ( ThreatProtectionStateDisabled ThreatProtectionState = "Disabled" ThreatProtectionStateEnabled ThreatProtectionState = "Enabled" )
func (*ThreatProtectionState) UnmarshalJSON ¶
func (s *ThreatProtectionState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_flexibleserver.go
- method_serverthreatprotectionsettingscreateorupdate.go
- method_serverthreatprotectionsettingsget.go
- method_serverthreatprotectionsettingslistbyserver.go
- model_serverthreatprotectionproperties.go
- model_serverthreatprotectionsettingsmodel.go
- predicates.go
- version.go