Documentation ¶
Index ¶
- func PossibleValuesForSettingKind() []string
- func PossibleValuesForSettingName() []string
- func ValidateSettingID(input interface{}, key string) (warnings []string, errors []error)
- type AlertSyncSettingProperties
- type AlertSyncSettings
- type DataExportSettingProperties
- type DataExportSettings
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type Setting
- type SettingId
- type SettingKind
- type SettingName
- type SettingOperationPredicate
- type SettingsClient
- func (c SettingsClient) Get(ctx context.Context, id SettingId) (result GetOperationResponse, err error)
- func (c SettingsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c SettingsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c SettingsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c SettingsClient) Update(ctx context.Context, id SettingId, input Setting) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForSettingKind ¶
func PossibleValuesForSettingKind() []string
func PossibleValuesForSettingName ¶
func PossibleValuesForSettingName() []string
func ValidateSettingID ¶
ValidateSettingID checks that 'input' can be parsed as a Setting ID
Types ¶
type AlertSyncSettingProperties ¶
type AlertSyncSettingProperties struct {
Enabled bool `json:"enabled"`
}
type AlertSyncSettings ¶
type AlertSyncSettings struct { Properties *AlertSyncSettingProperties `json:"properties,omitempty"` // Fields inherited from Setting Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (AlertSyncSettings) MarshalJSON ¶
func (s AlertSyncSettings) MarshalJSON() ([]byte, error)
type DataExportSettingProperties ¶
type DataExportSettingProperties struct {
Enabled bool `json:"enabled"`
}
type DataExportSettings ¶
type DataExportSettings struct { Properties *DataExportSettingProperties `json:"properties,omitempty"` // Fields inherited from Setting Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (DataExportSettings) MarshalJSON ¶
func (s DataExportSettings) MarshalJSON() ([]byte, error)
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Setting
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Setting // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type SettingId ¶
type SettingId struct { SubscriptionId string SettingName SettingName }
SettingId is a struct representing the Resource ID for a Setting
func NewSettingID ¶
func NewSettingID(subscriptionId string, settingName SettingName) SettingId
NewSettingID returns a new SettingId struct
func ParseSettingID ¶
ParseSettingID parses 'input' into a SettingId
func ParseSettingIDInsensitively ¶
ParseSettingIDInsensitively parses 'input' case-insensitively into a SettingId note: this method should only be used for API response data and not user input
func (SettingId) Segments ¶
func (id SettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Setting ID
type SettingKind ¶
type SettingKind string
const ( SettingKindAlertSuppressionSetting SettingKind = "AlertSuppressionSetting" SettingKindAlertSyncSettings SettingKind = "AlertSyncSettings" SettingKindDataExportSettings SettingKind = "DataExportSettings" )
type SettingName ¶
type SettingName string
const ( SettingNameMCAS SettingName = "MCAS" SettingNameSentinel SettingName = "Sentinel" SettingNameWDATP SettingName = "WDATP" SettingNameWDATPEXCLUDELINUXPUBLICPREVIEW SettingName = "WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW" SettingNameWDATPUNIFIEDSOLUTION SettingName = "WDATP_UNIFIED_SOLUTION" )
type SettingOperationPredicate ¶
type SettingOperationPredicate struct { }
func (SettingOperationPredicate) Matches ¶
func (p SettingOperationPredicate) Matches(input Setting) bool
type SettingsClient ¶
func NewSettingsClientWithBaseURI ¶
func NewSettingsClientWithBaseURI(endpoint string) SettingsClient
func (SettingsClient) Get ¶
func (c SettingsClient) Get(ctx context.Context, id SettingId) (result GetOperationResponse, err error)
Get ...
func (SettingsClient) List ¶
func (c SettingsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (SettingsClient) ListComplete ¶
func (c SettingsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (SettingsClient) ListCompleteMatchingPredicate ¶
func (c SettingsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SettingOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SettingsClient) Update ¶
func (c SettingsClient) Update(ctx context.Context, id SettingId, input Setting) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.