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) (resp ListOperationResponse, err error)
- func (c TopologyClient) ListByHomeRegion(ctx context.Context, id LocationId) (resp ListByHomeRegionOperationResponse, err error)
- func (c TopologyClient) ListByHomeRegionComplete(ctx context.Context, id LocationId) (ListByHomeRegionCompleteResult, error)
- func (c TopologyClient) ListByHomeRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (resp 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, ...) (resp 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 Model *TopologyResource }
type ListByHomeRegionCompleteResult ¶
type ListByHomeRegionCompleteResult struct {
Items []TopologyResource
}
type ListByHomeRegionOperationResponse ¶
type ListByHomeRegionOperationResponse struct { HttpResponse *http.Response Model *[]TopologyResource // contains filtered or unexported fields }
func (ListByHomeRegionOperationResponse) HasMore ¶
func (r ListByHomeRegionOperationResponse) HasMore() bool
func (ListByHomeRegionOperationResponse) LoadMore ¶
func (r ListByHomeRegionOperationResponse) LoadMore(ctx context.Context) (resp ListByHomeRegionOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []TopologyResource
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]TopologyResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
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) 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 ¶
func NewTopologyClientWithBaseURI ¶
func NewTopologyClientWithBaseURI(endpoint string) TopologyClient
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) (resp ListOperationResponse, err error)
List ...
func (TopologyClient) ListByHomeRegion ¶
func (c TopologyClient) ListByHomeRegion(ctx context.Context, id LocationId) (resp ListByHomeRegionOperationResponse, err error)
ListByHomeRegion ...
func (TopologyClient) ListByHomeRegionComplete ¶
func (c TopologyClient) ListByHomeRegionComplete(ctx context.Context, id LocationId) (ListByHomeRegionCompleteResult, error)
ListByHomeRegionComplete retrieves all of the results into a single object
func (TopologyClient) ListByHomeRegionCompleteMatchingPredicate ¶
func (c TopologyClient) ListByHomeRegionCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate TopologyResourceOperationPredicate) (resp ListByHomeRegionCompleteResult, err error)
ListByHomeRegionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (TopologyClient) ListComplete ¶
func (c TopologyClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (TopologyClient) ListCompleteMatchingPredicate ¶
func (c TopologyClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate TopologyResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied 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) 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"`
}
Source Files ¶
- client.go
- id_location.go
- id_topology.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyhomeregion_autorest.go
- model_topologyresource.go
- model_topologyresourceproperties.go
- model_topologysingleresource.go
- model_topologysingleresourcechild.go
- model_topologysingleresourceparent.go
- predicates.go
- version.go