Documentation ¶
Index ¶
- func PossibleValuesForDirection() []string
- func PossibleValuesForTransportProtocol() []string
- func ValidateScopedAdaptiveNetworkHardeningID(input interface{}, key string) (warnings []string, errors []error)
- type AdaptiveNetworkHardening
- type AdaptiveNetworkHardeningEnforceRequest
- type AdaptiveNetworkHardeningOperationPredicate
- type AdaptiveNetworkHardeningProperties
- type AdaptiveNetworkHardeningsClient
- func (c AdaptiveNetworkHardeningsClient) Enforce(ctx context.Context, id ScopedAdaptiveNetworkHardeningId, ...) (result EnforceOperationResponse, err error)
- func (c AdaptiveNetworkHardeningsClient) EnforceThenPoll(ctx context.Context, id ScopedAdaptiveNetworkHardeningId, ...) error
- func (c AdaptiveNetworkHardeningsClient) Get(ctx context.Context, id ScopedAdaptiveNetworkHardeningId) (result GetOperationResponse, err error)
- func (c AdaptiveNetworkHardeningsClient) ListByExtendedResource(ctx context.Context, id commonids.ScopeId) (resp ListByExtendedResourceOperationResponse, err error)
- func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete(ctx context.Context, id commonids.ScopeId) (ListByExtendedResourceCompleteResult, error)
- func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (resp ListByExtendedResourceCompleteResult, err error)
- type Direction
- type EffectiveNetworkSecurityGroups
- type EnforceOperationResponse
- type GetOperationResponse
- type ListByExtendedResourceCompleteResult
- type ListByExtendedResourceOperationResponse
- type Rule
- type ScopedAdaptiveNetworkHardeningId
- func NewScopedAdaptiveNetworkHardeningID(scope string, adaptiveNetworkHardeningName string) ScopedAdaptiveNetworkHardeningId
- func ParseScopedAdaptiveNetworkHardeningID(input string) (*ScopedAdaptiveNetworkHardeningId, error)
- func ParseScopedAdaptiveNetworkHardeningIDInsensitively(input string) (*ScopedAdaptiveNetworkHardeningId, error)
- type TransportProtocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDirection ¶
func PossibleValuesForDirection() []string
func PossibleValuesForTransportProtocol ¶
func PossibleValuesForTransportProtocol() []string
func ValidateScopedAdaptiveNetworkHardeningID ¶
func ValidateScopedAdaptiveNetworkHardeningID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedAdaptiveNetworkHardeningID checks that 'input' can be parsed as a Scoped Adaptive Network Hardening ID
Types ¶
type AdaptiveNetworkHardening ¶
type AdaptiveNetworkHardening struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AdaptiveNetworkHardeningProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AdaptiveNetworkHardeningOperationPredicate ¶
func (AdaptiveNetworkHardeningOperationPredicate) Matches ¶
func (p AdaptiveNetworkHardeningOperationPredicate) Matches(input AdaptiveNetworkHardening) bool
type AdaptiveNetworkHardeningProperties ¶
type AdaptiveNetworkHardeningProperties struct { EffectiveNetworkSecurityGroups *[]EffectiveNetworkSecurityGroups `json:"effectiveNetworkSecurityGroups,omitempty"` Rules *[]Rule `json:"rules,omitempty"` RulesCalculationTime *string `json:"rulesCalculationTime,omitempty"` }
func (*AdaptiveNetworkHardeningProperties) GetRulesCalculationTimeAsTime ¶
func (o *AdaptiveNetworkHardeningProperties) GetRulesCalculationTimeAsTime() (*time.Time, error)
func (*AdaptiveNetworkHardeningProperties) SetRulesCalculationTimeAsTime ¶
func (o *AdaptiveNetworkHardeningProperties) SetRulesCalculationTimeAsTime(input time.Time)
type AdaptiveNetworkHardeningsClient ¶
type AdaptiveNetworkHardeningsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAdaptiveNetworkHardeningsClientWithBaseURI ¶
func NewAdaptiveNetworkHardeningsClientWithBaseURI(endpoint string) AdaptiveNetworkHardeningsClient
func (AdaptiveNetworkHardeningsClient) Enforce ¶
func (c AdaptiveNetworkHardeningsClient) Enforce(ctx context.Context, id ScopedAdaptiveNetworkHardeningId, input AdaptiveNetworkHardeningEnforceRequest) (result EnforceOperationResponse, err error)
Enforce ...
func (AdaptiveNetworkHardeningsClient) EnforceThenPoll ¶
func (c AdaptiveNetworkHardeningsClient) EnforceThenPoll(ctx context.Context, id ScopedAdaptiveNetworkHardeningId, input AdaptiveNetworkHardeningEnforceRequest) error
EnforceThenPoll performs Enforce then polls until it's completed
func (AdaptiveNetworkHardeningsClient) Get ¶
func (c AdaptiveNetworkHardeningsClient) Get(ctx context.Context, id ScopedAdaptiveNetworkHardeningId) (result GetOperationResponse, err error)
Get ...
func (AdaptiveNetworkHardeningsClient) ListByExtendedResource ¶
func (c AdaptiveNetworkHardeningsClient) ListByExtendedResource(ctx context.Context, id commonids.ScopeId) (resp ListByExtendedResourceOperationResponse, err error)
ListByExtendedResource ...
func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete ¶
func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete(ctx context.Context, id commonids.ScopeId) (ListByExtendedResourceCompleteResult, error)
ListByExtendedResourceComplete retrieves all of the results into a single object
func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceCompleteMatchingPredicate ¶
func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate AdaptiveNetworkHardeningOperationPredicate) (resp ListByExtendedResourceCompleteResult, err error)
ListByExtendedResourceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type EnforceOperationResponse ¶
type EnforceOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *AdaptiveNetworkHardening }
type ListByExtendedResourceCompleteResult ¶
type ListByExtendedResourceCompleteResult struct {
Items []AdaptiveNetworkHardening
}
type ListByExtendedResourceOperationResponse ¶
type ListByExtendedResourceOperationResponse struct { HttpResponse *http.Response Model *[]AdaptiveNetworkHardening // contains filtered or unexported fields }
func (ListByExtendedResourceOperationResponse) HasMore ¶
func (r ListByExtendedResourceOperationResponse) HasMore() bool
func (ListByExtendedResourceOperationResponse) LoadMore ¶
func (r ListByExtendedResourceOperationResponse) LoadMore(ctx context.Context) (resp ListByExtendedResourceOperationResponse, err error)
type Rule ¶
type Rule struct { DestinationPort *int64 `json:"destinationPort,omitempty"` Direction *Direction `json:"direction,omitempty"` IPAddresses *[]string `json:"ipAddresses,omitempty"` Name *string `json:"name,omitempty"` Protocols *[]TransportProtocol `json:"protocols,omitempty"` }
type ScopedAdaptiveNetworkHardeningId ¶
ScopedAdaptiveNetworkHardeningId is a struct representing the Resource ID for a Scoped Adaptive Network Hardening
func NewScopedAdaptiveNetworkHardeningID ¶
func NewScopedAdaptiveNetworkHardeningID(scope string, adaptiveNetworkHardeningName string) ScopedAdaptiveNetworkHardeningId
NewScopedAdaptiveNetworkHardeningID returns a new ScopedAdaptiveNetworkHardeningId struct
func ParseScopedAdaptiveNetworkHardeningID ¶
func ParseScopedAdaptiveNetworkHardeningID(input string) (*ScopedAdaptiveNetworkHardeningId, error)
ParseScopedAdaptiveNetworkHardeningID parses 'input' into a ScopedAdaptiveNetworkHardeningId
func ParseScopedAdaptiveNetworkHardeningIDInsensitively ¶
func ParseScopedAdaptiveNetworkHardeningIDInsensitively(input string) (*ScopedAdaptiveNetworkHardeningId, error)
ParseScopedAdaptiveNetworkHardeningIDInsensitively parses 'input' case-insensitively into a ScopedAdaptiveNetworkHardeningId note: this method should only be used for API response data and not user input
func (*ScopedAdaptiveNetworkHardeningId) FromParseResult ¶
func (id *ScopedAdaptiveNetworkHardeningId) FromParseResult(input resourceids.ParseResult) error
func (ScopedAdaptiveNetworkHardeningId) ID ¶
func (id ScopedAdaptiveNetworkHardeningId) ID() string
ID returns the formatted Scoped Adaptive Network Hardening ID
func (ScopedAdaptiveNetworkHardeningId) Segments ¶
func (id ScopedAdaptiveNetworkHardeningId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Adaptive Network Hardening ID
func (ScopedAdaptiveNetworkHardeningId) String ¶
func (id ScopedAdaptiveNetworkHardeningId) String() string
String returns a human-readable description of this Scoped Adaptive Network Hardening ID
type TransportProtocol ¶
type TransportProtocol string
const ( TransportProtocolTCP TransportProtocol = "TCP" TransportProtocolUDP TransportProtocol = "UDP" )
Source Files ¶
- client.go
- constants.go
- id_scopedadaptivenetworkhardening.go
- method_enforce_autorest.go
- method_get_autorest.go
- method_listbyextendedresource_autorest.go
- model_adaptivenetworkhardening.go
- model_adaptivenetworkhardeningenforcerequest.go
- model_adaptivenetworkhardeningproperties.go
- model_effectivenetworksecuritygroups.go
- model_rule.go
- predicates.go
- version.go