componentcontinuousexportapis

package
v0.20240320.1144505 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/applicationinsights/2015-05-01/componentcontinuousexportapis Documentation

The componentcontinuousexportapis 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/componentcontinuousexportapis"

Client Initialization

client := componentcontinuousexportapis.NewComponentContinuousExportAPIsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ComponentContinuousExportAPIsClient.ExportConfigurationsCreate

ctx := context.TODO()
id := componentcontinuousexportapis.NewComponentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue")

payload := componentcontinuousexportapis.ApplicationInsightsComponentExportRequest{
	// ...
}


read, err := client.ExportConfigurationsCreate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ComponentContinuousExportAPIsClient.ExportConfigurationsDelete

ctx := context.TODO()
id := componentcontinuousexportapis.NewExportConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue", "exportIdValue")

read, err := client.ExportConfigurationsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ComponentContinuousExportAPIsClient.ExportConfigurationsGet

ctx := context.TODO()
id := componentcontinuousexportapis.NewExportConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue", "exportIdValue")

read, err := client.ExportConfigurationsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ComponentContinuousExportAPIsClient.ExportConfigurationsList

ctx := context.TODO()
id := componentcontinuousexportapis.NewComponentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue")

read, err := client.ExportConfigurationsList(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ComponentContinuousExportAPIsClient.ExportConfigurationsUpdate

ctx := context.TODO()
id := componentcontinuousexportapis.NewExportConfigurationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "componentValue", "exportIdValue")

payload := componentcontinuousexportapis.ApplicationInsightsComponentExportRequest{
	// ...
}


read, err := client.ExportConfigurationsUpdate(ctx, id, payload)
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

func ValidateExportConfigurationID

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

ValidateExportConfigurationID checks that 'input' can be parsed as a Export Configuration ID

Types

type ApplicationInsightsComponentExportConfiguration

type ApplicationInsightsComponentExportConfiguration struct {
	ApplicationName                  *string `json:"ApplicationName,omitempty"`
	ContainerName                    *string `json:"ContainerName,omitempty"`
	DestinationAccountId             *string `json:"DestinationAccountId,omitempty"`
	DestinationStorageLocationId     *string `json:"DestinationStorageLocationId,omitempty"`
	DestinationStorageSubscriptionId *string `json:"DestinationStorageSubscriptionId,omitempty"`
	DestinationType                  *string `json:"DestinationType,omitempty"`
	ExportId                         *string `json:"ExportId,omitempty"`
	ExportStatus                     *string `json:"ExportStatus,omitempty"`
	InstrumentationKey               *string `json:"InstrumentationKey,omitempty"`
	IsUserEnabled                    *string `json:"IsUserEnabled,omitempty"`
	LastGapTime                      *string `json:"LastGapTime,omitempty"`
	LastSuccessTime                  *string `json:"LastSuccessTime,omitempty"`
	LastUserUpdate                   *string `json:"LastUserUpdate,omitempty"`
	NotificationQueueEnabled         *string `json:"NotificationQueueEnabled,omitempty"`
	PermanentErrorReason             *string `json:"PermanentErrorReason,omitempty"`
	RecordTypes                      *string `json:"RecordTypes,omitempty"`
	ResourceGroup                    *string `json:"ResourceGroup,omitempty"`
	StorageName                      *string `json:"StorageName,omitempty"`
	SubscriptionId                   *string `json:"SubscriptionId,omitempty"`
}

type ApplicationInsightsComponentExportRequest

type ApplicationInsightsComponentExportRequest struct {
	DestinationAccountId             *string `json:"DestinationAccountId,omitempty"`
	DestinationAddress               *string `json:"DestinationAddress,omitempty"`
	DestinationStorageLocationId     *string `json:"DestinationStorageLocationId,omitempty"`
	DestinationStorageSubscriptionId *string `json:"DestinationStorageSubscriptionId,omitempty"`
	DestinationType                  *string `json:"DestinationType,omitempty"`
	IsEnabled                        *string `json:"IsEnabled,omitempty"`
	NotificationQueueEnabled         *string `json:"NotificationQueueEnabled,omitempty"`
	NotificationQueueUri             *string `json:"NotificationQueueUri,omitempty"`
	RecordTypes                      *string `json:"RecordTypes,omitempty"`
}

type ComponentContinuousExportAPIsClient

type ComponentContinuousExportAPIsClient struct {
	Client *resourcemanager.Client
}

func NewComponentContinuousExportAPIsClientWithBaseURI

func NewComponentContinuousExportAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*ComponentContinuousExportAPIsClient, error)

func (ComponentContinuousExportAPIsClient) ExportConfigurationsCreate

ExportConfigurationsCreate ...

func (ComponentContinuousExportAPIsClient) ExportConfigurationsDelete

ExportConfigurationsDelete ...

func (ComponentContinuousExportAPIsClient) ExportConfigurationsGet

ExportConfigurationsGet ...

func (ComponentContinuousExportAPIsClient) ExportConfigurationsList

ExportConfigurationsList ...

func (ComponentContinuousExportAPIsClient) ExportConfigurationsUpdate

ExportConfigurationsUpdate ...

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

func (id *ComponentId) FromParseResult(input resourceids.ParseResult) error

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 ExportConfigurationId

type ExportConfigurationId struct {
	SubscriptionId    string
	ResourceGroupName string
	ComponentName     string
	ExportId          string
}

ExportConfigurationId is a struct representing the Resource ID for a Export Configuration

func NewExportConfigurationID

func NewExportConfigurationID(subscriptionId string, resourceGroupName string, componentName string, exportId string) ExportConfigurationId

NewExportConfigurationID returns a new ExportConfigurationId struct

func ParseExportConfigurationID

func ParseExportConfigurationID(input string) (*ExportConfigurationId, error)

ParseExportConfigurationID parses 'input' into a ExportConfigurationId

func ParseExportConfigurationIDInsensitively

func ParseExportConfigurationIDInsensitively(input string) (*ExportConfigurationId, error)

ParseExportConfigurationIDInsensitively parses 'input' case-insensitively into a ExportConfigurationId note: this method should only be used for API response data and not user input

func (*ExportConfigurationId) FromParseResult

func (id *ExportConfigurationId) FromParseResult(input resourceids.ParseResult) error

func (ExportConfigurationId) ID

func (id ExportConfigurationId) ID() string

ID returns the formatted Export Configuration ID

func (ExportConfigurationId) Segments

func (id ExportConfigurationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Export Configuration ID

func (ExportConfigurationId) String

func (id ExportConfigurationId) String() string

String returns a human-readable description of this Export Configuration ID

type ExportConfigurationsCreateOperationResponse

type ExportConfigurationsCreateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ApplicationInsightsComponentExportConfiguration
}

type ExportConfigurationsDeleteOperationResponse

type ExportConfigurationsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ApplicationInsightsComponentExportConfiguration
}

type ExportConfigurationsGetOperationResponse

type ExportConfigurationsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ApplicationInsightsComponentExportConfiguration
}

type ExportConfigurationsListOperationResponse

type ExportConfigurationsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ApplicationInsightsComponentExportConfiguration
}

type ExportConfigurationsUpdateOperationResponse

type ExportConfigurationsUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ApplicationInsightsComponentExportConfiguration
}

Jump to

Keyboard shortcuts

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