eventcategories

package
v0.0.0-...-a81a29a Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

README

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

The eventcategories SDK allows for interaction with the Azure Resource Manager Service 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 autorest.Client
	// contains filtered or unexported fields
}

func NewEventCategoriesClientWithBaseURI

func NewEventCategoriesClientWithBaseURI(endpoint string) EventCategoriesClient

func (EventCategoriesClient) List

List ...

type EventCategoryCollection

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

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	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