Documentation ¶
Index ¶
- func PossibleValuesForDirection() []string
- func PossibleValuesForTransportProtocol() []string
- func ValidateAdaptiveNetworkHardeningID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderID(input interface{}, key string) (warnings []string, errors []error)
- type AdaptiveNetworkHardening
- type AdaptiveNetworkHardeningEnforceRequest
- type AdaptiveNetworkHardeningId
- func NewAdaptiveNetworkHardeningID(subscriptionId string, resourceGroupName string, providerName string, ...) AdaptiveNetworkHardeningId
- func ParseAdaptiveNetworkHardeningID(input string) (*AdaptiveNetworkHardeningId, error)
- func ParseAdaptiveNetworkHardeningIDInsensitively(input string) (*AdaptiveNetworkHardeningId, error)
- type AdaptiveNetworkHardeningOperationPredicate
- type AdaptiveNetworkHardeningProperties
- type AdaptiveNetworkHardeningsClient
- func (c AdaptiveNetworkHardeningsClient) Enforce(ctx context.Context, id AdaptiveNetworkHardeningId, ...) (result EnforceOperationResponse, err error)
- func (c AdaptiveNetworkHardeningsClient) EnforceThenPoll(ctx context.Context, id AdaptiveNetworkHardeningId, ...) error
- func (c AdaptiveNetworkHardeningsClient) Get(ctx context.Context, id AdaptiveNetworkHardeningId) (result GetOperationResponse, err error)
- func (c AdaptiveNetworkHardeningsClient) ListByExtendedResource(ctx context.Context, id ProviderId) (resp ListByExtendedResourceOperationResponse, err error)
- func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete(ctx context.Context, id ProviderId) (ListByExtendedResourceCompleteResult, error)
- func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceCompleteMatchingPredicate(ctx context.Context, id ProviderId, ...) (resp ListByExtendedResourceCompleteResult, err error)
- type Direction
- type EffectiveNetworkSecurityGroups
- type EnforceOperationResponse
- type GetOperationResponse
- type ListByExtendedResourceCompleteResult
- type ListByExtendedResourceOperationResponse
- type ProviderId
- type Rule
- type TransportProtocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDirection ¶
func PossibleValuesForDirection() []string
func PossibleValuesForTransportProtocol ¶
func PossibleValuesForTransportProtocol() []string
func ValidateAdaptiveNetworkHardeningID ¶
func ValidateAdaptiveNetworkHardeningID(input interface{}, key string) (warnings []string, errors []error)
ValidateAdaptiveNetworkHardeningID checks that 'input' can be parsed as a Adaptive Network Hardening ID
func ValidateProviderID ¶
ValidateProviderID checks that 'input' can be parsed as a Provider 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 AdaptiveNetworkHardeningId ¶
type AdaptiveNetworkHardeningId struct { SubscriptionId string ResourceGroupName string ProviderName string ResourceType string ResourceName string AdaptiveNetworkHardeningName string }
AdaptiveNetworkHardeningId is a struct representing the Resource ID for a Adaptive Network Hardening
func NewAdaptiveNetworkHardeningID ¶
func NewAdaptiveNetworkHardeningID(subscriptionId string, resourceGroupName string, providerName string, resourceType string, resourceName string, adaptiveNetworkHardeningName string) AdaptiveNetworkHardeningId
NewAdaptiveNetworkHardeningID returns a new AdaptiveNetworkHardeningId struct
func ParseAdaptiveNetworkHardeningID ¶
func ParseAdaptiveNetworkHardeningID(input string) (*AdaptiveNetworkHardeningId, error)
ParseAdaptiveNetworkHardeningID parses 'input' into a AdaptiveNetworkHardeningId
func ParseAdaptiveNetworkHardeningIDInsensitively ¶
func ParseAdaptiveNetworkHardeningIDInsensitively(input string) (*AdaptiveNetworkHardeningId, error)
ParseAdaptiveNetworkHardeningIDInsensitively parses 'input' case-insensitively into a AdaptiveNetworkHardeningId note: this method should only be used for API response data and not user input
func (AdaptiveNetworkHardeningId) ID ¶
func (id AdaptiveNetworkHardeningId) ID() string
ID returns the formatted Adaptive Network Hardening ID
func (AdaptiveNetworkHardeningId) Segments ¶
func (id AdaptiveNetworkHardeningId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Adaptive Network Hardening ID
func (AdaptiveNetworkHardeningId) String ¶
func (id AdaptiveNetworkHardeningId) String() string
String returns a human-readable description of this Adaptive Network Hardening ID
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 AdaptiveNetworkHardeningId, input AdaptiveNetworkHardeningEnforceRequest) (result EnforceOperationResponse, err error)
Enforce ...
func (AdaptiveNetworkHardeningsClient) EnforceThenPoll ¶
func (c AdaptiveNetworkHardeningsClient) EnforceThenPoll(ctx context.Context, id AdaptiveNetworkHardeningId, input AdaptiveNetworkHardeningEnforceRequest) error
EnforceThenPoll performs Enforce then polls until it's completed
func (AdaptiveNetworkHardeningsClient) Get ¶
func (c AdaptiveNetworkHardeningsClient) Get(ctx context.Context, id AdaptiveNetworkHardeningId) (result GetOperationResponse, err error)
Get ...
func (AdaptiveNetworkHardeningsClient) ListByExtendedResource ¶
func (c AdaptiveNetworkHardeningsClient) ListByExtendedResource(ctx context.Context, id ProviderId) (resp ListByExtendedResourceOperationResponse, err error)
ListByExtendedResource ...
func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete ¶
func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceComplete(ctx context.Context, id ProviderId) (ListByExtendedResourceCompleteResult, error)
ListByExtendedResourceComplete retrieves all of the results into a single object
func (AdaptiveNetworkHardeningsClient) ListByExtendedResourceCompleteMatchingPredicate ¶
func (c AdaptiveNetworkHardeningsClient) ListByExtendedResourceCompleteMatchingPredicate(ctx context.Context, id ProviderId, 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 ProviderId ¶
type ProviderId struct { SubscriptionId string ResourceGroupName string ProviderName string ResourceType string ResourceName string }
ProviderId is a struct representing the Resource ID for a Provider
func NewProviderID ¶
func NewProviderID(subscriptionId string, resourceGroupName string, providerName string, resourceType string, resourceName string) ProviderId
NewProviderID returns a new ProviderId struct
func ParseProviderID ¶
func ParseProviderID(input string) (*ProviderId, error)
ParseProviderID parses 'input' into a ProviderId
func ParseProviderIDInsensitively ¶
func ParseProviderIDInsensitively(input string) (*ProviderId, error)
ParseProviderIDInsensitively parses 'input' case-insensitively into a ProviderId note: this method should only be used for API response data and not user input
func (ProviderId) Segments ¶
func (id ProviderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider ID
func (ProviderId) String ¶
func (id ProviderId) String() string
String returns a human-readable description of this Provider ID
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 TransportProtocol ¶
type TransportProtocol string
const ( TransportProtocolTCP TransportProtocol = "TCP" TransportProtocolUDP TransportProtocol = "UDP" )
Source Files ¶
- client.go
- constants.go
- id_adaptivenetworkhardening.go
- id_provider.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