Documentation ¶
Index ¶
- func ValidateMachineID(input interface{}, key string) (warnings []string, errors []error)
- type ExtensionTargetProperties
- type MachineExtensionUpgrade
- type MachineExtensionsUpgradeClient
- func (c MachineExtensionsUpgradeClient) UpgradeExtensions(ctx context.Context, id MachineId, input MachineExtensionUpgrade) (result UpgradeExtensionsOperationResponse, err error)
- func (c MachineExtensionsUpgradeClient) UpgradeExtensionsThenPoll(ctx context.Context, id MachineId, input MachineExtensionUpgrade) error
- type MachineId
- type UpgradeExtensionsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMachineID ¶
ValidateMachineID checks that 'input' can be parsed as a Machine ID
Types ¶
type ExtensionTargetProperties ¶
type ExtensionTargetProperties struct {
TargetVersion *string `json:"targetVersion,omitempty"`
}
type MachineExtensionUpgrade ¶
type MachineExtensionUpgrade struct {
ExtensionTargets *map[string]ExtensionTargetProperties `json:"extensionTargets,omitempty"`
}
type MachineExtensionsUpgradeClient ¶
type MachineExtensionsUpgradeClient struct {
Client *resourcemanager.Client
}
func NewMachineExtensionsUpgradeClientWithBaseURI ¶
func NewMachineExtensionsUpgradeClientWithBaseURI(sdkApi sdkEnv.Api) (*MachineExtensionsUpgradeClient, error)
func (MachineExtensionsUpgradeClient) UpgradeExtensions ¶
func (c MachineExtensionsUpgradeClient) UpgradeExtensions(ctx context.Context, id MachineId, input MachineExtensionUpgrade) (result UpgradeExtensionsOperationResponse, err error)
UpgradeExtensions ...
func (MachineExtensionsUpgradeClient) UpgradeExtensionsThenPoll ¶
func (c MachineExtensionsUpgradeClient) UpgradeExtensionsThenPoll(ctx context.Context, id MachineId, input MachineExtensionUpgrade) error
UpgradeExtensionsThenPoll performs UpgradeExtensions then polls until it's completed
type MachineId ¶
MachineId is a struct representing the Resource ID for a Machine
func NewMachineID ¶
NewMachineID returns a new MachineId struct
func ParseMachineID ¶
ParseMachineID parses 'input' into a MachineId
func ParseMachineIDInsensitively ¶
ParseMachineIDInsensitively parses 'input' case-insensitively into a MachineId note: this method should only be used for API response data and not user input
func (*MachineId) FromParseResult ¶
func (id *MachineId) FromParseResult(input resourceids.ParseResult) error
func (MachineId) Segments ¶
func (id MachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Machine ID
Click to show internal directories.
Click to hide internal directories.