Documentation ¶
Index ¶
- func PossibleValuesForDefaultAction() []string
- func PossibleValuesForNetworkRuleIPAction() []string
- func PossibleValuesForPublicNetworkAccessFlag() []string
- func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)
- type DefaultAction
- type NWRuleSetIPRules
- type NWRuleSetVirtualNetworkRules
- type NamespaceId
- type NamespacesCreateOrUpdateNetworkRuleSetOperationResponse
- type NamespacesGetNetworkRuleSetOperationResponse
- type NamespacesListNetworkRuleSetCompleteResult
- type NamespacesListNetworkRuleSetCustomPager
- type NamespacesListNetworkRuleSetOperationResponse
- type NetworkRuleIPAction
- type NetworkRuleSet
- type NetworkRuleSetOperationPredicate
- type NetworkRuleSetProperties
- type NetworkRuleSetsClient
- func (c NetworkRuleSetsClient) NamespacesCreateOrUpdateNetworkRuleSet(ctx context.Context, id NamespaceId, input NetworkRuleSet) (result NamespacesCreateOrUpdateNetworkRuleSetOperationResponse, err error)
- func (c NetworkRuleSetsClient) NamespacesGetNetworkRuleSet(ctx context.Context, id NamespaceId) (result NamespacesGetNetworkRuleSetOperationResponse, err error)
- func (c NetworkRuleSetsClient) NamespacesListNetworkRuleSet(ctx context.Context, id NamespaceId) (result NamespacesListNetworkRuleSetOperationResponse, err error)
- func (c NetworkRuleSetsClient) NamespacesListNetworkRuleSetComplete(ctx context.Context, id NamespaceId) (NamespacesListNetworkRuleSetCompleteResult, error)
- func (c NetworkRuleSetsClient) NamespacesListNetworkRuleSetCompleteMatchingPredicate(ctx context.Context, id NamespaceId, ...) (result NamespacesListNetworkRuleSetCompleteResult, err error)
- type PublicNetworkAccessFlag
- type Subnet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDefaultAction ¶
func PossibleValuesForDefaultAction() []string
func PossibleValuesForNetworkRuleIPAction ¶
func PossibleValuesForNetworkRuleIPAction() []string
func PossibleValuesForPublicNetworkAccessFlag ¶
func PossibleValuesForPublicNetworkAccessFlag() []string
func ValidateNamespaceID ¶
ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID
Types ¶
type DefaultAction ¶
type DefaultAction string
const ( DefaultActionAllow DefaultAction = "Allow" DefaultActionDeny DefaultAction = "Deny" )
func (*DefaultAction) UnmarshalJSON ¶
func (s *DefaultAction) UnmarshalJSON(bytes []byte) error
type NWRuleSetIPRules ¶
type NWRuleSetIPRules struct { Action *NetworkRuleIPAction `json:"action,omitempty"` IPMask *string `json:"ipMask,omitempty"` }
type NamespaceId ¶
NamespaceId is a struct representing the Resource ID for a Namespace
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId string, resourceGroupName string, namespaceName string) NamespaceId
NewNamespaceID returns a new NamespaceId struct
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses 'input' into a NamespaceId
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses 'input' case-insensitively into a NamespaceId note: this method should only be used for API response data and not user input
func (*NamespaceId) FromParseResult ¶
func (id *NamespaceId) FromParseResult(input resourceids.ParseResult) error
func (NamespaceId) Segments ¶
func (id NamespaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Namespace ID
func (NamespaceId) String ¶
func (id NamespaceId) String() string
String returns a human-readable description of this Namespace ID
type NamespacesCreateOrUpdateNetworkRuleSetOperationResponse ¶
type NamespacesCreateOrUpdateNetworkRuleSetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkRuleSet }
type NamespacesGetNetworkRuleSetOperationResponse ¶
type NamespacesGetNetworkRuleSetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkRuleSet }
type NamespacesListNetworkRuleSetCompleteResult ¶
type NamespacesListNetworkRuleSetCompleteResult struct { LatestHttpResponse *http.Response Items []NetworkRuleSet }
type NamespacesListNetworkRuleSetCustomPager ¶
func (*NamespacesListNetworkRuleSetCustomPager) NextPageLink ¶
func (p *NamespacesListNetworkRuleSetCustomPager) NextPageLink() *odata.Link
type NamespacesListNetworkRuleSetOperationResponse ¶
type NamespacesListNetworkRuleSetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NetworkRuleSet }
type NetworkRuleIPAction ¶
type NetworkRuleIPAction string
const (
NetworkRuleIPActionAllow NetworkRuleIPAction = "Allow"
)
func (*NetworkRuleIPAction) UnmarshalJSON ¶
func (s *NetworkRuleIPAction) UnmarshalJSON(bytes []byte) error
type NetworkRuleSet ¶
type NetworkRuleSet struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *NetworkRuleSetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type NetworkRuleSetOperationPredicate ¶
type NetworkRuleSetOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (NetworkRuleSetOperationPredicate) Matches ¶
func (p NetworkRuleSetOperationPredicate) Matches(input NetworkRuleSet) bool
type NetworkRuleSetProperties ¶
type NetworkRuleSetProperties struct { DefaultAction *DefaultAction `json:"defaultAction,omitempty"` IPRules *[]NWRuleSetIPRules `json:"ipRules,omitempty"` PublicNetworkAccess *PublicNetworkAccessFlag `json:"publicNetworkAccess,omitempty"` TrustedServiceAccessEnabled *bool `json:"trustedServiceAccessEnabled,omitempty"` VirtualNetworkRules *[]NWRuleSetVirtualNetworkRules `json:"virtualNetworkRules,omitempty"` }
type NetworkRuleSetsClient ¶
type NetworkRuleSetsClient struct {
Client *resourcemanager.Client
}
func NewNetworkRuleSetsClientWithBaseURI ¶
func NewNetworkRuleSetsClientWithBaseURI(sdkApi sdkEnv.Api) (*NetworkRuleSetsClient, error)
func (NetworkRuleSetsClient) NamespacesCreateOrUpdateNetworkRuleSet ¶
func (c NetworkRuleSetsClient) NamespacesCreateOrUpdateNetworkRuleSet(ctx context.Context, id NamespaceId, input NetworkRuleSet) (result NamespacesCreateOrUpdateNetworkRuleSetOperationResponse, err error)
NamespacesCreateOrUpdateNetworkRuleSet ...
func (NetworkRuleSetsClient) NamespacesGetNetworkRuleSet ¶
func (c NetworkRuleSetsClient) NamespacesGetNetworkRuleSet(ctx context.Context, id NamespaceId) (result NamespacesGetNetworkRuleSetOperationResponse, err error)
NamespacesGetNetworkRuleSet ...
func (NetworkRuleSetsClient) NamespacesListNetworkRuleSet ¶
func (c NetworkRuleSetsClient) NamespacesListNetworkRuleSet(ctx context.Context, id NamespaceId) (result NamespacesListNetworkRuleSetOperationResponse, err error)
NamespacesListNetworkRuleSet ...
func (NetworkRuleSetsClient) NamespacesListNetworkRuleSetComplete ¶
func (c NetworkRuleSetsClient) NamespacesListNetworkRuleSetComplete(ctx context.Context, id NamespaceId) (NamespacesListNetworkRuleSetCompleteResult, error)
NamespacesListNetworkRuleSetComplete retrieves all the results into a single object
func (NetworkRuleSetsClient) NamespacesListNetworkRuleSetCompleteMatchingPredicate ¶
func (c NetworkRuleSetsClient) NamespacesListNetworkRuleSetCompleteMatchingPredicate(ctx context.Context, id NamespaceId, predicate NetworkRuleSetOperationPredicate) (result NamespacesListNetworkRuleSetCompleteResult, err error)
NamespacesListNetworkRuleSetCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PublicNetworkAccessFlag ¶
type PublicNetworkAccessFlag string
const ( PublicNetworkAccessFlagDisabled PublicNetworkAccessFlag = "Disabled" PublicNetworkAccessFlagEnabled PublicNetworkAccessFlag = "Enabled" PublicNetworkAccessFlagSecuredByPerimeter PublicNetworkAccessFlag = "SecuredByPerimeter" )
func (*PublicNetworkAccessFlag) UnmarshalJSON ¶
func (s *PublicNetworkAccessFlag) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_namespace.go
- method_namespacescreateorupdatenetworkruleset.go
- method_namespacesgetnetworkruleset.go
- method_namespaceslistnetworkruleset.go
- model_networkruleset.go
- model_networkrulesetproperties.go
- model_nwrulesetiprules.go
- model_nwrulesetvirtualnetworkrules.go
- model_subnet.go
- predicates.go
- version.go