networkrulesets

package
v2.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDefaultAction

func PossibleValuesForDefaultAction() []string

func PossibleValuesForNetworkRuleIPAction

func PossibleValuesForNetworkRuleIPAction() []string

func ValidateNamespaceID

func ValidateNamespaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateNamespaceID checks that 'input' can be parsed as a Namespace ID

Types

type DefaultAction

type DefaultAction string
const (
	DefaultActionAllow DefaultAction = "Allow"
	DefaultActionDeny  DefaultAction = "Deny"
)

type NWRuleSetIpRules

type NWRuleSetIpRules struct {
	Action *NetworkRuleIPAction `json:"action,omitempty"`
	IpMask *string              `json:"ipMask,omitempty"`
}

type NWRuleSetVirtualNetworkRules

type NWRuleSetVirtualNetworkRules struct {
	IgnoreMissingVnetServiceEndpoint *bool   `json:"ignoreMissingVnetServiceEndpoint,omitempty"`
	Subnet                           *Subnet `json:"subnet,omitempty"`
}

type NamespaceId

type NamespaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	NamespaceName     string
}

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) ID

func (id NamespaceId) ID() string

ID returns the formatted Namespace ID

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 NamespacesCreateOrUpdateNetworkRuleSetResponse

type NamespacesCreateOrUpdateNetworkRuleSetResponse struct {
	HttpResponse *http.Response
	Model        *NetworkRuleSet
}

type NamespacesGetNetworkRuleSetResponse

type NamespacesGetNetworkRuleSetResponse struct {
	HttpResponse *http.Response
	Model        *NetworkRuleSet
}

type NetworkRuleIPAction

type NetworkRuleIPAction string
const (
	NetworkRuleIPActionAllow NetworkRuleIPAction = "Allow"
)

type NetworkRuleSet

type NetworkRuleSet struct {
	Id         *string                   `json:"id,omitempty"`
	Name       *string                   `json:"name,omitempty"`
	Properties *NetworkRuleSetProperties `json:"properties,omitempty"`
	Type       *string                   `json:"type,omitempty"`
}

type NetworkRuleSetProperties

type NetworkRuleSetProperties struct {
	DefaultAction               *DefaultAction                  `json:"defaultAction,omitempty"`
	IpRules                     *[]NWRuleSetIpRules             `json:"ipRules,omitempty"`
	TrustedServiceAccessEnabled *bool                           `json:"trustedServiceAccessEnabled,omitempty"`
	VirtualNetworkRules         *[]NWRuleSetVirtualNetworkRules `json:"virtualNetworkRules,omitempty"`
}

type NetworkRuleSetsClient

type NetworkRuleSetsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewNetworkRuleSetsClientWithBaseURI

func NewNetworkRuleSetsClientWithBaseURI(endpoint string) NetworkRuleSetsClient

func (NetworkRuleSetsClient) NamespacesCreateOrUpdateNetworkRuleSet

func (c NetworkRuleSetsClient) NamespacesCreateOrUpdateNetworkRuleSet(ctx context.Context, id NamespaceId, input NetworkRuleSet) (result NamespacesCreateOrUpdateNetworkRuleSetResponse, err error)

NamespacesCreateOrUpdateNetworkRuleSet ...

func (NetworkRuleSetsClient) NamespacesGetNetworkRuleSet

func (c NetworkRuleSetsClient) NamespacesGetNetworkRuleSet(ctx context.Context, id NamespaceId) (result NamespacesGetNetworkRuleSetResponse, err error)

NamespacesGetNetworkRuleSet ...

type Subnet

type Subnet struct {
	Id *string `json:"id,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL