Categorygithub.com/hashicorp/go-azure-sdk/resource-managerguestconfiguration2020-06-25guestconfigurationconnectedvmwarevsphereassignments
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/guestconfiguration/2020-06-25/guestconfigurationconnectedvmwarevsphereassignments
Documentation
The guestconfigurationconnectedvmwarevsphereassignments
SDK allows for interaction with the Azure Resource Manager Service guestconfiguration
(API Version 2020-06-25
).
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/guestconfiguration/2020-06-25/guestconfigurationconnectedvmwarevsphereassignments"
Client Initialization
client := guestconfigurationconnectedvmwarevsphereassignments.NewGuestConfigurationConnectedVMwarevSphereAssignmentsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: GuestConfigurationConnectedVMwarevSphereAssignmentsClient.CreateOrUpdate
ctx := context.TODO()
id := guestconfigurationconnectedvmwarevsphereassignments.NewVirtualMachineProviders2GuestConfigurationAssignmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue", "guestConfigurationAssignmentValue")
payload := guestconfigurationconnectedvmwarevsphereassignments.GuestConfigurationAssignment{
// ...
}
read, err := client.CreateOrUpdate(ctx, id, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GuestConfigurationConnectedVMwarevSphereAssignmentsClient.Delete
ctx := context.TODO()
id := guestconfigurationconnectedvmwarevsphereassignments.NewVirtualMachineProviders2GuestConfigurationAssignmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue", "guestConfigurationAssignmentValue")
read, err := client.Delete(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GuestConfigurationConnectedVMwarevSphereAssignmentsClient.Get
ctx := context.TODO()
id := guestconfigurationconnectedvmwarevsphereassignments.NewVirtualMachineProviders2GuestConfigurationAssignmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue", "guestConfigurationAssignmentValue")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: GuestConfigurationConnectedVMwarevSphereAssignmentsClient.List
ctx := context.TODO()
id := guestconfigurationconnectedvmwarevsphereassignments.NewProviderVirtualMachineID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue")
read, err := client.List(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
# Functions
No description provided by the author
NewProviderVirtualMachineID returns a new ProviderVirtualMachineId struct.
NewVirtualMachineProviders2GuestConfigurationAssignmentID returns a new VirtualMachineProviders2GuestConfigurationAssignmentId struct.
ParseProviderVirtualMachineID parses 'input' into a ProviderVirtualMachineId.
ParseProviderVirtualMachineIDInsensitively parses 'input' case-insensitively into a ProviderVirtualMachineId note: this method should only be used for API response data and not user input.
ParseVirtualMachineProviders2GuestConfigurationAssignmentID parses 'input' into a VirtualMachineProviders2GuestConfigurationAssignmentId.
ParseVirtualMachineProviders2GuestConfigurationAssignmentIDInsensitively parses 'input' case-insensitively into a VirtualMachineProviders2GuestConfigurationAssignmentId note: this method should only be used for API response data and not user input.
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
ValidateProviderVirtualMachineID checks that 'input' can be parsed as a Provider Virtual Machine ID.
ValidateVirtualMachineProviders2GuestConfigurationAssignmentID checks that 'input' can be parsed as a Virtual Machine Providers 2 Guest Configuration Assignment 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
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
# Structs
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
ProviderVirtualMachineId is a struct representing the Resource ID for a Provider Virtual Machine.
VirtualMachineProviders2GuestConfigurationAssignmentId is a struct representing the Resource ID for a Virtual Machine Providers 2 Guest Configuration Assignment.
No description provided by the author
No description provided by the author
# Type aliases
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