Documentation ¶
Index ¶
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTopologyID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByHomeRegionCompleteResult
- type ListByHomeRegionOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type LocationId
- type TopologyClient
- func (c TopologyClient) Get(ctx context.Context, id TopologyId) (result GetOperationResponse, err error)
- func (c TopologyClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c TopologyClient) ListByHomeRegion(ctx context.Context, id LocationId) (result ListByHomeRegionOperationResponse, err error)
- func (c TopologyClient) ListByHomeRegionComplete(ctx context.Context, id LocationId) (ListByHomeRegionCompleteResult, error)
- func (c TopologyClient) ListByHomeRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (result ListByHomeRegionCompleteResult, err error)
- func (c TopologyClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c TopologyClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- type TopologyId
- type TopologyResource
- type TopologyResourceOperationPredicate
- type TopologyResourceProperties
- type TopologySingleResource
- type TopologySingleResourceChild
- type TopologySingleResourceParent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateTopologyID ¶
ValidateTopologyID checks that 'input' can be parsed as a Topology ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TopologyResource }
type ListByHomeRegionCompleteResult ¶
type ListByHomeRegionCompleteResult struct { LatestHttpResponse *http.Response Items []TopologyResource }
type ListByHomeRegionOperationResponse ¶
type ListByHomeRegionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TopologyResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []TopologyResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TopologyResource }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type TopologyClient ¶
type TopologyClient struct {
Client *resourcemanager.Client
}
func NewTopologyClientWithBaseURI ¶
func NewTopologyClientWithBaseURI(sdkApi sdkEnv.Api) (*TopologyClient, error)
func (TopologyClient) Get ¶
func (c TopologyClient) Get(ctx context.Context, id TopologyId) (result GetOperationResponse, err error)
Get ...
func (TopologyClient) List ¶
func (c TopologyClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (TopologyClient) ListByHomeRegion ¶
func (c TopologyClient) ListByHomeRegion(ctx context.Context, id LocationId) (result ListByHomeRegionOperationResponse, err error)
ListByHomeRegion ...
func (TopologyClient) ListByHomeRegionComplete ¶
func (c TopologyClient) ListByHomeRegionComplete(ctx context.Context, id LocationId) (ListByHomeRegionCompleteResult, error)
ListByHomeRegionComplete retrieves all the results into a single object
func (TopologyClient) ListByHomeRegionCompleteMatchingPredicate ¶
func (c TopologyClient) ListByHomeRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate TopologyResourceOperationPredicate) (result ListByHomeRegionCompleteResult, err error)
ListByHomeRegionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TopologyClient) ListComplete ¶
func (c TopologyClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TopologyClient) ListCompleteMatchingPredicate ¶
func (c TopologyClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate TopologyResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type TopologyId ¶
type TopologyId struct { SubscriptionId string ResourceGroupName string LocationName string TopologyName string }
TopologyId is a struct representing the Resource ID for a Topology
func NewTopologyID ¶
func NewTopologyID(subscriptionId string, resourceGroupName string, locationName string, topologyName string) TopologyId
NewTopologyID returns a new TopologyId struct
func ParseTopologyID ¶
func ParseTopologyID(input string) (*TopologyId, error)
ParseTopologyID parses 'input' into a TopologyId
func ParseTopologyIDInsensitively ¶
func ParseTopologyIDInsensitively(input string) (*TopologyId, error)
ParseTopologyIDInsensitively parses 'input' case-insensitively into a TopologyId note: this method should only be used for API response data and not user input
func (*TopologyId) FromParseResult ¶
func (id *TopologyId) FromParseResult(input resourceids.ParseResult) error
func (TopologyId) Segments ¶
func (id TopologyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Topology ID
func (TopologyId) String ¶
func (id TopologyId) String() string
String returns a human-readable description of this Topology ID
type TopologyResource ¶
type TopologyResource struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *TopologyResourceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TopologyResourceOperationPredicate ¶
type TopologyResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (TopologyResourceOperationPredicate) Matches ¶
func (p TopologyResourceOperationPredicate) Matches(input TopologyResource) bool
type TopologyResourceProperties ¶
type TopologyResourceProperties struct { CalculatedDateTime *string `json:"calculatedDateTime,omitempty"` TopologyResources *[]TopologySingleResource `json:"topologyResources,omitempty"` }
func (*TopologyResourceProperties) GetCalculatedDateTimeAsTime ¶
func (o *TopologyResourceProperties) GetCalculatedDateTimeAsTime() (*time.Time, error)
func (*TopologyResourceProperties) SetCalculatedDateTimeAsTime ¶
func (o *TopologyResourceProperties) SetCalculatedDateTimeAsTime(input time.Time)
type TopologySingleResource ¶
type TopologySingleResource struct { Children *[]TopologySingleResourceChild `json:"children,omitempty"` Location *string `json:"location,omitempty"` NetworkZones *string `json:"networkZones,omitempty"` Parents *[]TopologySingleResourceParent `json:"parents,omitempty"` RecommendationsExist *bool `json:"recommendationsExist,omitempty"` ResourceId *string `json:"resourceId,omitempty"` Severity *string `json:"severity,omitempty"` TopologyScore *int64 `json:"topologyScore,omitempty"` }
type TopologySingleResourceChild ¶
type TopologySingleResourceChild struct {
ResourceId *string `json:"resourceId,omitempty"`
}
type TopologySingleResourceParent ¶
type TopologySingleResourceParent struct {
ResourceId *string `json:"resourceId,omitempty"`
}