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 GetOperationOptions
- type GetOperationResponse
- type InstanceViewStatus
- type ListOperationOptions
- type ListOperationResponse
- type StatusLevelTypes
- type UpdateOperationResponse
- type VirtualMachineExtension
- type VirtualMachineExtensionInstanceView
- type VirtualMachineExtensionProperties
- type VirtualMachineExtensionUpdate
- type VirtualMachineExtensionUpdateProperties
- type VirtualMachineExtensionsClient
- func (c VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, id ExtensionId, input VirtualMachineExtension) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualMachineExtensionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExtensionId, input VirtualMachineExtension) error
- func (c VirtualMachineExtensionsClient) Delete(ctx context.Context, id ExtensionId) (result DeleteOperationResponse, err error)
- func (c VirtualMachineExtensionsClient) DeleteThenPoll(ctx context.Context, id ExtensionId) error
- func (c VirtualMachineExtensionsClient) Get(ctx context.Context, id ExtensionId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c VirtualMachineExtensionsClient) List(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c VirtualMachineExtensionsClient) Update(ctx context.Context, id ExtensionId, input VirtualMachineExtensionUpdate) (result UpdateOperationResponse, err error)
- func (c VirtualMachineExtensionsClient) UpdateThenPoll(ctx context.Context, id ExtensionId, input VirtualMachineExtensionUpdate) error
- type VirtualMachineExtensionsListResult
- 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ExtensionId ¶
type ExtensionId struct { SubscriptionId string ResourceGroupName string VirtualMachineName string VmExtensionName string }
ExtensionId is a struct representing the Resource ID for a Extension
func NewExtensionID ¶
func NewExtensionID(subscriptionId string, resourceGroupName string, virtualMachineName string, vmExtensionName 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 GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *VirtualMachineExtension }
type InstanceViewStatus ¶
type InstanceViewStatus 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 (*InstanceViewStatus) GetTimeAsTime ¶
func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*InstanceViewStatus) SetTimeAsTime ¶
func (o *InstanceViewStatus) SetTimeAsTime(input time.Time)
type ListOperationOptions ¶
type ListOperationOptions struct {
Expand *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *VirtualMachineExtensionsListResult }
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type VirtualMachineExtension ¶
type VirtualMachineExtensionInstanceView ¶
type VirtualMachineExtensionInstanceView struct { Name *string `json:"name,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` Substatuses *[]InstanceViewStatus `json:"substatuses,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type VirtualMachineExtensionProperties ¶
type VirtualMachineExtensionProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` InstanceView *VirtualMachineExtensionInstanceView `json:"instanceView"` ProtectedSettings *interface{} `json:"protectedSettings,omitempty"` ProtectedSettingsFromKeyVault *interface{} `json:"protectedSettingsFromKeyVault,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Publisher *string `json:"publisher,omitempty"` Settings *interface{} `json:"settings,omitempty"` SuppressFailures *bool `json:"suppressFailures,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type VirtualMachineExtensionUpdate ¶
type VirtualMachineExtensionUpdate struct { Properties *VirtualMachineExtensionUpdateProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type VirtualMachineExtensionUpdateProperties ¶
type VirtualMachineExtensionUpdateProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` ProtectedSettings *interface{} `json:"protectedSettings,omitempty"` ProtectedSettingsFromKeyVault *interface{} `json:"protectedSettingsFromKeyVault,omitempty"` Publisher *string `json:"publisher,omitempty"` Settings *interface{} `json:"settings,omitempty"` SuppressFailures *bool `json:"suppressFailures,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type VirtualMachineExtensionsClient ¶
type VirtualMachineExtensionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewVirtualMachineExtensionsClientWithBaseURI ¶
func NewVirtualMachineExtensionsClientWithBaseURI(endpoint string) VirtualMachineExtensionsClient
func (VirtualMachineExtensionsClient) CreateOrUpdate ¶
func (c VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, id ExtensionId, input VirtualMachineExtension) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualMachineExtensionsClient) CreateOrUpdateThenPoll ¶
func (c VirtualMachineExtensionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ExtensionId, input VirtualMachineExtension) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualMachineExtensionsClient) Delete ¶
func (c VirtualMachineExtensionsClient) Delete(ctx context.Context, id ExtensionId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualMachineExtensionsClient) DeleteThenPoll ¶
func (c VirtualMachineExtensionsClient) DeleteThenPoll(ctx context.Context, id ExtensionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualMachineExtensionsClient) Get ¶
func (c VirtualMachineExtensionsClient) Get(ctx context.Context, id ExtensionId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (VirtualMachineExtensionsClient) List ¶
func (c VirtualMachineExtensionsClient) List(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (VirtualMachineExtensionsClient) Update ¶
func (c VirtualMachineExtensionsClient) Update(ctx context.Context, id ExtensionId, input VirtualMachineExtensionUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VirtualMachineExtensionsClient) UpdateThenPoll ¶
func (c VirtualMachineExtensionsClient) UpdateThenPoll(ctx context.Context, id ExtensionId, input VirtualMachineExtensionUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type VirtualMachineExtensionsListResult ¶
type VirtualMachineExtensionsListResult struct {
Value *[]VirtualMachineExtension `json:"value,omitempty"`
}
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_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_update_autorest.go
- model_instanceviewstatus.go
- model_virtualmachineextension.go
- model_virtualmachineextensioninstanceview.go
- model_virtualmachineextensionproperties.go
- model_virtualmachineextensionslistresult.go
- model_virtualmachineextensionupdate.go
- model_virtualmachineextensionupdateproperties.go
- version.go