Documentation ¶
Index ¶
- func PossibleValuesForManagedNetworkStatus() []string
- func PossibleValuesForRuleAction() []string
- func PossibleValuesForRuleCategory() []string
- func PossibleValuesForRuleStatus() []string
- func PossibleValuesForRuleType() []string
- func ValidateOutboundRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type BaseOutboundRuleImpl
- type FqdnOutboundRule
- type ManagedNetworkClient
- func (c ManagedNetworkClient) ProvisionsProvisionManagedNetwork(ctx context.Context, id WorkspaceId, input ManagedNetworkProvisionOptions) (result ProvisionsProvisionManagedNetworkOperationResponse, err error)
- func (c ManagedNetworkClient) ProvisionsProvisionManagedNetworkThenPoll(ctx context.Context, id WorkspaceId, input ManagedNetworkProvisionOptions) error
- func (c ManagedNetworkClient) SettingsRuleCreateOrUpdate(ctx context.Context, id OutboundRuleId, input OutboundRuleBasicResource) (result SettingsRuleCreateOrUpdateOperationResponse, err error)
- func (c ManagedNetworkClient) SettingsRuleCreateOrUpdateThenPoll(ctx context.Context, id OutboundRuleId, input OutboundRuleBasicResource) error
- func (c ManagedNetworkClient) SettingsRuleDelete(ctx context.Context, id OutboundRuleId) (result SettingsRuleDeleteOperationResponse, err error)
- func (c ManagedNetworkClient) SettingsRuleDeleteThenPoll(ctx context.Context, id OutboundRuleId) error
- func (c ManagedNetworkClient) SettingsRuleGet(ctx context.Context, id OutboundRuleId) (result SettingsRuleGetOperationResponse, err error)
- func (c ManagedNetworkClient) SettingsRuleList(ctx context.Context, id WorkspaceId) (result SettingsRuleListOperationResponse, err error)
- func (c ManagedNetworkClient) SettingsRuleListComplete(ctx context.Context, id WorkspaceId) (SettingsRuleListCompleteResult, error)
- func (c ManagedNetworkClient) SettingsRuleListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result SettingsRuleListCompleteResult, err error)
- type ManagedNetworkProvisionOptions
- type ManagedNetworkProvisionStatus
- type ManagedNetworkStatus
- type OutboundRule
- type OutboundRuleBasicResource
- type OutboundRuleBasicResourceOperationPredicate
- type OutboundRuleId
- type PrivateEndpointDestination
- type PrivateEndpointOutboundRule
- type ProvisionsProvisionManagedNetworkOperationResponse
- type RawOutboundRuleImpl
- type RuleAction
- type RuleCategory
- type RuleStatus
- type RuleType
- type ServiceTagDestination
- type ServiceTagOutboundRule
- type SettingsRuleCreateOrUpdateOperationResponse
- type SettingsRuleDeleteOperationResponse
- type SettingsRuleGetOperationResponse
- type SettingsRuleListCompleteResult
- type SettingsRuleListCustomPager
- type SettingsRuleListOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForManagedNetworkStatus ¶
func PossibleValuesForManagedNetworkStatus() []string
func PossibleValuesForRuleAction ¶
func PossibleValuesForRuleAction() []string
func PossibleValuesForRuleCategory ¶
func PossibleValuesForRuleCategory() []string
func PossibleValuesForRuleStatus ¶
func PossibleValuesForRuleStatus() []string
func PossibleValuesForRuleType ¶
func PossibleValuesForRuleType() []string
func ValidateOutboundRuleID ¶
ValidateOutboundRuleID checks that 'input' can be parsed as a Outbound Rule ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type BaseOutboundRuleImpl ¶ added in v0.20240920.1135249
type BaseOutboundRuleImpl struct { Category *RuleCategory `json:"category,omitempty"` Status *RuleStatus `json:"status,omitempty"` Type RuleType `json:"type"` }
func (BaseOutboundRuleImpl) OutboundRule ¶ added in v0.20240920.1135249
func (s BaseOutboundRuleImpl) OutboundRule() BaseOutboundRuleImpl
type FqdnOutboundRule ¶
type FqdnOutboundRule struct { Destination *string `json:"destination,omitempty"` Category *RuleCategory `json:"category,omitempty"` Status *RuleStatus `json:"status,omitempty"` Type RuleType `json:"type"` }
func (FqdnOutboundRule) MarshalJSON ¶
func (s FqdnOutboundRule) MarshalJSON() ([]byte, error)
func (FqdnOutboundRule) OutboundRule ¶ added in v0.20240920.1135249
func (s FqdnOutboundRule) OutboundRule() BaseOutboundRuleImpl
type ManagedNetworkClient ¶
type ManagedNetworkClient struct {
Client *resourcemanager.Client
}
func NewManagedNetworkClientWithBaseURI ¶
func NewManagedNetworkClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedNetworkClient, error)
func (ManagedNetworkClient) ProvisionsProvisionManagedNetwork ¶
func (c ManagedNetworkClient) ProvisionsProvisionManagedNetwork(ctx context.Context, id WorkspaceId, input ManagedNetworkProvisionOptions) (result ProvisionsProvisionManagedNetworkOperationResponse, err error)
ProvisionsProvisionManagedNetwork ...
func (ManagedNetworkClient) ProvisionsProvisionManagedNetworkThenPoll ¶
func (c ManagedNetworkClient) ProvisionsProvisionManagedNetworkThenPoll(ctx context.Context, id WorkspaceId, input ManagedNetworkProvisionOptions) error
ProvisionsProvisionManagedNetworkThenPoll performs ProvisionsProvisionManagedNetwork then polls until it's completed
func (ManagedNetworkClient) SettingsRuleCreateOrUpdate ¶
func (c ManagedNetworkClient) SettingsRuleCreateOrUpdate(ctx context.Context, id OutboundRuleId, input OutboundRuleBasicResource) (result SettingsRuleCreateOrUpdateOperationResponse, err error)
SettingsRuleCreateOrUpdate ...
func (ManagedNetworkClient) SettingsRuleCreateOrUpdateThenPoll ¶
func (c ManagedNetworkClient) SettingsRuleCreateOrUpdateThenPoll(ctx context.Context, id OutboundRuleId, input OutboundRuleBasicResource) error
SettingsRuleCreateOrUpdateThenPoll performs SettingsRuleCreateOrUpdate then polls until it's completed
func (ManagedNetworkClient) SettingsRuleDelete ¶
func (c ManagedNetworkClient) SettingsRuleDelete(ctx context.Context, id OutboundRuleId) (result SettingsRuleDeleteOperationResponse, err error)
SettingsRuleDelete ...
func (ManagedNetworkClient) SettingsRuleDeleteThenPoll ¶
func (c ManagedNetworkClient) SettingsRuleDeleteThenPoll(ctx context.Context, id OutboundRuleId) error
SettingsRuleDeleteThenPoll performs SettingsRuleDelete then polls until it's completed
func (ManagedNetworkClient) SettingsRuleGet ¶
func (c ManagedNetworkClient) SettingsRuleGet(ctx context.Context, id OutboundRuleId) (result SettingsRuleGetOperationResponse, err error)
SettingsRuleGet ...
func (ManagedNetworkClient) SettingsRuleList ¶
func (c ManagedNetworkClient) SettingsRuleList(ctx context.Context, id WorkspaceId) (result SettingsRuleListOperationResponse, err error)
SettingsRuleList ...
func (ManagedNetworkClient) SettingsRuleListComplete ¶
func (c ManagedNetworkClient) SettingsRuleListComplete(ctx context.Context, id WorkspaceId) (SettingsRuleListCompleteResult, error)
SettingsRuleListComplete retrieves all the results into a single object
func (ManagedNetworkClient) SettingsRuleListCompleteMatchingPredicate ¶
func (c ManagedNetworkClient) SettingsRuleListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate OutboundRuleBasicResourceOperationPredicate) (result SettingsRuleListCompleteResult, err error)
SettingsRuleListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ManagedNetworkProvisionOptions ¶
type ManagedNetworkProvisionOptions struct {
IncludeSpark *bool `json:"includeSpark,omitempty"`
}
type ManagedNetworkProvisionStatus ¶
type ManagedNetworkProvisionStatus struct { SparkReady *bool `json:"sparkReady,omitempty"` Status *ManagedNetworkStatus `json:"status,omitempty"` }
type ManagedNetworkStatus ¶
type ManagedNetworkStatus string
const ( ManagedNetworkStatusActive ManagedNetworkStatus = "Active" ManagedNetworkStatusInactive ManagedNetworkStatus = "Inactive" )
func (*ManagedNetworkStatus) UnmarshalJSON ¶
func (s *ManagedNetworkStatus) UnmarshalJSON(bytes []byte) error
type OutboundRule ¶
type OutboundRule interface {
OutboundRule() BaseOutboundRuleImpl
}
func UnmarshalOutboundRuleImplementation ¶ added in v0.20240920.1135249
func UnmarshalOutboundRuleImplementation(input []byte) (OutboundRule, error)
type OutboundRuleBasicResource ¶
type OutboundRuleBasicResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties OutboundRule `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*OutboundRuleBasicResource) UnmarshalJSON ¶
func (s *OutboundRuleBasicResource) UnmarshalJSON(bytes []byte) error
type OutboundRuleBasicResourceOperationPredicate ¶
func (OutboundRuleBasicResourceOperationPredicate) Matches ¶
func (p OutboundRuleBasicResourceOperationPredicate) Matches(input OutboundRuleBasicResource) bool
type OutboundRuleId ¶
type OutboundRuleId struct { SubscriptionId string ResourceGroupName string WorkspaceName string OutboundRuleName string }
OutboundRuleId is a struct representing the Resource ID for a Outbound Rule
func NewOutboundRuleID ¶
func NewOutboundRuleID(subscriptionId string, resourceGroupName string, workspaceName string, outboundRuleName string) OutboundRuleId
NewOutboundRuleID returns a new OutboundRuleId struct
func ParseOutboundRuleID ¶
func ParseOutboundRuleID(input string) (*OutboundRuleId, error)
ParseOutboundRuleID parses 'input' into a OutboundRuleId
func ParseOutboundRuleIDInsensitively ¶
func ParseOutboundRuleIDInsensitively(input string) (*OutboundRuleId, error)
ParseOutboundRuleIDInsensitively parses 'input' case-insensitively into a OutboundRuleId note: this method should only be used for API response data and not user input
func (*OutboundRuleId) FromParseResult ¶
func (id *OutboundRuleId) FromParseResult(input resourceids.ParseResult) error
func (OutboundRuleId) ID ¶
func (id OutboundRuleId) ID() string
ID returns the formatted Outbound Rule ID
func (OutboundRuleId) Segments ¶
func (id OutboundRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Outbound Rule ID
func (OutboundRuleId) String ¶
func (id OutboundRuleId) String() string
String returns a human-readable description of this Outbound Rule ID
type PrivateEndpointDestination ¶
type PrivateEndpointDestination struct { ServiceResourceId *string `json:"serviceResourceId,omitempty"` SparkEnabled *bool `json:"sparkEnabled,omitempty"` SparkStatus *RuleStatus `json:"sparkStatus,omitempty"` SubresourceTarget *string `json:"subresourceTarget,omitempty"` }
type PrivateEndpointOutboundRule ¶
type PrivateEndpointOutboundRule struct { Destination *PrivateEndpointDestination `json:"destination,omitempty"` Category *RuleCategory `json:"category,omitempty"` Status *RuleStatus `json:"status,omitempty"` Type RuleType `json:"type"` }
func (PrivateEndpointOutboundRule) MarshalJSON ¶
func (s PrivateEndpointOutboundRule) MarshalJSON() ([]byte, error)
func (PrivateEndpointOutboundRule) OutboundRule ¶ added in v0.20240920.1135249
func (s PrivateEndpointOutboundRule) OutboundRule() BaseOutboundRuleImpl
type RawOutboundRuleImpl ¶
type RawOutboundRuleImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawOutboundRuleImpl 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 (RawOutboundRuleImpl) OutboundRule ¶ added in v0.20240920.1135249
func (s RawOutboundRuleImpl) OutboundRule() BaseOutboundRuleImpl
type RuleAction ¶
type RuleAction string
const ( RuleActionAllow RuleAction = "Allow" RuleActionDeny RuleAction = "Deny" )
func (*RuleAction) UnmarshalJSON ¶
func (s *RuleAction) UnmarshalJSON(bytes []byte) error
type RuleCategory ¶
type RuleCategory string
const ( RuleCategoryDependency RuleCategory = "Dependency" RuleCategoryRecommended RuleCategory = "Recommended" RuleCategoryRequired RuleCategory = "Required" RuleCategoryUserDefined RuleCategory = "UserDefined" )
func (*RuleCategory) UnmarshalJSON ¶
func (s *RuleCategory) UnmarshalJSON(bytes []byte) error
type RuleStatus ¶
type RuleStatus string
const ( RuleStatusActive RuleStatus = "Active" RuleStatusInactive RuleStatus = "Inactive" )
func (*RuleStatus) UnmarshalJSON ¶
func (s *RuleStatus) UnmarshalJSON(bytes []byte) error
type ServiceTagDestination ¶
type ServiceTagDestination struct { Action *RuleAction `json:"action,omitempty"` AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` PortRanges *string `json:"portRanges,omitempty"` Protocol *string `json:"protocol,omitempty"` ServiceTag *string `json:"serviceTag,omitempty"` }
type ServiceTagOutboundRule ¶
type ServiceTagOutboundRule struct { Destination *ServiceTagDestination `json:"destination,omitempty"` Category *RuleCategory `json:"category,omitempty"` Status *RuleStatus `json:"status,omitempty"` Type RuleType `json:"type"` }
func (ServiceTagOutboundRule) MarshalJSON ¶
func (s ServiceTagOutboundRule) MarshalJSON() ([]byte, error)
func (ServiceTagOutboundRule) OutboundRule ¶ added in v0.20240920.1135249
func (s ServiceTagOutboundRule) OutboundRule() BaseOutboundRuleImpl
type SettingsRuleGetOperationResponse ¶
type SettingsRuleGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OutboundRuleBasicResource }
type SettingsRuleListCompleteResult ¶
type SettingsRuleListCompleteResult struct { LatestHttpResponse *http.Response Items []OutboundRuleBasicResource }
type SettingsRuleListCustomPager ¶ added in v0.20240628.1153531
func (*SettingsRuleListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *SettingsRuleListCustomPager) NextPageLink() *odata.Link
type SettingsRuleListOperationResponse ¶
type SettingsRuleListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OutboundRuleBasicResource }
type WorkspaceId ¶
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
Source Files ¶
- client.go
- constants.go
- id_outboundrule.go
- id_workspace.go
- method_provisionsprovisionmanagednetwork.go
- method_settingsrulecreateorupdate.go
- method_settingsruledelete.go
- method_settingsruleget.go
- method_settingsrulelist.go
- model_fqdnoutboundrule.go
- model_managednetworkprovisionoptions.go
- model_managednetworkprovisionstatus.go
- model_outboundrule.go
- model_outboundrulebasicresource.go
- model_privateendpointdestination.go
- model_privateendpointoutboundrule.go
- model_servicetagdestination.go
- model_servicetagoutboundrule.go
- predicates.go
- version.go