Documentation ¶
Index ¶
- func PossibleValuesForAddressPrefixType() []string
- func PossibleValuesForAdminRuleKind() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSecurityConfigurationRuleAccess() []string
- func PossibleValuesForSecurityConfigurationRuleDirection() []string
- func PossibleValuesForSecurityConfigurationRuleProtocol() []string
- func ValidateSecurityAdminConfigurationRuleCollectionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSecurityAdminConfigurationRuleCollectionRuleID(input interface{}, key string) (warnings []string, errors []error)
- type AddressPrefixItem
- type AddressPrefixType
- type AdminPropertiesFormat
- type AdminRule
- type AdminRuleKind
- type AdminRulesClient
- func (c AdminRulesClient) CreateOrUpdate(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c AdminRulesClient) Delete(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, ...) (result DeleteOperationResponse, err error)
- func (c AdminRulesClient) DeleteThenPoll(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, ...) error
- func (c AdminRulesClient) Get(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId) (result GetOperationResponse, err error)
- func (c AdminRulesClient) List(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId) (result ListOperationResponse, err error)
- func (c AdminRulesClient) ListComplete(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId) (ListCompleteResult, error)
- func (c AdminRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId, ...) (result ListCompleteResult, err error)
- type BaseAdminRule
- type BaseAdminRuleOperationPredicate
- type BaseBaseAdminRuleImpl
- type CreateOrUpdateOperationResponse
- type DefaultAdminPropertiesFormat
- type DefaultAdminRule
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ProvisioningState
- type RawBaseAdminRuleImpl
- type SecurityAdminConfigurationRuleCollectionId
- func NewSecurityAdminConfigurationRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, ...) SecurityAdminConfigurationRuleCollectionId
- func ParseSecurityAdminConfigurationRuleCollectionID(input string) (*SecurityAdminConfigurationRuleCollectionId, error)
- func ParseSecurityAdminConfigurationRuleCollectionIDInsensitively(input string) (*SecurityAdminConfigurationRuleCollectionId, error)
- func (id *SecurityAdminConfigurationRuleCollectionId) FromParseResult(input resourceids.ParseResult) error
- func (id SecurityAdminConfigurationRuleCollectionId) ID() string
- func (id SecurityAdminConfigurationRuleCollectionId) Segments() []resourceids.Segment
- func (id SecurityAdminConfigurationRuleCollectionId) String() string
- type SecurityAdminConfigurationRuleCollectionRuleId
- func NewSecurityAdminConfigurationRuleCollectionRuleID(subscriptionId string, resourceGroupName string, networkManagerName string, ...) SecurityAdminConfigurationRuleCollectionRuleId
- func ParseSecurityAdminConfigurationRuleCollectionRuleID(input string) (*SecurityAdminConfigurationRuleCollectionRuleId, error)
- func ParseSecurityAdminConfigurationRuleCollectionRuleIDInsensitively(input string) (*SecurityAdminConfigurationRuleCollectionRuleId, error)
- func (id *SecurityAdminConfigurationRuleCollectionRuleId) FromParseResult(input resourceids.ParseResult) error
- func (id SecurityAdminConfigurationRuleCollectionRuleId) ID() string
- func (id SecurityAdminConfigurationRuleCollectionRuleId) Segments() []resourceids.Segment
- func (id SecurityAdminConfigurationRuleCollectionRuleId) String() string
- type SecurityConfigurationRuleAccess
- type SecurityConfigurationRuleDirection
- type SecurityConfigurationRuleProtocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAddressPrefixType ¶
func PossibleValuesForAddressPrefixType() []string
func PossibleValuesForAdminRuleKind ¶
func PossibleValuesForAdminRuleKind() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSecurityConfigurationRuleAccess ¶
func PossibleValuesForSecurityConfigurationRuleAccess() []string
func PossibleValuesForSecurityConfigurationRuleDirection ¶
func PossibleValuesForSecurityConfigurationRuleDirection() []string
func PossibleValuesForSecurityConfigurationRuleProtocol ¶
func PossibleValuesForSecurityConfigurationRuleProtocol() []string
func ValidateSecurityAdminConfigurationRuleCollectionID ¶
func ValidateSecurityAdminConfigurationRuleCollectionID(input interface{}, key string) (warnings []string, errors []error)
ValidateSecurityAdminConfigurationRuleCollectionID checks that 'input' can be parsed as a Security Admin Configuration Rule Collection ID
func ValidateSecurityAdminConfigurationRuleCollectionRuleID ¶
func ValidateSecurityAdminConfigurationRuleCollectionRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateSecurityAdminConfigurationRuleCollectionRuleID checks that 'input' can be parsed as a Security Admin Configuration Rule Collection Rule ID
Types ¶
type AddressPrefixItem ¶
type AddressPrefixItem struct { AddressPrefix *string `json:"addressPrefix,omitempty"` AddressPrefixType *AddressPrefixType `json:"addressPrefixType,omitempty"` }
type AddressPrefixType ¶
type AddressPrefixType string
const ( AddressPrefixTypeIPPrefix AddressPrefixType = "IPPrefix" AddressPrefixTypeNetworkGroup AddressPrefixType = "NetworkGroup" AddressPrefixTypeServiceTag AddressPrefixType = "ServiceTag" )
func (*AddressPrefixType) UnmarshalJSON ¶
func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error
type AdminPropertiesFormat ¶
type AdminPropertiesFormat struct { Access SecurityConfigurationRuleAccess `json:"access"` Description *string `json:"description,omitempty"` DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` Destinations *[]AddressPrefixItem `json:"destinations,omitempty"` Direction SecurityConfigurationRuleDirection `json:"direction"` Priority int64 `json:"priority"` Protocol SecurityConfigurationRuleProtocol `json:"protocol"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` Sources *[]AddressPrefixItem `json:"sources,omitempty"` }
type AdminRule ¶
type AdminRule struct { Properties *AdminPropertiesFormat `json:"properties,omitempty"` Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind AdminRuleKind `json:"kind"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (AdminRule) BaseAdminRule ¶
func (s AdminRule) BaseAdminRule() BaseBaseAdminRuleImpl
func (AdminRule) MarshalJSON ¶
type AdminRuleKind ¶
type AdminRuleKind string
const ( AdminRuleKindCustom AdminRuleKind = "Custom" AdminRuleKindDefault AdminRuleKind = "Default" )
func (*AdminRuleKind) UnmarshalJSON ¶
func (s *AdminRuleKind) UnmarshalJSON(bytes []byte) error
type AdminRulesClient ¶
type AdminRulesClient struct {
Client *resourcemanager.Client
}
func NewAdminRulesClientWithBaseURI ¶
func NewAdminRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*AdminRulesClient, error)
func (AdminRulesClient) CreateOrUpdate ¶
func (c AdminRulesClient) CreateOrUpdate(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, input BaseAdminRule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AdminRulesClient) Delete ¶
func (c AdminRulesClient) Delete(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (AdminRulesClient) DeleteThenPoll ¶
func (c AdminRulesClient) DeleteThenPoll(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (AdminRulesClient) Get ¶
func (c AdminRulesClient) Get(ctx context.Context, id SecurityAdminConfigurationRuleCollectionRuleId) (result GetOperationResponse, err error)
Get ...
func (AdminRulesClient) List ¶
func (c AdminRulesClient) List(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId) (result ListOperationResponse, err error)
List ...
func (AdminRulesClient) ListComplete ¶
func (c AdminRulesClient) ListComplete(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AdminRulesClient) ListCompleteMatchingPredicate ¶
func (c AdminRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id SecurityAdminConfigurationRuleCollectionId, predicate BaseAdminRuleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type BaseAdminRule ¶
type BaseAdminRule interface {
BaseAdminRule() BaseBaseAdminRuleImpl
}
func UnmarshalBaseAdminRuleImplementation ¶
func UnmarshalBaseAdminRuleImplementation(input []byte) (BaseAdminRule, error)
type BaseAdminRuleOperationPredicate ¶
type BaseAdminRuleOperationPredicate struct { }
func (BaseAdminRuleOperationPredicate) Matches ¶
func (p BaseAdminRuleOperationPredicate) Matches(input BaseAdminRule) bool
type BaseBaseAdminRuleImpl ¶
type BaseBaseAdminRuleImpl struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind AdminRuleKind `json:"kind"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (BaseBaseAdminRuleImpl) BaseAdminRule ¶
func (s BaseBaseAdminRuleImpl) BaseAdminRule() BaseBaseAdminRuleImpl
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model BaseAdminRule }
type DefaultAdminPropertiesFormat ¶
type DefaultAdminPropertiesFormat struct { Access *SecurityConfigurationRuleAccess `json:"access,omitempty"` Description *string `json:"description,omitempty"` DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` Destinations *[]AddressPrefixItem `json:"destinations,omitempty"` Direction *SecurityConfigurationRuleDirection `json:"direction,omitempty"` Flag *string `json:"flag,omitempty"` Priority *int64 `json:"priority,omitempty"` Protocol *SecurityConfigurationRuleProtocol `json:"protocol,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` Sources *[]AddressPrefixItem `json:"sources,omitempty"` }
type DefaultAdminRule ¶
type DefaultAdminRule struct { Properties *DefaultAdminPropertiesFormat `json:"properties,omitempty"` Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Kind AdminRuleKind `json:"kind"` Name *string `json:"name,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (DefaultAdminRule) BaseAdminRule ¶
func (s DefaultAdminRule) BaseAdminRule() BaseBaseAdminRuleImpl
func (DefaultAdminRule) MarshalJSON ¶
func (s DefaultAdminRule) MarshalJSON() ([]byte, error)
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model BaseAdminRule }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BaseAdminRule }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BaseAdminRule }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RawBaseAdminRuleImpl ¶
type RawBaseAdminRuleImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawBaseAdminRuleImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawBaseAdminRuleImpl) BaseAdminRule ¶
func (s RawBaseAdminRuleImpl) BaseAdminRule() BaseBaseAdminRuleImpl
type SecurityAdminConfigurationRuleCollectionId ¶
type SecurityAdminConfigurationRuleCollectionId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string SecurityAdminConfigurationName string RuleCollectionName string }
SecurityAdminConfigurationRuleCollectionId is a struct representing the Resource ID for a Security Admin Configuration Rule Collection
func NewSecurityAdminConfigurationRuleCollectionID ¶
func NewSecurityAdminConfigurationRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, securityAdminConfigurationName string, ruleCollectionName string) SecurityAdminConfigurationRuleCollectionId
NewSecurityAdminConfigurationRuleCollectionID returns a new SecurityAdminConfigurationRuleCollectionId struct
func ParseSecurityAdminConfigurationRuleCollectionID ¶
func ParseSecurityAdminConfigurationRuleCollectionID(input string) (*SecurityAdminConfigurationRuleCollectionId, error)
ParseSecurityAdminConfigurationRuleCollectionID parses 'input' into a SecurityAdminConfigurationRuleCollectionId
func ParseSecurityAdminConfigurationRuleCollectionIDInsensitively ¶
func ParseSecurityAdminConfigurationRuleCollectionIDInsensitively(input string) (*SecurityAdminConfigurationRuleCollectionId, error)
ParseSecurityAdminConfigurationRuleCollectionIDInsensitively parses 'input' case-insensitively into a SecurityAdminConfigurationRuleCollectionId note: this method should only be used for API response data and not user input
func (*SecurityAdminConfigurationRuleCollectionId) FromParseResult ¶
func (id *SecurityAdminConfigurationRuleCollectionId) FromParseResult(input resourceids.ParseResult) error
func (SecurityAdminConfigurationRuleCollectionId) ID ¶
func (id SecurityAdminConfigurationRuleCollectionId) ID() string
ID returns the formatted Security Admin Configuration Rule Collection ID
func (SecurityAdminConfigurationRuleCollectionId) Segments ¶
func (id SecurityAdminConfigurationRuleCollectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Security Admin Configuration Rule Collection ID
func (SecurityAdminConfigurationRuleCollectionId) String ¶
func (id SecurityAdminConfigurationRuleCollectionId) String() string
String returns a human-readable description of this Security Admin Configuration Rule Collection ID
type SecurityAdminConfigurationRuleCollectionRuleId ¶
type SecurityAdminConfigurationRuleCollectionRuleId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string SecurityAdminConfigurationName string RuleCollectionName string RuleName string }
SecurityAdminConfigurationRuleCollectionRuleId is a struct representing the Resource ID for a Security Admin Configuration Rule Collection Rule
func NewSecurityAdminConfigurationRuleCollectionRuleID ¶
func NewSecurityAdminConfigurationRuleCollectionRuleID(subscriptionId string, resourceGroupName string, networkManagerName string, securityAdminConfigurationName string, ruleCollectionName string, ruleName string) SecurityAdminConfigurationRuleCollectionRuleId
NewSecurityAdminConfigurationRuleCollectionRuleID returns a new SecurityAdminConfigurationRuleCollectionRuleId struct
func ParseSecurityAdminConfigurationRuleCollectionRuleID ¶
func ParseSecurityAdminConfigurationRuleCollectionRuleID(input string) (*SecurityAdminConfigurationRuleCollectionRuleId, error)
ParseSecurityAdminConfigurationRuleCollectionRuleID parses 'input' into a SecurityAdminConfigurationRuleCollectionRuleId
func ParseSecurityAdminConfigurationRuleCollectionRuleIDInsensitively ¶
func ParseSecurityAdminConfigurationRuleCollectionRuleIDInsensitively(input string) (*SecurityAdminConfigurationRuleCollectionRuleId, error)
ParseSecurityAdminConfigurationRuleCollectionRuleIDInsensitively parses 'input' case-insensitively into a SecurityAdminConfigurationRuleCollectionRuleId note: this method should only be used for API response data and not user input
func (*SecurityAdminConfigurationRuleCollectionRuleId) FromParseResult ¶
func (id *SecurityAdminConfigurationRuleCollectionRuleId) FromParseResult(input resourceids.ParseResult) error
func (SecurityAdminConfigurationRuleCollectionRuleId) ID ¶
func (id SecurityAdminConfigurationRuleCollectionRuleId) ID() string
ID returns the formatted Security Admin Configuration Rule Collection Rule ID
func (SecurityAdminConfigurationRuleCollectionRuleId) Segments ¶
func (id SecurityAdminConfigurationRuleCollectionRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Security Admin Configuration Rule Collection Rule ID
func (SecurityAdminConfigurationRuleCollectionRuleId) String ¶
func (id SecurityAdminConfigurationRuleCollectionRuleId) String() string
String returns a human-readable description of this Security Admin Configuration Rule Collection Rule ID
type SecurityConfigurationRuleAccess ¶
type SecurityConfigurationRuleAccess string
const ( SecurityConfigurationRuleAccessAllow SecurityConfigurationRuleAccess = "Allow" SecurityConfigurationRuleAccessAlwaysAllow SecurityConfigurationRuleAccess = "AlwaysAllow" SecurityConfigurationRuleAccessDeny SecurityConfigurationRuleAccess = "Deny" )
func (*SecurityConfigurationRuleAccess) UnmarshalJSON ¶
func (s *SecurityConfigurationRuleAccess) UnmarshalJSON(bytes []byte) error
type SecurityConfigurationRuleDirection ¶
type SecurityConfigurationRuleDirection string
const ( SecurityConfigurationRuleDirectionInbound SecurityConfigurationRuleDirection = "Inbound" SecurityConfigurationRuleDirectionOutbound SecurityConfigurationRuleDirection = "Outbound" )
func (*SecurityConfigurationRuleDirection) UnmarshalJSON ¶
func (s *SecurityConfigurationRuleDirection) UnmarshalJSON(bytes []byte) error
type SecurityConfigurationRuleProtocol ¶
type SecurityConfigurationRuleProtocol string
const ( SecurityConfigurationRuleProtocolAh SecurityConfigurationRuleProtocol = "Ah" SecurityConfigurationRuleProtocolAny SecurityConfigurationRuleProtocol = "Any" SecurityConfigurationRuleProtocolEsp SecurityConfigurationRuleProtocol = "Esp" SecurityConfigurationRuleProtocolIcmp SecurityConfigurationRuleProtocol = "Icmp" SecurityConfigurationRuleProtocolTcp SecurityConfigurationRuleProtocol = "Tcp" SecurityConfigurationRuleProtocolUdp SecurityConfigurationRuleProtocol = "Udp" )
func (*SecurityConfigurationRuleProtocol) UnmarshalJSON ¶
func (s *SecurityConfigurationRuleProtocol) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_securityadminconfigurationrulecollection.go
- id_securityadminconfigurationrulecollectionrule.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_addressprefixitem.go
- model_adminpropertiesformat.go
- model_adminrule.go
- model_baseadminrule.go
- model_defaultadminpropertiesformat.go
- model_defaultadminrule.go
- predicates.go
- version.go