package
0.20240125.1100331
Repository: https://github.com/hashicorp/go-azure-sdk.git
Documentation: pkg.go.dev

# README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-04-01/webcategories Documentation

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

Client Initialization

client := webcategories.NewWebCategoriesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: WebCategoriesClient.Get

ctx := context.TODO()
id := webcategories.NewAzureWebCategoryID("12345678-1234-9876-4563-123456789012", "azureWebCategoryValue")

read, err := client.Get(ctx, id, webcategories.DefaultGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: WebCategoriesClient.ListBySubscription

ctx := context.TODO()
id := webcategories.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

# Functions

No description provided by the author
NewAzureWebCategoryID returns a new AzureWebCategoryId struct.
No description provided by the author
ParseAzureWebCategoryID parses 'input' into a AzureWebCategoryId.
ParseAzureWebCategoryIDInsensitively parses 'input' case-insensitively into a AzureWebCategoryId note: this method should only be used for API response data and not user input.
ValidateAzureWebCategoryID checks that 'input' can be parsed as a Azure Web Category ID.

# Structs

No description provided by the author
AzureWebCategoryId is a struct representing the Resource ID for a Azure Web Category.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author