Documentation ¶
Index ¶
- type DefaultAction
- type NWRuleSetIpRules
- type NWRuleSetVirtualNetworkRules
- type NamespaceId
- type NamespacesCreateOrUpdateNetworkRuleSetResponse
- type NamespacesGetNetworkRuleSetResponse
- type NetworkRuleIPAction
- type NetworkRuleSet
- type NetworkRuleSetProperties
- type NetworkRuleSetsClient
- func (c NetworkRuleSetsClient) NamespacesCreateOrUpdateNetworkRuleSet(ctx context.Context, id NamespaceId, input NetworkRuleSet) (result NamespacesCreateOrUpdateNetworkRuleSetResponse, err error)
- func (c NetworkRuleSetsClient) NamespacesGetNetworkRuleSet(ctx context.Context, id NamespaceId) (result NamespacesGetNetworkRuleSetResponse, err error)
- type Subnet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 NamespaceId ¶
func NewNamespaceID ¶
func NewNamespaceID(subscriptionId, resourceGroup, name string) NamespaceId
func ParseNamespaceID ¶
func ParseNamespaceID(input string) (*NamespaceId, error)
ParseNamespaceID parses a Namespace ID into an NamespaceId struct
func ParseNamespaceIDInsensitively ¶
func ParseNamespaceIDInsensitively(input string) (*NamespaceId, error)
ParseNamespaceIDInsensitively parses an Namespace ID into an NamespaceId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseNamespaceID method should be used instead for validation etc.
func (NamespaceId) ID ¶
func (id NamespaceId) ID() string
func (NamespaceId) String ¶
func (id NamespaceId) String() string
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 ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.