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) (result 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, ...) (result ListByExtendedResourceCompleteResult, err error)
- type Direction
- type EffectiveNetworkSecurityGroups
- type EnforceOperationResponse
- type GetOperationResponse
- type ListByExtendedResourceCompleteResult
- type ListByExtendedResourceCustomPager
- 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 *resourcemanager.Client
}
func NewAdaptiveNetworkHardeningsClientWithBaseURI ¶
func NewAdaptiveNetworkHardeningsClientWithBaseURI(sdkApi sdkEnv.Api) (*AdaptiveNetworkHardeningsClient, error)
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) (result ListByExtendedResourceOperationResponse, err error)
ListByExtendedResource ...
func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete ¶
func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete(ctx context.Context, id commonids.ScopeId) (ListByExtendedResourceCompleteResult, error)
ListByExtendedResourceComplete retrieves all the results into a single object
func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceCompleteMatchingPredicate ¶
func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate AdaptiveNetworkHardeningOperationPredicate) (result ListByExtendedResourceCompleteResult, err error)
ListByExtendedResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type Direction ¶
type Direction string
func (*Direction) UnmarshalJSON ¶ added in v0.20240228.1142829
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AdaptiveNetworkHardening }
type ListByExtendedResourceCompleteResult ¶
type ListByExtendedResourceCompleteResult struct { LatestHttpResponse *http.Response Items []AdaptiveNetworkHardening }
type ListByExtendedResourceCustomPager ¶ added in v0.20240628.1153531
func (*ListByExtendedResourceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByExtendedResourceCustomPager) NextPageLink() *odata.Link
type ListByExtendedResourceOperationResponse ¶
type ListByExtendedResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AdaptiveNetworkHardening }
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" )
func (*TransportProtocol) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_scopedadaptivenetworkhardening.go
- method_enforce.go
- method_get.go
- method_listbyextendedresource.go
- model_adaptivenetworkhardening.go
- model_adaptivenetworkhardeningenforcerequest.go
- model_adaptivenetworkhardeningproperties.go
- model_effectivenetworksecuritygroups.go
- model_rule.go
- predicates.go
- version.go