componentfeaturesandpricingapis

package
v0.20231116.1162710 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2023 License: MPL-2.0 Imports: 9 Imported by: 1

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateComponentID

func ValidateComponentID(input interface{}, key string) (warnings []string, errors []error)

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 ApplicationInsightsComponentQuotaStatus

type ApplicationInsightsComponentQuotaStatus struct {
	AppId             *string `json:"AppId,omitempty"`
	ExpirationTime    *string `json:"ExpirationTime,omitempty"`
	ShouldBeThrottled *bool   `json:"ShouldBeThrottled,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

ComponentAvailableFeaturesGet ...

func (ComponentFeaturesAndPricingAPIsClient) ComponentCurrentBillingFeaturesGet

ComponentCurrentBillingFeaturesGet ...

func (ComponentFeaturesAndPricingAPIsClient) ComponentCurrentBillingFeaturesUpdate

ComponentCurrentBillingFeaturesUpdate ...

func (ComponentFeaturesAndPricingAPIsClient) ComponentFeatureCapabilitiesGet

ComponentFeatureCapabilitiesGet ...

func (ComponentFeaturesAndPricingAPIsClient) ComponentQuotaStatusGet

ComponentQuotaStatusGet ...

type ComponentId

type ComponentId struct {
	SubscriptionId    string
	ResourceGroupName string
	ComponentName     string
}

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) ID

func (id ComponentId) ID() string

ID returns the formatted Component ID

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL