Documentation ¶
Index ¶
- func PossibleValuesForAdvancedThreatProtectionProvisioningState() []string
- func PossibleValuesForAdvancedThreatProtectionState() []string
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- type AdvancedThreatProtection
- type AdvancedThreatProtectionForUpdate
- type AdvancedThreatProtectionOperationPredicate
- type AdvancedThreatProtectionProperties
- type AdvancedThreatProtectionProvisioningState
- type AdvancedThreatProtectionSettingsClient
- func (c AdvancedThreatProtectionSettingsClient) Get(ctx context.Context, id FlexibleServerId) (result GetOperationResponse, err error)
- func (c AdvancedThreatProtectionSettingsClient) List(ctx context.Context, id FlexibleServerId) (result ListOperationResponse, err error)
- func (c AdvancedThreatProtectionSettingsClient) ListComplete(ctx context.Context, id FlexibleServerId) (ListCompleteResult, error)
- func (c AdvancedThreatProtectionSettingsClient) ListCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, ...) (result ListCompleteResult, err error)
- func (c AdvancedThreatProtectionSettingsClient) Update(ctx context.Context, id FlexibleServerId, ...) (result UpdateOperationResponse, err error)
- func (c AdvancedThreatProtectionSettingsClient) UpdatePut(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtection) (result UpdatePutOperationResponse, err error)
- func (c AdvancedThreatProtectionSettingsClient) UpdatePutThenPoll(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtection) error
- func (c AdvancedThreatProtectionSettingsClient) UpdateThenPoll(ctx context.Context, id FlexibleServerId, ...) error
- type AdvancedThreatProtectionState
- type AdvancedThreatProtectionUpdateProperties
- type FlexibleServerId
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type UpdateOperationResponse
- type UpdatePutOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAdvancedThreatProtectionProvisioningState ¶
func PossibleValuesForAdvancedThreatProtectionProvisioningState() []string
func PossibleValuesForAdvancedThreatProtectionState ¶
func PossibleValuesForAdvancedThreatProtectionState() []string
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
Types ¶
type AdvancedThreatProtection ¶
type AdvancedThreatProtection 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 AdvancedThreatProtectionForUpdate ¶
type AdvancedThreatProtectionForUpdate struct {
Properties *AdvancedThreatProtectionUpdateProperties `json:"properties,omitempty"`
}
type AdvancedThreatProtectionOperationPredicate ¶
func (AdvancedThreatProtectionOperationPredicate) Matches ¶
func (p AdvancedThreatProtectionOperationPredicate) Matches(input AdvancedThreatProtection) bool
type AdvancedThreatProtectionProperties ¶
type AdvancedThreatProtectionProperties struct { CreationTime *string `json:"creationTime,omitempty"` ProvisioningState *AdvancedThreatProtectionProvisioningState `json:"provisioningState,omitempty"` State *AdvancedThreatProtectionState `json:"state,omitempty"` }
func (*AdvancedThreatProtectionProperties) GetCreationTimeAsTime ¶
func (o *AdvancedThreatProtectionProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*AdvancedThreatProtectionProperties) SetCreationTimeAsTime ¶
func (o *AdvancedThreatProtectionProperties) SetCreationTimeAsTime(input time.Time)
type AdvancedThreatProtectionProvisioningState ¶
type AdvancedThreatProtectionProvisioningState string
const ( AdvancedThreatProtectionProvisioningStateCanceled AdvancedThreatProtectionProvisioningState = "Canceled" AdvancedThreatProtectionProvisioningStateFailed AdvancedThreatProtectionProvisioningState = "Failed" AdvancedThreatProtectionProvisioningStateSucceeded AdvancedThreatProtectionProvisioningState = "Succeeded" AdvancedThreatProtectionProvisioningStateUpdating AdvancedThreatProtectionProvisioningState = "Updating" )
func (*AdvancedThreatProtectionProvisioningState) UnmarshalJSON ¶
func (s *AdvancedThreatProtectionProvisioningState) UnmarshalJSON(bytes []byte) error
type AdvancedThreatProtectionSettingsClient ¶
type AdvancedThreatProtectionSettingsClient struct {
Client *resourcemanager.Client
}
func NewAdvancedThreatProtectionSettingsClientWithBaseURI ¶
func NewAdvancedThreatProtectionSettingsClientWithBaseURI(sdkApi sdkEnv.Api) (*AdvancedThreatProtectionSettingsClient, error)
func (AdvancedThreatProtectionSettingsClient) Get ¶
func (c AdvancedThreatProtectionSettingsClient) Get(ctx context.Context, id FlexibleServerId) (result GetOperationResponse, err error)
Get ...
func (AdvancedThreatProtectionSettingsClient) List ¶
func (c AdvancedThreatProtectionSettingsClient) List(ctx context.Context, id FlexibleServerId) (result ListOperationResponse, err error)
List ...
func (AdvancedThreatProtectionSettingsClient) ListComplete ¶
func (c AdvancedThreatProtectionSettingsClient) ListComplete(ctx context.Context, id FlexibleServerId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AdvancedThreatProtectionSettingsClient) ListCompleteMatchingPredicate ¶
func (c AdvancedThreatProtectionSettingsClient) ListCompleteMatchingPredicate(ctx context.Context, id FlexibleServerId, predicate AdvancedThreatProtectionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AdvancedThreatProtectionSettingsClient) Update ¶
func (c AdvancedThreatProtectionSettingsClient) Update(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtectionForUpdate) (result UpdateOperationResponse, err error)
Update ...
func (AdvancedThreatProtectionSettingsClient) UpdatePut ¶
func (c AdvancedThreatProtectionSettingsClient) UpdatePut(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtection) (result UpdatePutOperationResponse, err error)
UpdatePut ...
func (AdvancedThreatProtectionSettingsClient) UpdatePutThenPoll ¶
func (c AdvancedThreatProtectionSettingsClient) UpdatePutThenPoll(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtection) error
UpdatePutThenPoll performs UpdatePut then polls until it's completed
func (AdvancedThreatProtectionSettingsClient) UpdateThenPoll ¶
func (c AdvancedThreatProtectionSettingsClient) UpdateThenPoll(ctx context.Context, id FlexibleServerId, input AdvancedThreatProtectionForUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type AdvancedThreatProtectionState ¶
type AdvancedThreatProtectionState string
const ( AdvancedThreatProtectionStateDisabled AdvancedThreatProtectionState = "Disabled" AdvancedThreatProtectionStateEnabled AdvancedThreatProtectionState = "Enabled" )
func (*AdvancedThreatProtectionState) UnmarshalJSON ¶
func (s *AdvancedThreatProtectionState) UnmarshalJSON(bytes []byte) error
type AdvancedThreatProtectionUpdateProperties ¶
type AdvancedThreatProtectionUpdateProperties struct {
State AdvancedThreatProtectionState `json:"state"`
}
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 ¶
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AdvancedThreatProtection }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []AdvancedThreatProtection }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AdvancedThreatProtection }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_flexibleserver.go
- method_get.go
- method_list.go
- method_update.go
- method_updateput.go
- model_advancedthreatprotection.go
- model_advancedthreatprotectionforupdate.go
- model_advancedthreatprotectionproperties.go
- model_advancedthreatprotectionupdateproperties.go
- predicates.go
- version.go