README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/applicationinsights/2015-05-01/componentfeaturesandpricingapis
Documentation
The componentfeaturesandpricingapis
SDK allows for interaction with the Azure Resource Manager Service applicationinsights
(API Version 2015-05-01
).
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/applicationinsights/2015-05-01/componentfeaturesandpricingapis"
Client Initialization
client := componentfeaturesandpricingapis.NewComponentFeaturesAndPricingAPIsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ComponentFeaturesAndPricingAPIsClient.ComponentAvailableFeaturesGet
ctx := context.TODO()
id := componentfeaturesandpricingapis.NewComponentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue")
read, err := client.ComponentAvailableFeaturesGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ComponentFeaturesAndPricingAPIsClient.ComponentCurrentBillingFeaturesGet
ctx := context.TODO()
id := componentfeaturesandpricingapis.NewComponentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue")
read, err := client.ComponentCurrentBillingFeaturesGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ComponentFeaturesAndPricingAPIsClient.ComponentCurrentBillingFeaturesUpdate
ctx := context.TODO()
id := componentfeaturesandpricingapis.NewComponentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue")
payload := componentfeaturesandpricingapis.ApplicationInsightsComponentBillingFeatures{
// ...
}
read, err := client.ComponentCurrentBillingFeaturesUpdate(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ComponentFeaturesAndPricingAPIsClient.ComponentFeatureCapabilitiesGet
ctx := context.TODO()
id := componentfeaturesandpricingapis.NewComponentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue")
read, err := client.ComponentFeatureCapabilitiesGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ComponentFeaturesAndPricingAPIsClient.ComponentQuotaStatusGet
ctx := context.TODO()
id := componentfeaturesandpricingapis.NewComponentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue")
read, err := client.ComponentQuotaStatusGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
- func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationInsightsComponentAvailableFeatures
- type ApplicationInsightsComponentBillingFeatures
- type ApplicationInsightsComponentDataVolumeCap
- type ApplicationInsightsComponentFeature
- type ApplicationInsightsComponentFeatureCapabilities
- type ApplicationInsightsComponentFeatureCapability
- type ApplicationInsightsComponentQuotaStatus
- type ComponentAvailableFeaturesGetOperationResponse
- type ComponentCurrentBillingFeaturesGetOperationResponse
- type ComponentCurrentBillingFeaturesUpdateOperationResponse
- type ComponentFeatureCapabilitiesGetOperationResponse
- type ComponentFeaturesAndPricingAPIsClient
- func (c ComponentFeaturesAndPricingAPIsClient) ComponentAvailableFeaturesGet(ctx context.Context, id ComponentId) (result ComponentAvailableFeaturesGetOperationResponse, err error)
- func (c ComponentFeaturesAndPricingAPIsClient) ComponentCurrentBillingFeaturesGet(ctx context.Context, id ComponentId) (result ComponentCurrentBillingFeaturesGetOperationResponse, err error)
- func (c ComponentFeaturesAndPricingAPIsClient) ComponentCurrentBillingFeaturesUpdate(ctx context.Context, id ComponentId, ...) (result ComponentCurrentBillingFeaturesUpdateOperationResponse, err error)
- func (c ComponentFeaturesAndPricingAPIsClient) ComponentFeatureCapabilitiesGet(ctx context.Context, id ComponentId) (result ComponentFeatureCapabilitiesGetOperationResponse, err error)
- func (c ComponentFeaturesAndPricingAPIsClient) ComponentQuotaStatusGet(ctx context.Context, id ComponentId) (result ComponentQuotaStatusGetOperationResponse, err error)
- type ComponentId
- type ComponentQuotaStatusGetOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateComponentID ¶
ValidateComponentID checks that 'input' can be parsed as a Component ID
Types ¶
type ApplicationInsightsComponentAvailableFeatures ¶
type ApplicationInsightsComponentAvailableFeatures struct {
Result *[]ApplicationInsightsComponentFeature `json:"Result,omitempty"`
}
type ApplicationInsightsComponentBillingFeatures ¶
type ApplicationInsightsComponentBillingFeatures struct { CurrentBillingFeatures *[]string `json:"CurrentBillingFeatures,omitempty"` DataVolumeCap *ApplicationInsightsComponentDataVolumeCap `json:"DataVolumeCap,omitempty"` }
type ApplicationInsightsComponentDataVolumeCap ¶
type ApplicationInsightsComponentDataVolumeCap struct { Cap *float64 `json:"Cap,omitempty"` MaxHistoryCap *float64 `json:"MaxHistoryCap,omitempty"` ResetTime *int64 `json:"ResetTime,omitempty"` StopSendNotificationWhenHitCap *bool `json:"StopSendNotificationWhenHitCap,omitempty"` StopSendNotificationWhenHitThreshold *bool `json:"StopSendNotificationWhenHitThreshold,omitempty"` WarningThreshold *int64 `json:"WarningThreshold,omitempty"` }
type ApplicationInsightsComponentFeature ¶
type ApplicationInsightsComponentFeature struct { Capabilities *[]ApplicationInsightsComponentFeatureCapability `json:"Capabilities,omitempty"` FeatureName *string `json:"FeatureName,omitempty"` IsHidden *bool `json:"IsHidden,omitempty"` IsMainFeature *bool `json:"IsMainFeature,omitempty"` MeterId *string `json:"MeterId,omitempty"` MeterRateFrequency *string `json:"MeterRateFrequency,omitempty"` ResouceId *string `json:"ResouceId,omitempty"` SupportedAddonFeatures *string `json:"SupportedAddonFeatures,omitempty"` Title *string `json:"Title,omitempty"` }
type ApplicationInsightsComponentFeatureCapabilities ¶
type ApplicationInsightsComponentFeatureCapabilities struct { AnalyticsIntegration *bool `json:"AnalyticsIntegration,omitempty"` ApiAccessLevel *string `json:"ApiAccessLevel,omitempty"` ApplicationMap *bool `json:"ApplicationMap,omitempty"` BurstThrottlePolicy *string `json:"BurstThrottlePolicy,omitempty"` DailyCap *float64 `json:"DailyCap,omitempty"` DailyCapResetTime *float64 `json:"DailyCapResetTime,omitempty"` LiveStreamMetrics *bool `json:"LiveStreamMetrics,omitempty"` MetadataClass *string `json:"MetadataClass,omitempty"` MultipleStepWebTest *bool `json:"MultipleStepWebTest,omitempty"` OpenSchema *bool `json:"OpenSchema,omitempty"` PowerBIIntegration *bool `json:"PowerBIIntegration,omitempty"` ProactiveDetection *bool `json:"ProactiveDetection,omitempty"` SupportExportData *bool `json:"SupportExportData,omitempty"` ThrottleRate *float64 `json:"ThrottleRate,omitempty"` TrackingType *string `json:"TrackingType,omitempty"` WorkItemIntegration *bool `json:"WorkItemIntegration,omitempty"` }
type ApplicationInsightsComponentFeatureCapability ¶
type ApplicationInsightsComponentFeatureCapability struct { Description *string `json:"Description,omitempty"` MeterId *string `json:"MeterId,omitempty"` MeterRateFrequency *string `json:"MeterRateFrequency,omitempty"` Name *string `json:"Name,omitempty"` Unit *string `json:"Unit,omitempty"` Value *string `json:"Value,omitempty"` }
type ComponentAvailableFeaturesGetOperationResponse ¶
type ComponentAvailableFeaturesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentAvailableFeatures }
type ComponentCurrentBillingFeaturesGetOperationResponse ¶
type ComponentCurrentBillingFeaturesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentBillingFeatures }
type ComponentCurrentBillingFeaturesUpdateOperationResponse ¶
type ComponentCurrentBillingFeaturesUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentBillingFeatures }
type ComponentFeatureCapabilitiesGetOperationResponse ¶
type ComponentFeatureCapabilitiesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentFeatureCapabilities }
type ComponentFeaturesAndPricingAPIsClient ¶
type ComponentFeaturesAndPricingAPIsClient struct {
Client *resourcemanager.Client
}
func NewComponentFeaturesAndPricingAPIsClientWithBaseURI ¶
func NewComponentFeaturesAndPricingAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*ComponentFeaturesAndPricingAPIsClient, error)
func (ComponentFeaturesAndPricingAPIsClient) ComponentAvailableFeaturesGet ¶
func (c ComponentFeaturesAndPricingAPIsClient) ComponentAvailableFeaturesGet(ctx context.Context, id ComponentId) (result ComponentAvailableFeaturesGetOperationResponse, err error)
ComponentAvailableFeaturesGet ...
func (ComponentFeaturesAndPricingAPIsClient) ComponentCurrentBillingFeaturesGet ¶
func (c ComponentFeaturesAndPricingAPIsClient) ComponentCurrentBillingFeaturesGet(ctx context.Context, id ComponentId) (result ComponentCurrentBillingFeaturesGetOperationResponse, err error)
ComponentCurrentBillingFeaturesGet ...
func (ComponentFeaturesAndPricingAPIsClient) ComponentCurrentBillingFeaturesUpdate ¶
func (c ComponentFeaturesAndPricingAPIsClient) ComponentCurrentBillingFeaturesUpdate(ctx context.Context, id ComponentId, input ApplicationInsightsComponentBillingFeatures) (result ComponentCurrentBillingFeaturesUpdateOperationResponse, err error)
ComponentCurrentBillingFeaturesUpdate ...
func (ComponentFeaturesAndPricingAPIsClient) ComponentFeatureCapabilitiesGet ¶
func (c ComponentFeaturesAndPricingAPIsClient) ComponentFeatureCapabilitiesGet(ctx context.Context, id ComponentId) (result ComponentFeatureCapabilitiesGetOperationResponse, err error)
ComponentFeatureCapabilitiesGet ...
func (ComponentFeaturesAndPricingAPIsClient) ComponentQuotaStatusGet ¶
func (c ComponentFeaturesAndPricingAPIsClient) ComponentQuotaStatusGet(ctx context.Context, id ComponentId) (result ComponentQuotaStatusGetOperationResponse, err error)
ComponentQuotaStatusGet ...
type ComponentId ¶
ComponentId is a struct representing the Resource ID for a Component
func NewComponentID ¶
func NewComponentID(subscriptionId string, resourceGroupName string, componentName string) ComponentId
NewComponentID returns a new ComponentId struct
func ParseComponentID ¶
func ParseComponentID(input string) (*ComponentId, error)
ParseComponentID parses 'input' into a ComponentId
func ParseComponentIDInsensitively ¶
func ParseComponentIDInsensitively(input string) (*ComponentId, error)
ParseComponentIDInsensitively parses 'input' case-insensitively into a ComponentId note: this method should only be used for API response data and not user input
func (*ComponentId) FromParseResult ¶
func (id *ComponentId) FromParseResult(input resourceids.ParseResult) error
func (ComponentId) Segments ¶
func (id ComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Component ID
func (ComponentId) String ¶
func (id ComponentId) String() string
String returns a human-readable description of this Component ID
type ComponentQuotaStatusGetOperationResponse ¶
type ComponentQuotaStatusGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationInsightsComponentQuotaStatus }
Source Files ¶
- client.go
- id_component.go
- method_componentavailablefeaturesget.go
- method_componentcurrentbillingfeaturesget.go
- method_componentcurrentbillingfeaturesupdate.go
- method_componentfeaturecapabilitiesget.go
- method_componentquotastatusget.go
- model_applicationinsightscomponentavailablefeatures.go
- model_applicationinsightscomponentbillingfeatures.go
- model_applicationinsightscomponentdatavolumecap.go
- model_applicationinsightscomponentfeature.go
- model_applicationinsightscomponentfeaturecapabilities.go
- model_applicationinsightscomponentfeaturecapability.go
- model_applicationinsightscomponentquotastatus.go
- version.go