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 ¶
func (c DiagnosticSettingsCategoriesClient) DiagnosticSettingsCategoryList(ctx context.Context) (result DiagnosticSettingsCategoryListOperationResponse, err error)
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"`
}
Click to show internal directories.
Click to hide internal directories.