diagnosticsettingscategories

package
v0.20231002.1065327 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/azureactivedirectory/2017-04-01/diagnosticsettingscategories Documentation

The diagnosticsettingscategories SDK allows for interaction with the Azure Resource Manager Service azureactivedirectory (API Version 2017-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/azureactivedirectory/2017-04-01/diagnosticsettingscategories"

Client Initialization

client := diagnosticsettingscategories.NewDiagnosticSettingsCategoriesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DiagnosticSettingsCategoriesClient.DiagnosticSettingsCategoryList

ctx := context.TODO()


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

func PossibleValuesForCategoryType

func PossibleValuesForCategoryType() []string

Types

type CategoryType

type CategoryType string
const (
	CategoryTypeLogs CategoryType = "Logs"
)

func (*CategoryType) UnmarshalJSON

func (s *CategoryType) UnmarshalJSON(bytes []byte) error

type DiagnosticSettingsCategoriesClient

type DiagnosticSettingsCategoriesClient struct {
	Client *resourcemanager.Client
}

func NewDiagnosticSettingsCategoriesClientWithBaseURI

func NewDiagnosticSettingsCategoriesClientWithBaseURI(sdkApi sdkEnv.Api) (*DiagnosticSettingsCategoriesClient, error)

func (DiagnosticSettingsCategoriesClient) DiagnosticSettingsCategoryList

DiagnosticSettingsCategoryList ...

type DiagnosticSettingsCategory

type DiagnosticSettingsCategory struct {
	CategoryType *CategoryType `json:"categoryType,omitempty"`
}

type DiagnosticSettingsCategoryListOperationResponse

type DiagnosticSettingsCategoryListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DiagnosticSettingsCategoryResourceCollection
}

type DiagnosticSettingsCategoryResource

type DiagnosticSettingsCategoryResource struct {
	Id         *string                     `json:"id,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties *DiagnosticSettingsCategory `json:"properties,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type DiagnosticSettingsCategoryResourceCollection

type DiagnosticSettingsCategoryResourceCollection struct {
	Value *[]DiagnosticSettingsCategoryResource `json:"value,omitempty"`
}

Jump to

Keyboard shortcuts

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