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 ¶
func (c EventCategoriesClient) List(ctx context.Context) (result ListOperationResponse, err error)
List ...
type EventCategoryCollection ¶
type EventCategoryCollection struct {
Value []LocalizableString `json:"value"`
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *EventCategoryCollection }
type LocalizableString ¶
Click to show internal directories.
Click to hide internal directories.