Documentation ¶
Index ¶
- func PossibleValuesForValueType() []string
- func ValidateScopedDeviceSecurityGroupID(input interface{}, key string) (warnings []string, errors []error)
- type AllowlistCustomAlertRule
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DenylistCustomAlertRule
- type DeviceSecurityGroup
- type DeviceSecurityGroupOperationPredicate
- type DeviceSecurityGroupProperties
- type DeviceSecurityGroupsClient
- func (c DeviceSecurityGroupsClient) CreateOrUpdate(ctx context.Context, id ScopedDeviceSecurityGroupId, input DeviceSecurityGroup) (result CreateOrUpdateOperationResponse, err error)
- func (c DeviceSecurityGroupsClient) Delete(ctx context.Context, id ScopedDeviceSecurityGroupId) (result DeleteOperationResponse, err error)
- func (c DeviceSecurityGroupsClient) Get(ctx context.Context, id ScopedDeviceSecurityGroupId) (result GetOperationResponse, err error)
- func (c DeviceSecurityGroupsClient) List(ctx context.Context, id commonids.ScopeId) (resp ListOperationResponse, err error)
- func (c DeviceSecurityGroupsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c DeviceSecurityGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (resp ListCompleteResult, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ScopedDeviceSecurityGroupId
- func NewScopedDeviceSecurityGroupID(resourceId string, deviceSecurityGroupName string) ScopedDeviceSecurityGroupId
- func ParseScopedDeviceSecurityGroupID(input string) (*ScopedDeviceSecurityGroupId, error)
- func ParseScopedDeviceSecurityGroupIDInsensitively(input string) (*ScopedDeviceSecurityGroupId, error)
- type ThresholdCustomAlertRule
- type TimeWindowCustomAlertRule
- type ValueType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForValueType ¶
func PossibleValuesForValueType() []string
func ValidateScopedDeviceSecurityGroupID ¶
func ValidateScopedDeviceSecurityGroupID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedDeviceSecurityGroupID checks that 'input' can be parsed as a Scoped Device Security Group ID
Types ¶
type AllowlistCustomAlertRule ¶
type AllowlistCustomAlertRule struct { AllowlistValues []string `json:"allowlistValues"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` RuleType *string `json:"ruleType,omitempty"` ValueType *ValueType `json:"valueType,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *DeviceSecurityGroup }
type DeleteOperationResponse ¶
type DenylistCustomAlertRule ¶
type DenylistCustomAlertRule struct { DenylistValues []string `json:"denylistValues"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` RuleType *string `json:"ruleType,omitempty"` ValueType *ValueType `json:"valueType,omitempty"` }
type DeviceSecurityGroup ¶
type DeviceSecurityGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeviceSecurityGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DeviceSecurityGroupOperationPredicate ¶
func (DeviceSecurityGroupOperationPredicate) Matches ¶
func (p DeviceSecurityGroupOperationPredicate) Matches(input DeviceSecurityGroup) bool
type DeviceSecurityGroupProperties ¶
type DeviceSecurityGroupProperties struct { AllowlistRules *[]AllowlistCustomAlertRule `json:"allowlistRules,omitempty"` DenylistRules *[]DenylistCustomAlertRule `json:"denylistRules,omitempty"` ThresholdRules *[]ThresholdCustomAlertRule `json:"thresholdRules,omitempty"` TimeWindowRules *[]TimeWindowCustomAlertRule `json:"timeWindowRules,omitempty"` }
type DeviceSecurityGroupsClient ¶
type DeviceSecurityGroupsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDeviceSecurityGroupsClientWithBaseURI ¶
func NewDeviceSecurityGroupsClientWithBaseURI(endpoint string) DeviceSecurityGroupsClient
func (DeviceSecurityGroupsClient) CreateOrUpdate ¶
func (c DeviceSecurityGroupsClient) CreateOrUpdate(ctx context.Context, id ScopedDeviceSecurityGroupId, input DeviceSecurityGroup) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DeviceSecurityGroupsClient) Delete ¶
func (c DeviceSecurityGroupsClient) Delete(ctx context.Context, id ScopedDeviceSecurityGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (DeviceSecurityGroupsClient) Get ¶
func (c DeviceSecurityGroupsClient) Get(ctx context.Context, id ScopedDeviceSecurityGroupId) (result GetOperationResponse, err error)
Get ...
func (DeviceSecurityGroupsClient) List ¶
func (c DeviceSecurityGroupsClient) List(ctx context.Context, id commonids.ScopeId) (resp ListOperationResponse, err error)
List ...
func (DeviceSecurityGroupsClient) ListComplete ¶
func (c DeviceSecurityGroupsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (DeviceSecurityGroupsClient) ListCompleteMatchingPredicate ¶
func (c DeviceSecurityGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate DeviceSecurityGroupOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *DeviceSecurityGroup }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DeviceSecurityGroup
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]DeviceSecurityGroup // 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 ScopedDeviceSecurityGroupId ¶
ScopedDeviceSecurityGroupId is a struct representing the Resource ID for a Scoped Device Security Group
func NewScopedDeviceSecurityGroupID ¶
func NewScopedDeviceSecurityGroupID(resourceId string, deviceSecurityGroupName string) ScopedDeviceSecurityGroupId
NewScopedDeviceSecurityGroupID returns a new ScopedDeviceSecurityGroupId struct
func ParseScopedDeviceSecurityGroupID ¶
func ParseScopedDeviceSecurityGroupID(input string) (*ScopedDeviceSecurityGroupId, error)
ParseScopedDeviceSecurityGroupID parses 'input' into a ScopedDeviceSecurityGroupId
func ParseScopedDeviceSecurityGroupIDInsensitively ¶
func ParseScopedDeviceSecurityGroupIDInsensitively(input string) (*ScopedDeviceSecurityGroupId, error)
ParseScopedDeviceSecurityGroupIDInsensitively parses 'input' case-insensitively into a ScopedDeviceSecurityGroupId note: this method should only be used for API response data and not user input
func (*ScopedDeviceSecurityGroupId) FromParseResult ¶
func (id *ScopedDeviceSecurityGroupId) FromParseResult(input resourceids.ParseResult) error
func (ScopedDeviceSecurityGroupId) ID ¶
func (id ScopedDeviceSecurityGroupId) ID() string
ID returns the formatted Scoped Device Security Group ID
func (ScopedDeviceSecurityGroupId) Segments ¶
func (id ScopedDeviceSecurityGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Device Security Group ID
func (ScopedDeviceSecurityGroupId) String ¶
func (id ScopedDeviceSecurityGroupId) String() string
String returns a human-readable description of this Scoped Device Security Group ID
type TimeWindowCustomAlertRule ¶
type TimeWindowCustomAlertRule struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsEnabled *bool `json:"isEnabled,omitempty"` MaxThreshold int64 `json:"maxThreshold"` MinThreshold int64 `json:"minThreshold"` RuleType *string `json:"ruleType,omitempty"` TimeWindowSize string `json:"timeWindowSize"` }
Source Files ¶
- client.go
- constants.go
- id_scopeddevicesecuritygroup.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_allowlistcustomalertrule.go
- model_denylistcustomalertrule.go
- model_devicesecuritygroup.go
- model_devicesecuritygroupproperties.go
- model_thresholdcustomalertrule.go
- model_timewindowcustomalertrule.go
- predicates.go
- version.go