Documentation ¶
Index ¶
- func PossibleValuesForNetworkProtocol() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateReachabilityAnalysisRunID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVerifierWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IPTraffic
- type IntentContent
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type NetworkProtocol
- type ProvisioningState
- type ReachabilityAnalysisRun
- type ReachabilityAnalysisRunId
- func NewReachabilityAnalysisRunID(subscriptionId string, resourceGroupName string, networkManagerName string, ...) ReachabilityAnalysisRunId
- func ParseReachabilityAnalysisRunID(input string) (*ReachabilityAnalysisRunId, error)
- func ParseReachabilityAnalysisRunIDInsensitively(input string) (*ReachabilityAnalysisRunId, error)
- type ReachabilityAnalysisRunOperationPredicate
- type ReachabilityAnalysisRunProperties
- type ReachabilityAnalysisRunsClient
- func (c ReachabilityAnalysisRunsClient) Create(ctx context.Context, id ReachabilityAnalysisRunId, ...) (result CreateOperationResponse, err error)
- func (c ReachabilityAnalysisRunsClient) Delete(ctx context.Context, id ReachabilityAnalysisRunId) (result DeleteOperationResponse, err error)
- func (c ReachabilityAnalysisRunsClient) DeleteThenPoll(ctx context.Context, id ReachabilityAnalysisRunId) error
- func (c ReachabilityAnalysisRunsClient) Get(ctx context.Context, id ReachabilityAnalysisRunId) (result GetOperationResponse, err error)
- func (c ReachabilityAnalysisRunsClient) List(ctx context.Context, id VerifierWorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ReachabilityAnalysisRunsClient) ListComplete(ctx context.Context, id VerifierWorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ReachabilityAnalysisRunsClient) ListCompleteMatchingPredicate(ctx context.Context, id VerifierWorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type VerifierWorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForNetworkProtocol ¶
func PossibleValuesForNetworkProtocol() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateReachabilityAnalysisRunID ¶
func ValidateReachabilityAnalysisRunID(input interface{}, key string) (warnings []string, errors []error)
ValidateReachabilityAnalysisRunID checks that 'input' can be parsed as a Reachability Analysis Run ID
func ValidateVerifierWorkspaceID ¶
ValidateVerifierWorkspaceID checks that 'input' can be parsed as a Verifier Workspace ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ReachabilityAnalysisRun }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ReachabilityAnalysisRun }
type IPTraffic ¶
type IPTraffic struct { DestinationIPs []string `json:"destinationIps"` DestinationPorts []string `json:"destinationPorts"` Protocols []NetworkProtocol `json:"protocols"` SourceIPs []string `json:"sourceIps"` SourcePorts []string `json:"sourcePorts"` }
type IntentContent ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ReachabilityAnalysisRun }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct { Skip *int64 SkipToken *string SortKey *string SortValue *string Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ReachabilityAnalysisRun }
type NetworkProtocol ¶
type NetworkProtocol string
const ( NetworkProtocolAny NetworkProtocol = "Any" NetworkProtocolICMP NetworkProtocol = "ICMP" NetworkProtocolTCP NetworkProtocol = "TCP" NetworkProtocolUDP NetworkProtocol = "UDP" )
func (*NetworkProtocol) UnmarshalJSON ¶
func (s *NetworkProtocol) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ReachabilityAnalysisRun ¶
type ReachabilityAnalysisRun struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ReachabilityAnalysisRunProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ReachabilityAnalysisRunId ¶
type ReachabilityAnalysisRunId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string VerifierWorkspaceName string ReachabilityAnalysisRunName string }
ReachabilityAnalysisRunId is a struct representing the Resource ID for a Reachability Analysis Run
func NewReachabilityAnalysisRunID ¶
func NewReachabilityAnalysisRunID(subscriptionId string, resourceGroupName string, networkManagerName string, verifierWorkspaceName string, reachabilityAnalysisRunName string) ReachabilityAnalysisRunId
NewReachabilityAnalysisRunID returns a new ReachabilityAnalysisRunId struct
func ParseReachabilityAnalysisRunID ¶
func ParseReachabilityAnalysisRunID(input string) (*ReachabilityAnalysisRunId, error)
ParseReachabilityAnalysisRunID parses 'input' into a ReachabilityAnalysisRunId
func ParseReachabilityAnalysisRunIDInsensitively ¶
func ParseReachabilityAnalysisRunIDInsensitively(input string) (*ReachabilityAnalysisRunId, error)
ParseReachabilityAnalysisRunIDInsensitively parses 'input' case-insensitively into a ReachabilityAnalysisRunId note: this method should only be used for API response data and not user input
func (*ReachabilityAnalysisRunId) FromParseResult ¶
func (id *ReachabilityAnalysisRunId) FromParseResult(input resourceids.ParseResult) error
func (ReachabilityAnalysisRunId) ID ¶
func (id ReachabilityAnalysisRunId) ID() string
ID returns the formatted Reachability Analysis Run ID
func (ReachabilityAnalysisRunId) Segments ¶
func (id ReachabilityAnalysisRunId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Reachability Analysis Run ID
func (ReachabilityAnalysisRunId) String ¶
func (id ReachabilityAnalysisRunId) String() string
String returns a human-readable description of this Reachability Analysis Run ID
type ReachabilityAnalysisRunOperationPredicate ¶
func (ReachabilityAnalysisRunOperationPredicate) Matches ¶
func (p ReachabilityAnalysisRunOperationPredicate) Matches(input ReachabilityAnalysisRun) bool
type ReachabilityAnalysisRunProperties ¶
type ReachabilityAnalysisRunProperties struct { AnalysisResult *string `json:"analysisResult,omitempty"` Description *string `json:"description,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` IntentContent *IntentContent `json:"intentContent,omitempty"` IntentId string `json:"intentId"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ReachabilityAnalysisRunsClient ¶
type ReachabilityAnalysisRunsClient struct {
Client *resourcemanager.Client
}
func NewReachabilityAnalysisRunsClientWithBaseURI ¶
func NewReachabilityAnalysisRunsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReachabilityAnalysisRunsClient, error)
func (ReachabilityAnalysisRunsClient) Create ¶
func (c ReachabilityAnalysisRunsClient) Create(ctx context.Context, id ReachabilityAnalysisRunId, input ReachabilityAnalysisRun) (result CreateOperationResponse, err error)
Create ...
func (ReachabilityAnalysisRunsClient) Delete ¶
func (c ReachabilityAnalysisRunsClient) Delete(ctx context.Context, id ReachabilityAnalysisRunId) (result DeleteOperationResponse, err error)
Delete ...
func (ReachabilityAnalysisRunsClient) DeleteThenPoll ¶
func (c ReachabilityAnalysisRunsClient) DeleteThenPoll(ctx context.Context, id ReachabilityAnalysisRunId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ReachabilityAnalysisRunsClient) Get ¶
func (c ReachabilityAnalysisRunsClient) Get(ctx context.Context, id ReachabilityAnalysisRunId) (result GetOperationResponse, err error)
Get ...
func (ReachabilityAnalysisRunsClient) List ¶
func (c ReachabilityAnalysisRunsClient) List(ctx context.Context, id VerifierWorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ReachabilityAnalysisRunsClient) ListComplete ¶
func (c ReachabilityAnalysisRunsClient) ListComplete(ctx context.Context, id VerifierWorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ReachabilityAnalysisRunsClient) ListCompleteMatchingPredicate ¶
func (c ReachabilityAnalysisRunsClient) ListCompleteMatchingPredicate(ctx context.Context, id VerifierWorkspaceId, options ListOperationOptions, predicate ReachabilityAnalysisRunOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type VerifierWorkspaceId ¶
type VerifierWorkspaceId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string VerifierWorkspaceName string }
VerifierWorkspaceId is a struct representing the Resource ID for a Verifier Workspace
func NewVerifierWorkspaceID ¶
func NewVerifierWorkspaceID(subscriptionId string, resourceGroupName string, networkManagerName string, verifierWorkspaceName string) VerifierWorkspaceId
NewVerifierWorkspaceID returns a new VerifierWorkspaceId struct
func ParseVerifierWorkspaceID ¶
func ParseVerifierWorkspaceID(input string) (*VerifierWorkspaceId, error)
ParseVerifierWorkspaceID parses 'input' into a VerifierWorkspaceId
func ParseVerifierWorkspaceIDInsensitively ¶
func ParseVerifierWorkspaceIDInsensitively(input string) (*VerifierWorkspaceId, error)
ParseVerifierWorkspaceIDInsensitively parses 'input' case-insensitively into a VerifierWorkspaceId note: this method should only be used for API response data and not user input
func (*VerifierWorkspaceId) FromParseResult ¶
func (id *VerifierWorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (VerifierWorkspaceId) ID ¶
func (id VerifierWorkspaceId) ID() string
ID returns the formatted Verifier Workspace ID
func (VerifierWorkspaceId) Segments ¶
func (id VerifierWorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Verifier Workspace ID
func (VerifierWorkspaceId) String ¶
func (id VerifierWorkspaceId) String() string
String returns a human-readable description of this Verifier Workspace ID