Documentation ¶
Index ¶
- func PossibleValuesForLogMetricsGranularity() []string
- func PossibleValuesForMetricsGranularity() []string
- func PossibleValuesForMetricsSeriesUnit() []string
- func ValidateProfileID(input interface{}, key string) (warnings []string, errors []error)
- type ContinentsResponse
- type ContinentsResponseContinentsInlined
- type ContinentsResponseCountryOrRegionsInlined
- type GetLogAnalyticsLocationsOperationResponse
- type GetLogAnalyticsMetricsOperationOptions
- type GetLogAnalyticsMetricsOperationResponse
- type GetLogAnalyticsRankingsOperationOptions
- type GetLogAnalyticsRankingsOperationResponse
- type GetLogAnalyticsResourcesOperationResponse
- type LogAnalyticsClient
- func (c LogAnalyticsClient) GetLogAnalyticsLocations(ctx context.Context, id ProfileId) (result GetLogAnalyticsLocationsOperationResponse, err error)
- func (c LogAnalyticsClient) GetLogAnalyticsMetrics(ctx context.Context, id ProfileId, ...) (result GetLogAnalyticsMetricsOperationResponse, err error)
- func (c LogAnalyticsClient) GetLogAnalyticsRankings(ctx context.Context, id ProfileId, ...) (result GetLogAnalyticsRankingsOperationResponse, err error)
- func (c LogAnalyticsClient) GetLogAnalyticsResources(ctx context.Context, id ProfileId) (result GetLogAnalyticsResourcesOperationResponse, err error)
- type LogMetricsGranularity
- type MetricsGranularity
- type MetricsResponse
- type MetricsResponseSeriesInlined
- type MetricsResponseSeriesInlinedDataInlined
- type MetricsResponseSeriesInlinedGroupsInlined
- type MetricsSeriesUnit
- type ProfileId
- type RankingsResponse
- type RankingsResponseTablesInlined
- type RankingsResponseTablesInlinedDataInlined
- type RankingsResponseTablesInlinedDataInlinedMetricsInlined
- type ResourcesResponse
- type ResourcesResponseCustomDomainsInlined
- type ResourcesResponseEndpointsInlined
- type ResourcesResponseEndpointsInlinedCustomDomainsInlined
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLogMetricsGranularity ¶
func PossibleValuesForLogMetricsGranularity() []string
func PossibleValuesForMetricsGranularity ¶
func PossibleValuesForMetricsGranularity() []string
func PossibleValuesForMetricsSeriesUnit ¶
func PossibleValuesForMetricsSeriesUnit() []string
func ValidateProfileID ¶
ValidateProfileID checks that 'input' can be parsed as a Profile ID
Types ¶
type ContinentsResponse ¶
type ContinentsResponse struct { Continents *[]ContinentsResponseContinentsInlined `json:"continents,omitempty"` CountryOrRegions *[]ContinentsResponseCountryOrRegionsInlined `json:"countryOrRegions,omitempty"` }
type ContinentsResponseContinentsInlined ¶
type ContinentsResponseContinentsInlined struct {
Id *string `json:"id,omitempty"`
}
type GetLogAnalyticsLocationsOperationResponse ¶
type GetLogAnalyticsLocationsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ContinentsResponse }
type GetLogAnalyticsMetricsOperationOptions ¶
type GetLogAnalyticsMetricsOperationOptions struct { Continents *[]string CountryOrRegions *[]string CustomDomains *[]string DateTimeBegin *string DateTimeEnd *string Granularity *LogMetricsGranularity GroupBy *[]string Metrics *[]string Protocols *[]string }
func DefaultGetLogAnalyticsMetricsOperationOptions ¶
func DefaultGetLogAnalyticsMetricsOperationOptions() GetLogAnalyticsMetricsOperationOptions
func (GetLogAnalyticsMetricsOperationOptions) ToHeaders ¶
func (o GetLogAnalyticsMetricsOperationOptions) ToHeaders() *client.Headers
func (GetLogAnalyticsMetricsOperationOptions) ToOData ¶
func (o GetLogAnalyticsMetricsOperationOptions) ToOData() *odata.Query
func (GetLogAnalyticsMetricsOperationOptions) ToQuery ¶
func (o GetLogAnalyticsMetricsOperationOptions) ToQuery() *client.QueryParams
type GetLogAnalyticsMetricsOperationResponse ¶
type GetLogAnalyticsMetricsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MetricsResponse }
type GetLogAnalyticsRankingsOperationOptions ¶
type GetLogAnalyticsRankingsOperationOptions struct { CustomDomains *[]string DateTimeBegin *string DateTimeEnd *string MaxRanking *int64 Metrics *[]string Rankings *[]string }
func DefaultGetLogAnalyticsRankingsOperationOptions ¶
func DefaultGetLogAnalyticsRankingsOperationOptions() GetLogAnalyticsRankingsOperationOptions
func (GetLogAnalyticsRankingsOperationOptions) ToHeaders ¶
func (o GetLogAnalyticsRankingsOperationOptions) ToHeaders() *client.Headers
func (GetLogAnalyticsRankingsOperationOptions) ToOData ¶
func (o GetLogAnalyticsRankingsOperationOptions) ToOData() *odata.Query
func (GetLogAnalyticsRankingsOperationOptions) ToQuery ¶
func (o GetLogAnalyticsRankingsOperationOptions) ToQuery() *client.QueryParams
type GetLogAnalyticsRankingsOperationResponse ¶
type GetLogAnalyticsRankingsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RankingsResponse }
type GetLogAnalyticsResourcesOperationResponse ¶
type GetLogAnalyticsResourcesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourcesResponse }
type LogAnalyticsClient ¶
type LogAnalyticsClient struct {
Client *resourcemanager.Client
}
func NewLogAnalyticsClientWithBaseURI ¶
func NewLogAnalyticsClientWithBaseURI(sdkApi sdkEnv.Api) (*LogAnalyticsClient, error)
func (LogAnalyticsClient) GetLogAnalyticsLocations ¶
func (c LogAnalyticsClient) GetLogAnalyticsLocations(ctx context.Context, id ProfileId) (result GetLogAnalyticsLocationsOperationResponse, err error)
GetLogAnalyticsLocations ...
func (LogAnalyticsClient) GetLogAnalyticsMetrics ¶
func (c LogAnalyticsClient) GetLogAnalyticsMetrics(ctx context.Context, id ProfileId, options GetLogAnalyticsMetricsOperationOptions) (result GetLogAnalyticsMetricsOperationResponse, err error)
GetLogAnalyticsMetrics ...
func (LogAnalyticsClient) GetLogAnalyticsRankings ¶
func (c LogAnalyticsClient) GetLogAnalyticsRankings(ctx context.Context, id ProfileId, options GetLogAnalyticsRankingsOperationOptions) (result GetLogAnalyticsRankingsOperationResponse, err error)
GetLogAnalyticsRankings ...
func (LogAnalyticsClient) GetLogAnalyticsResources ¶
func (c LogAnalyticsClient) GetLogAnalyticsResources(ctx context.Context, id ProfileId) (result GetLogAnalyticsResourcesOperationResponse, err error)
GetLogAnalyticsResources ...
type LogMetricsGranularity ¶
type LogMetricsGranularity string
const ( LogMetricsGranularityPOneD LogMetricsGranularity = "P1D" LogMetricsGranularityPTFiveM LogMetricsGranularity = "PT5M" LogMetricsGranularityPTOneH LogMetricsGranularity = "PT1H" )
func (*LogMetricsGranularity) UnmarshalJSON ¶
func (s *LogMetricsGranularity) UnmarshalJSON(bytes []byte) error
type MetricsGranularity ¶
type MetricsGranularity string
const ( MetricsGranularityPOneD MetricsGranularity = "P1D" MetricsGranularityPTFiveM MetricsGranularity = "PT5M" MetricsGranularityPTOneH MetricsGranularity = "PT1H" )
func (*MetricsGranularity) UnmarshalJSON ¶
func (s *MetricsGranularity) UnmarshalJSON(bytes []byte) error
type MetricsResponse ¶
type MetricsResponse struct { DateTimeBegin *string `json:"dateTimeBegin,omitempty"` DateTimeEnd *string `json:"dateTimeEnd,omitempty"` Granularity *MetricsGranularity `json:"granularity,omitempty"` Series *[]MetricsResponseSeriesInlined `json:"series,omitempty"` }
func (*MetricsResponse) GetDateTimeBeginAsTime ¶
func (o *MetricsResponse) GetDateTimeBeginAsTime() (*time.Time, error)
func (*MetricsResponse) GetDateTimeEndAsTime ¶
func (o *MetricsResponse) GetDateTimeEndAsTime() (*time.Time, error)
func (*MetricsResponse) SetDateTimeBeginAsTime ¶
func (o *MetricsResponse) SetDateTimeBeginAsTime(input time.Time)
func (*MetricsResponse) SetDateTimeEndAsTime ¶
func (o *MetricsResponse) SetDateTimeEndAsTime(input time.Time)
type MetricsResponseSeriesInlined ¶
type MetricsResponseSeriesInlined struct { Data *[]MetricsResponseSeriesInlinedDataInlined `json:"data,omitempty"` Groups *[]MetricsResponseSeriesInlinedGroupsInlined `json:"groups,omitempty"` Metric *string `json:"metric,omitempty"` Unit *MetricsSeriesUnit `json:"unit,omitempty"` }
type MetricsResponseSeriesInlinedDataInlined ¶
type MetricsResponseSeriesInlinedDataInlined struct { DateTime *string `json:"dateTime,omitempty"` Value *float64 `json:"value,omitempty"` }
func (*MetricsResponseSeriesInlinedDataInlined) GetDateTimeAsTime ¶
func (o *MetricsResponseSeriesInlinedDataInlined) GetDateTimeAsTime() (*time.Time, error)
func (*MetricsResponseSeriesInlinedDataInlined) SetDateTimeAsTime ¶
func (o *MetricsResponseSeriesInlinedDataInlined) SetDateTimeAsTime(input time.Time)
type MetricsSeriesUnit ¶
type MetricsSeriesUnit string
const ( MetricsSeriesUnitBitsPerSecond MetricsSeriesUnit = "bitsPerSecond" MetricsSeriesUnitBytes MetricsSeriesUnit = "bytes" MetricsSeriesUnitCount MetricsSeriesUnit = "count" MetricsSeriesUnitMilliSeconds MetricsSeriesUnit = "milliSeconds" )
func (*MetricsSeriesUnit) UnmarshalJSON ¶
func (s *MetricsSeriesUnit) UnmarshalJSON(bytes []byte) error
type ProfileId ¶
ProfileId is a struct representing the Resource ID for a Profile
func NewProfileID ¶
NewProfileID returns a new ProfileId struct
func ParseProfileID ¶
ParseProfileID parses 'input' into a ProfileId
func ParseProfileIDInsensitively ¶
ParseProfileIDInsensitively parses 'input' case-insensitively into a ProfileId note: this method should only be used for API response data and not user input
func (*ProfileId) FromParseResult ¶
func (id *ProfileId) FromParseResult(input resourceids.ParseResult) error
func (ProfileId) Segments ¶
func (id ProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Profile ID
type RankingsResponse ¶
type RankingsResponse struct { DateTimeBegin *string `json:"dateTimeBegin,omitempty"` DateTimeEnd *string `json:"dateTimeEnd,omitempty"` Tables *[]RankingsResponseTablesInlined `json:"tables,omitempty"` }
func (*RankingsResponse) GetDateTimeBeginAsTime ¶
func (o *RankingsResponse) GetDateTimeBeginAsTime() (*time.Time, error)
func (*RankingsResponse) GetDateTimeEndAsTime ¶
func (o *RankingsResponse) GetDateTimeEndAsTime() (*time.Time, error)
func (*RankingsResponse) SetDateTimeBeginAsTime ¶
func (o *RankingsResponse) SetDateTimeBeginAsTime(input time.Time)
func (*RankingsResponse) SetDateTimeEndAsTime ¶
func (o *RankingsResponse) SetDateTimeEndAsTime(input time.Time)
type RankingsResponseTablesInlined ¶
type RankingsResponseTablesInlined struct { Data *[]RankingsResponseTablesInlinedDataInlined `json:"data,omitempty"` Ranking *string `json:"ranking,omitempty"` }
type RankingsResponseTablesInlinedDataInlined ¶
type RankingsResponseTablesInlinedDataInlined struct { Metrics *[]RankingsResponseTablesInlinedDataInlinedMetricsInlined `json:"metrics,omitempty"` Name *string `json:"name,omitempty"` }
type ResourcesResponse ¶
type ResourcesResponse struct { CustomDomains *[]ResourcesResponseCustomDomainsInlined `json:"customDomains,omitempty"` Endpoints *[]ResourcesResponseEndpointsInlined `json:"endpoints,omitempty"` }
type ResourcesResponseEndpointsInlined ¶
type ResourcesResponseEndpointsInlined struct { CustomDomains *[]ResourcesResponseEndpointsInlinedCustomDomainsInlined `json:"customDomains,omitempty"` History *bool `json:"history,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_profile.go
- method_getloganalyticslocations.go
- method_getloganalyticsmetrics.go
- method_getloganalyticsrankings.go
- method_getloganalyticsresources.go
- model_continentsresponse.go
- model_continentsresponsecontinentsinlined.go
- model_continentsresponsecountryorregionsinlined.go
- model_metricsresponse.go
- model_metricsresponseseriesinlined.go
- model_metricsresponseseriesinlineddatainlined.go
- model_metricsresponseseriesinlinedgroupsinlined.go
- model_rankingsresponse.go
- model_rankingsresponsetablesinlined.go
- model_rankingsresponsetablesinlineddatainlined.go
- model_rankingsresponsetablesinlineddatainlinedmetricsinlined.go
- model_resourcesresponse.go
- model_resourcesresponsecustomdomainsinlined.go
- model_resourcesresponseendpointsinlined.go
- model_resourcesresponseendpointsinlinedcustomdomainsinlined.go
- version.go
Click to show internal directories.
Click to hide internal directories.