Categorygithub.com/hashicorp/go-azure-sdk/resource-managerhybridcompute2022-11-10machineextensionsupgrade
package
0.20240715.1103416
Repository: https://github.com/hashicorp/go-azure-sdk.git
Documentation: pkg.go.dev
# README
github.com/hashicorp/go-azure-sdk/resource-manager/hybridcompute/2022-11-10/machineextensionsupgrade
Documentation
The machineextensionsupgrade
SDK allows for interaction with the Azure Resource Manager Service hybridcompute
(API Version 2022-11-10
).
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/hybridcompute/2022-11-10/machineextensionsupgrade"
Client Initialization
client := machineextensionsupgrade.NewMachineExtensionsUpgradeClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: MachineExtensionsUpgradeClient.UpgradeExtensions
ctx := context.TODO()
id := machineextensionsupgrade.NewMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "machineValue")
payload := machineextensionsupgrade.MachineExtensionUpgrade{
// ...
}
if err := client.UpgradeExtensionsThenPoll(ctx, id, payload); err != nil {
// handle the error
}
# Functions
No description provided by the author
NewMachineID returns a new MachineId struct.
ParseMachineID parses 'input' into a MachineId.
ParseMachineIDInsensitively parses 'input' case-insensitively into a MachineId note: this method should only be used for API response data and not user input.
ValidateMachineID checks that 'input' can be parsed as a Machine ID.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
MachineId is a struct representing the Resource ID for a Machine.
No description provided by the author