Categorygithub.com/hashicorp/go-azure-sdkresource-managersecurity2017-08-01-previewiotsecuritysolutionsanalytics
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/security/2017-08-01-preview/iotsecuritysolutionsanalytics
Documentation
The iotsecuritysolutionsanalytics
SDK allows for interaction with the Azure Resource Manager Service security
(API Version 2017-08-01-preview
).
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/security/2017-08-01-preview/iotsecuritysolutionsanalytics"
Client Initialization
client := iotsecuritysolutionsanalytics.NewIoTSecuritySolutionsAnalyticsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: IoTSecuritySolutionsAnalyticsClient.AggregatedAlertDismiss
ctx := context.TODO()
id := iotsecuritysolutionsanalytics.NewAggregatedAlertID("12345678-1234-9876-4563-123456789012", "example-resource-group", "iotSecuritySolutionValue", "aggregatedAlertValue")
read, err := client.AggregatedAlertDismiss(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IoTSecuritySolutionsAnalyticsClient.AggregatedAlertGet
ctx := context.TODO()
id := iotsecuritysolutionsanalytics.NewAggregatedAlertID("12345678-1234-9876-4563-123456789012", "example-resource-group", "iotSecuritySolutionValue", "aggregatedAlertValue")
read, err := client.AggregatedAlertGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IoTSecuritySolutionsAnalyticsClient.AggregatedAlertsList
ctx := context.TODO()
id := iotsecuritysolutionsanalytics.NewIotSecuritySolutionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "iotSecuritySolutionValue")
// alternatively `client.AggregatedAlertsList(ctx, id, iotsecuritysolutionsanalytics.DefaultAggregatedAlertsListOperationOptions())` can be used to do batched pagination
items, err := client.AggregatedAlertsListComplete(ctx, id, iotsecuritysolutionsanalytics.DefaultAggregatedAlertsListOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: IoTSecuritySolutionsAnalyticsClient.GetAll
ctx := context.TODO()
id := iotsecuritysolutionsanalytics.NewIotSecuritySolutionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "iotSecuritySolutionValue")
read, err := client.GetAll(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IoTSecuritySolutionsAnalyticsClient.GetDefault
ctx := context.TODO()
id := iotsecuritysolutionsanalytics.NewIotSecuritySolutionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "iotSecuritySolutionValue")
read, err := client.GetDefault(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IoTSecuritySolutionsAnalyticsClient.RecommendationGet
ctx := context.TODO()
id := iotsecuritysolutionsanalytics.NewAggregatedRecommendationID("12345678-1234-9876-4563-123456789012", "example-resource-group", "iotSecuritySolutionValue", "aggregatedRecommendationValue")
read, err := client.RecommendationGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: IoTSecuritySolutionsAnalyticsClient.RecommendationsList
ctx := context.TODO()
id := iotsecuritysolutionsanalytics.NewIotSecuritySolutionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "iotSecuritySolutionValue")
// alternatively `client.RecommendationsList(ctx, id, iotsecuritysolutionsanalytics.DefaultRecommendationsListOperationOptions())` can be used to do batched pagination
items, err := client.RecommendationsListComplete(ctx, id, iotsecuritysolutionsanalytics.DefaultRecommendationsListOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
# Functions
No description provided by the author
No description provided by the author
NewAggregatedAlertID returns a new AggregatedAlertId struct.
NewAggregatedRecommendationID returns a new AggregatedRecommendationId struct.
NewIotSecuritySolutionID returns a new IotSecuritySolutionId struct.
No description provided by the author
ParseAggregatedAlertID parses 'input' into a AggregatedAlertId.
ParseAggregatedAlertIDInsensitively parses 'input' case-insensitively into a AggregatedAlertId note: this method should only be used for API response data and not user input.
ParseAggregatedRecommendationID parses 'input' into a AggregatedRecommendationId.
ParseAggregatedRecommendationIDInsensitively parses 'input' case-insensitively into a AggregatedRecommendationId note: this method should only be used for API response data and not user input.
ParseIotSecuritySolutionID parses 'input' into a IotSecuritySolutionId.
ParseIotSecuritySolutionIDInsensitively parses 'input' case-insensitively into a IotSecuritySolutionId note: this method should only be used for API response data and not user input.
No description provided by the author
ValidateAggregatedAlertID checks that 'input' can be parsed as a Aggregated Alert ID.
ValidateAggregatedRecommendationID checks that 'input' can be parsed as a Aggregated Recommendation ID.
ValidateIotSecuritySolutionID checks that 'input' can be parsed as a Iot Security Solution ID.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
AggregatedAlertId is a struct representing the Resource ID for a Aggregated Alert.
No description provided by the author
No description provided by the author
No description provided by the author
AggregatedRecommendationId is a struct representing the Resource ID for a Aggregated Recommendation.
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IotSecuritySolutionId is a struct representing the Resource ID for a Iot Security Solution.
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
# Type aliases
No description provided by the author