Documentation ¶
Index ¶
- func PossibleValuesForStatusLevelTypes() []string
- func ValidateExtensionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtensionId
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type MachineExtension
- type MachineExtensionInstanceView
- type MachineExtensionInstanceViewStatus
- type MachineExtensionOperationPredicate
- type MachineExtensionProperties
- type MachineExtensionUpdate
- type MachineExtensionUpdateProperties
- type MachineExtensionsClient
- func (c MachineExtensionsClient) CreateOrUpdate(ctx context.Context, id ExtensionId, input MachineExtension) (result CreateOrUpdateOperationResponse, err error)
- func (c MachineExtensionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExtensionId, input MachineExtension) error
- func (c MachineExtensionsClient) Delete(ctx context.Context, id ExtensionId) (result DeleteOperationResponse, err error)
- func (c MachineExtensionsClient) DeleteThenPoll(ctx context.Context, id ExtensionId) error
- func (c MachineExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
- func (c MachineExtensionsClient) List(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c MachineExtensionsClient) ListComplete(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (ListCompleteResult, error)
- func (c MachineExtensionsClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualMachineId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c MachineExtensionsClient) Update(ctx context.Context, id ExtensionId, input MachineExtensionUpdate) (result UpdateOperationResponse, err error)
- func (c MachineExtensionsClient) UpdateThenPoll(ctx context.Context, id ExtensionId, input MachineExtensionUpdate) error
- type StatusLevelTypes
- type UpdateOperationResponse
- type VirtualMachineId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func ValidateExtensionID ¶
ValidateExtensionID checks that 'input' can be parsed as a Extension ID
func ValidateVirtualMachineID ¶
ValidateVirtualMachineID checks that 'input' can be parsed as a Virtual Machine ID
Types ¶
type DeleteOperationResponse ¶
type ExtensionId ¶
type ExtensionId struct { SubscriptionId string ResourceGroupName string VirtualMachineName string ExtensionName string }
ExtensionId is a struct representing the Resource ID for a Extension
func NewExtensionID ¶
func NewExtensionID(subscriptionId string, resourceGroupName string, virtualMachineName string, extensionName string) ExtensionId
NewExtensionID returns a new ExtensionId struct
func ParseExtensionID ¶
func ParseExtensionID(input string) (*ExtensionId, error)
ParseExtensionID parses 'input' into a ExtensionId
func ParseExtensionIDInsensitively ¶
func ParseExtensionIDInsensitively(input string) (*ExtensionId, error)
ParseExtensionIDInsensitively parses 'input' case-insensitively into a ExtensionId note: this method should only be used for API response data and not user input
func (ExtensionId) Segments ¶
func (id ExtensionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Extension ID
func (ExtensionId) String ¶
func (id ExtensionId) String() string
String returns a human-readable description of this Extension ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MachineExtension }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []MachineExtension
}
type ListOperationOptions ¶
type ListOperationOptions struct {
Expand *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230404.1155830
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230404.1155830
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230404.1155830
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MachineExtension }
type MachineExtension ¶
type MachineExtension struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *MachineExtensionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MachineExtensionInstanceView ¶
type MachineExtensionInstanceView struct { Name *string `json:"name,omitempty"` Status *MachineExtensionInstanceViewStatus `json:"status,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type MachineExtensionInstanceViewStatus ¶
type MachineExtensionInstanceViewStatus struct { Code *string `json:"code,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Level *StatusLevelTypes `json:"level,omitempty"` Message *string `json:"message,omitempty"` Time *string `json:"time,omitempty"` }
func (*MachineExtensionInstanceViewStatus) GetTimeAsTime ¶
func (o *MachineExtensionInstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*MachineExtensionInstanceViewStatus) SetTimeAsTime ¶
func (o *MachineExtensionInstanceViewStatus) SetTimeAsTime(input time.Time)
type MachineExtensionOperationPredicate ¶
type MachineExtensionOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (MachineExtensionOperationPredicate) Matches ¶
func (p MachineExtensionOperationPredicate) Matches(input MachineExtension) bool
type MachineExtensionProperties ¶
type MachineExtensionProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` InstanceView *MachineExtensionInstanceView `json:"instanceView,omitempty"` ProtectedSettings *interface{} `json:"protectedSettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Publisher *string `json:"publisher,omitempty"` Settings *interface{} `json:"settings,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type MachineExtensionUpdate ¶
type MachineExtensionUpdate struct { Properties *MachineExtensionUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type MachineExtensionUpdateProperties ¶
type MachineExtensionUpdateProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` ProtectedSettings *interface{} `json:"protectedSettings,omitempty"` Publisher *string `json:"publisher,omitempty"` Settings *interface{} `json:"settings,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type MachineExtensionsClient ¶
type MachineExtensionsClient struct {
Client *resourcemanager.Client
}
func NewMachineExtensionsClientWithBaseURI ¶
func NewMachineExtensionsClientWithBaseURI(api environments.Api) (*MachineExtensionsClient, error)
func (MachineExtensionsClient) CreateOrUpdate ¶
func (c MachineExtensionsClient) CreateOrUpdate(ctx context.Context, id ExtensionId, input MachineExtension) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MachineExtensionsClient) CreateOrUpdateThenPoll ¶
func (c MachineExtensionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExtensionId, input MachineExtension) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (MachineExtensionsClient) Delete ¶
func (c MachineExtensionsClient) Delete(ctx context.Context, id ExtensionId) (result DeleteOperationResponse, err error)
Delete ...
func (MachineExtensionsClient) DeleteThenPoll ¶
func (c MachineExtensionsClient) DeleteThenPoll(ctx context.Context, id ExtensionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (MachineExtensionsClient) Get ¶
func (c MachineExtensionsClient) Get(ctx context.Context, id ExtensionId) (result GetOperationResponse, err error)
Get ...
func (MachineExtensionsClient) List ¶
func (c MachineExtensionsClient) List(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (MachineExtensionsClient) ListComplete ¶
func (c MachineExtensionsClient) ListComplete(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MachineExtensionsClient) ListCompleteMatchingPredicate ¶
func (c MachineExtensionsClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualMachineId, options ListOperationOptions, predicate MachineExtensionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MachineExtensionsClient) Update ¶
func (c MachineExtensionsClient) Update(ctx context.Context, id ExtensionId, input MachineExtensionUpdate) (result UpdateOperationResponse, err error)
Update ...
func (MachineExtensionsClient) UpdateThenPoll ¶
func (c MachineExtensionsClient) UpdateThenPoll(ctx context.Context, id ExtensionId, input MachineExtensionUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
type UpdateOperationResponse ¶
type VirtualMachineId ¶
type VirtualMachineId struct { SubscriptionId string ResourceGroupName string VirtualMachineName string }
VirtualMachineId is a struct representing the Resource ID for a Virtual Machine
func NewVirtualMachineID ¶
func NewVirtualMachineID(subscriptionId string, resourceGroupName string, virtualMachineName string) VirtualMachineId
NewVirtualMachineID returns a new VirtualMachineId struct
func ParseVirtualMachineID ¶
func ParseVirtualMachineID(input string) (*VirtualMachineId, error)
ParseVirtualMachineID parses 'input' into a VirtualMachineId
func ParseVirtualMachineIDInsensitively ¶
func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error)
ParseVirtualMachineIDInsensitively parses 'input' case-insensitively into a VirtualMachineId note: this method should only be used for API response data and not user input
func (VirtualMachineId) ID ¶
func (id VirtualMachineId) ID() string
ID returns the formatted Virtual Machine ID
func (VirtualMachineId) Segments ¶
func (id VirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine ID
func (VirtualMachineId) String ¶
func (id VirtualMachineId) String() string
String returns a human-readable description of this Virtual Machine ID
Source Files ¶
- client.go
- constants.go
- id_extension.go
- id_virtualmachine.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_machineextension.go
- model_machineextensioninstanceview.go
- model_machineextensioninstanceviewstatus.go
- model_machineextensionproperties.go
- model_machineextensionupdate.go
- model_machineextensionupdateproperties.go
- predicates.go
- version.go