README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-03-01-preview/outboundnetworkdependenciesendpoints
Documentation
The outboundnetworkdependenciesendpoints
SDK allows for interaction with Azure Resource Manager apimanagement
(API Version 2023-03-01-preview
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-03-01-preview/outboundnetworkdependenciesendpoints"
Client Initialization
client := outboundnetworkdependenciesendpoints.NewOutboundNetworkDependenciesEndpointsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: OutboundNetworkDependenciesEndpointsClient.ListByService
ctx := context.TODO()
id := outboundnetworkdependenciesendpoints.NewServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName")
// alternatively `client.ListByService(ctx, id)` can be used to do batched pagination
items, err := client.ListByServiceComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Documentation ¶
Index ¶
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type EndpointDependency
- type EndpointDetail
- type ListByServiceCompleteResult
- type ListByServiceCustomPager
- type ListByServiceOperationResponse
- type OutboundEnvironmentEndpoint
- type OutboundEnvironmentEndpointOperationPredicate
- type OutboundNetworkDependenciesEndpointsClient
- func (c OutboundNetworkDependenciesEndpointsClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
- func (c OutboundNetworkDependenciesEndpointsClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
- func (c OutboundNetworkDependenciesEndpointsClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (result ListByServiceCompleteResult, err error)
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type EndpointDependency ¶
type EndpointDependency struct { DomainName *string `json:"domainName,omitempty"` EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"` }
type EndpointDetail ¶
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []OutboundEnvironmentEndpoint }
type ListByServiceCustomPager ¶
func (*ListByServiceCustomPager) NextPageLink ¶
func (p *ListByServiceCustomPager) NextPageLink() *odata.Link
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]OutboundEnvironmentEndpoint }
type OutboundEnvironmentEndpoint ¶
type OutboundEnvironmentEndpoint struct { Category *string `json:"category,omitempty"` Endpoints *[]EndpointDependency `json:"endpoints,omitempty"` }
type OutboundEnvironmentEndpointOperationPredicate ¶
type OutboundEnvironmentEndpointOperationPredicate struct {
Category *string
}
func (OutboundEnvironmentEndpointOperationPredicate) Matches ¶
func (p OutboundEnvironmentEndpointOperationPredicate) Matches(input OutboundEnvironmentEndpoint) bool
type OutboundNetworkDependenciesEndpointsClient ¶
type OutboundNetworkDependenciesEndpointsClient struct {
Client *resourcemanager.Client
}
func NewOutboundNetworkDependenciesEndpointsClientWithBaseURI ¶
func NewOutboundNetworkDependenciesEndpointsClientWithBaseURI(sdkApi sdkEnv.Api) (*OutboundNetworkDependenciesEndpointsClient, error)
func (OutboundNetworkDependenciesEndpointsClient) ListByService ¶
func (c OutboundNetworkDependenciesEndpointsClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
ListByService ...
func (OutboundNetworkDependenciesEndpointsClient) ListByServiceComplete ¶
func (c OutboundNetworkDependenciesEndpointsClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (OutboundNetworkDependenciesEndpointsClient) ListByServiceCompleteMatchingPredicate ¶
func (c OutboundNetworkDependenciesEndpointsClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate OutboundEnvironmentEndpointOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID