eventcategories

package
v0.20241023.1122425 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MPL-2.0 Imports: 7 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/insights/2015-04-01/eventcategories Documentation

The eventcategories SDK allows for interaction with Azure Resource Manager insights (API Version 2015-04-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/insights/2015-04-01/eventcategories"

Client Initialization

client := eventcategories.NewEventCategoriesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: EventCategoriesClient.List

ctx := context.TODO()


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

This section is empty.

Types

type EventCategoriesClient

type EventCategoriesClient struct {
	Client *resourcemanager.Client
}

func NewEventCategoriesClientWithBaseURI

func NewEventCategoriesClientWithBaseURI(sdkApi sdkEnv.Api) (*EventCategoriesClient, error)

func (EventCategoriesClient) List

List ...

type EventCategoryCollection

type EventCategoryCollection struct {
	Value []LocalizableString `json:"value"`
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *EventCategoryCollection
}

type LocalizableString

type LocalizableString struct {
	LocalizedValue *string `json:"localizedValue,omitempty"`
	Value          string  `json:"value"`
}

Jump to

Keyboard shortcuts

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