Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateFirewallRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FirewallRuleId
- type GetOperationResponse
- type IPFirewallRuleInfo
- type IPFirewallRuleInfoOperationPredicate
- type IPFirewallRuleProperties
- type IPFirewallRulesClient
- func (c IPFirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, input IPFirewallRuleInfo) (result CreateOrUpdateOperationResponse, err error)
- func (c IPFirewallRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id FirewallRuleId, input IPFirewallRuleInfo) error
- func (c IPFirewallRulesClient) Delete(ctx context.Context, id FirewallRuleId) (result DeleteOperationResponse, err error)
- func (c IPFirewallRulesClient) DeleteThenPoll(ctx context.Context, id FirewallRuleId) error
- func (c IPFirewallRulesClient) Get(ctx context.Context, id FirewallRuleId) (result GetOperationResponse, err error)
- func (c IPFirewallRulesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
- func (c IPFirewallRulesClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (ListByWorkspaceCompleteResult, error)
- func (c IPFirewallRulesClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result ListByWorkspaceCompleteResult, err error)
- func (c IPFirewallRulesClient) ReplaceAll(ctx context.Context, id WorkspaceId, input ReplaceAllIPFirewallRulesRequest) (result ReplaceAllOperationResponse, err error)
- func (c IPFirewallRulesClient) ReplaceAllThenPoll(ctx context.Context, id WorkspaceId, input ReplaceAllIPFirewallRulesRequest) error
- type ListByWorkspaceCompleteResult
- type ListByWorkspaceCustomPager
- type ListByWorkspaceOperationResponse
- type ProvisioningState
- type ReplaceAllFirewallRulesOperationResponse
- type ReplaceAllIPFirewallRulesRequest
- type ReplaceAllOperationResponse
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateFirewallRuleID ¶
ValidateFirewallRuleID checks that 'input' can be parsed as a Firewall Rule ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type DeleteOperationResponse ¶
type FirewallRuleId ¶
type FirewallRuleId struct { SubscriptionId string ResourceGroupName string WorkspaceName string FirewallRuleName string }
FirewallRuleId is a struct representing the Resource ID for a Firewall Rule
func NewFirewallRuleID ¶
func NewFirewallRuleID(subscriptionId string, resourceGroupName string, workspaceName string, firewallRuleName string) FirewallRuleId
NewFirewallRuleID returns a new FirewallRuleId struct
func ParseFirewallRuleID ¶
func ParseFirewallRuleID(input string) (*FirewallRuleId, error)
ParseFirewallRuleID parses 'input' into a FirewallRuleId
func ParseFirewallRuleIDInsensitively ¶
func ParseFirewallRuleIDInsensitively(input string) (*FirewallRuleId, error)
ParseFirewallRuleIDInsensitively parses 'input' case-insensitively into a FirewallRuleId note: this method should only be used for API response data and not user input
func (*FirewallRuleId) FromParseResult ¶
func (id *FirewallRuleId) FromParseResult(input resourceids.ParseResult) error
func (FirewallRuleId) ID ¶
func (id FirewallRuleId) ID() string
ID returns the formatted Firewall Rule ID
func (FirewallRuleId) Segments ¶
func (id FirewallRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Firewall Rule ID
func (FirewallRuleId) String ¶
func (id FirewallRuleId) String() string
String returns a human-readable description of this Firewall Rule ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *IPFirewallRuleInfo }
type IPFirewallRuleInfo ¶
type IPFirewallRuleInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IPFirewallRuleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type IPFirewallRuleInfoOperationPredicate ¶
func (IPFirewallRuleInfoOperationPredicate) Matches ¶
func (p IPFirewallRuleInfoOperationPredicate) Matches(input IPFirewallRuleInfo) bool
type IPFirewallRuleProperties ¶
type IPFirewallRuleProperties struct { EndIPAddress *string `json:"endIpAddress,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` StartIPAddress *string `json:"startIpAddress,omitempty"` }
type IPFirewallRulesClient ¶
type IPFirewallRulesClient struct {
Client *resourcemanager.Client
}
func NewIPFirewallRulesClientWithBaseURI ¶
func NewIPFirewallRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*IPFirewallRulesClient, error)
func (IPFirewallRulesClient) CreateOrUpdate ¶
func (c IPFirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, input IPFirewallRuleInfo) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IPFirewallRulesClient) CreateOrUpdateThenPoll ¶
func (c IPFirewallRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id FirewallRuleId, input IPFirewallRuleInfo) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (IPFirewallRulesClient) Delete ¶
func (c IPFirewallRulesClient) Delete(ctx context.Context, id FirewallRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (IPFirewallRulesClient) DeleteThenPoll ¶
func (c IPFirewallRulesClient) DeleteThenPoll(ctx context.Context, id FirewallRuleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (IPFirewallRulesClient) Get ¶
func (c IPFirewallRulesClient) Get(ctx context.Context, id FirewallRuleId) (result GetOperationResponse, err error)
Get ...
func (IPFirewallRulesClient) ListByWorkspace ¶
func (c IPFirewallRulesClient) ListByWorkspace(ctx context.Context, id WorkspaceId) (result ListByWorkspaceOperationResponse, err error)
ListByWorkspace ...
func (IPFirewallRulesClient) ListByWorkspaceComplete ¶
func (c IPFirewallRulesClient) ListByWorkspaceComplete(ctx context.Context, id WorkspaceId) (ListByWorkspaceCompleteResult, error)
ListByWorkspaceComplete retrieves all the results into a single object
func (IPFirewallRulesClient) ListByWorkspaceCompleteMatchingPredicate ¶
func (c IPFirewallRulesClient) ListByWorkspaceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, predicate IPFirewallRuleInfoOperationPredicate) (result ListByWorkspaceCompleteResult, err error)
ListByWorkspaceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (IPFirewallRulesClient) ReplaceAll ¶
func (c IPFirewallRulesClient) ReplaceAll(ctx context.Context, id WorkspaceId, input ReplaceAllIPFirewallRulesRequest) (result ReplaceAllOperationResponse, err error)
ReplaceAll ...
func (IPFirewallRulesClient) ReplaceAllThenPoll ¶
func (c IPFirewallRulesClient) ReplaceAllThenPoll(ctx context.Context, id WorkspaceId, input ReplaceAllIPFirewallRulesRequest) error
ReplaceAllThenPoll performs ReplaceAll then polls until it's completed
type ListByWorkspaceCompleteResult ¶
type ListByWorkspaceCompleteResult struct { LatestHttpResponse *http.Response Items []IPFirewallRuleInfo }
type ListByWorkspaceCustomPager ¶ added in v0.20240628.1153531
func (*ListByWorkspaceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByWorkspaceCustomPager) NextPageLink() *odata.Link
type ListByWorkspaceOperationResponse ¶
type ListByWorkspaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IPFirewallRuleInfo }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleteError ProvisioningState = "DeleteError" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ReplaceAllFirewallRulesOperationResponse ¶
type ReplaceAllFirewallRulesOperationResponse struct {
OperationId *string `json:"operationId,omitempty"`
}
type ReplaceAllIPFirewallRulesRequest ¶
type ReplaceAllIPFirewallRulesRequest struct {
IPFirewallRules *map[string]IPFirewallRuleProperties `json:"ipFirewallRules,omitempty"`
}
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_firewallrule.go
- id_workspace.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyworkspace.go
- method_replaceall.go
- model_ipfirewallruleinfo.go
- model_ipfirewallruleproperties.go
- model_replaceallfirewallrulesoperationresponse.go
- model_replaceallipfirewallrulesrequest.go
- predicates.go
- version.go