Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2022 v1.0.0 Sep 12, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AzureEntityResource struct + Etag *string + ID *string + Name *string + Type *string + func (aer AzureEntityResource) MarshalJSON() ([]byte, error) + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type ErrorAdditionalInfo struct + Info interface{} + Type *string + func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error) + type ErrorDetail struct + Code *string + Details *[]ErrorDetail + Message *string + Target *string + type ErrorResponse struct + AdditionalInfo *[]ErrorAdditionalInfo + Code *string + Details *[]ErrorResponse + Message *string + Target *string + func (er ErrorResponse) MarshalJSON() ([]byte, error) + type Identity struct + PrincipalID *string + TenantID *string + Type ResourceIdentityType + func (i Identity) MarshalJSON() ([]byte, error) + type InstanceViewTypes string + const InstanceView + func PossibleInstanceViewTypesValues() []InstanceViewTypes + type LocationData struct + City *string + CountryOrRegion *string + District *string + Name *string + type Machine struct + ID *string + Identity *MachineIdentity + Location *string + Name *string + Tags map[string]*string + Type *string + func (mVar *Machine) UnmarshalJSON(body []byte) error + func (mVar Machine) MarshalJSON() ([]byte, error) + type MachineExtension struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (me *MachineExtension) UnmarshalJSON(body []byte) error + func (me MachineExtension) MarshalJSON() ([]byte, error) + type MachineExtensionInstanceView struct + Name *string + Status *MachineExtensionInstanceViewStatus + Type *string + TypeHandlerVersion *string + type MachineExtensionInstanceViewStatus struct + Code *string + DisplayStatus *string + Level StatusLevelTypes + Message *string + Time *date.Time + type MachineExtensionProperties struct + AutoUpgradeMinorVersion *bool + ForceUpdateTag *string + InstanceView *MachineExtensionPropertiesInstanceView + ProtectedSettings interface{} + ProvisioningState *string + Publisher *string + Settings interface{} + Type *string + TypeHandlerVersion *string + func (me MachineExtensionProperties) MarshalJSON() ([]byte, error) + type MachineExtensionPropertiesInstanceView struct + Name *string + Status *MachineExtensionInstanceViewStatus + Type *string + TypeHandlerVersion *string + type MachineExtensionPropertiesModel struct + AutoUpgradeMinorVersion *bool + ForceUpdateTag *string + InstanceView *MachineExtensionPropertiesInstanceView + ProtectedSettings interface{} + ProvisioningState *string + Publisher *string + Settings interface{} + Type *string + TypeHandlerVersion *string + func (mepm MachineExtensionPropertiesModel) MarshalJSON() ([]byte, error) + type MachineExtensionUpdate struct + Tags map[string]*string + func (meu *MachineExtensionUpdate) UnmarshalJSON(body []byte) error + func (meu MachineExtensionUpdate) MarshalJSON() ([]byte, error) + type MachineExtensionUpdateProperties struct + AutoUpgradeMinorVersion *bool + ForceUpdateTag *string + ProtectedSettings interface{} + Publisher *string + Settings interface{} + Type *string + TypeHandlerVersion *string + type MachineExtensionUpdatePropertiesModel struct + AutoUpgradeMinorVersion *bool + ForceUpdateTag *string + ProtectedSettings interface{} + Publisher *string + Settings interface{} + Type *string + TypeHandlerVersion *string + type MachineExtensionsClient struct + func NewMachineExtensionsClient(subscriptionID string) MachineExtensionsClient + func NewMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) MachineExtensionsClient + func (client MachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, ...) (result MachineExtensionsCreateOrUpdateFuture, err error) + func (client MachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client MachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result MachineExtension, err error) + func (client MachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future MachineExtensionsCreateOrUpdateFuture, err error) + func (client MachineExtensionsClient) Delete(ctx context.Context, resourceGroupName string, name string, ...) (result MachineExtensionsDeleteFuture, err error) + func (client MachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client MachineExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client MachineExtensionsClient) DeleteSender(req *http.Request) (future MachineExtensionsDeleteFuture, err error) + func (client MachineExtensionsClient) Get(ctx context.Context, resourceGroupName string, name string, ...) (result MachineExtension, err error) + func (client MachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client MachineExtensionsClient) GetResponder(resp *http.Response) (result MachineExtension, err error) + func (client MachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error) + func (client MachineExtensionsClient) List(ctx context.Context, resourceGroupName string, name string, expand string) (result MachineExtensionsListResultPage, err error) + func (client MachineExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, name string, expand string) (result MachineExtensionsListResultIterator, err error) + func (client MachineExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, name string, expand string) (*http.Request, error) + func (client MachineExtensionsClient) ListResponder(resp *http.Response) (result MachineExtensionsListResult, err error) + func (client MachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error) + func (client MachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, name string, ...) (result MachineExtensionsUpdateFuture, err error) + func (client MachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client MachineExtensionsClient) UpdateResponder(resp *http.Response) (result MachineExtension, err error) + func (client MachineExtensionsClient) UpdateSender(req *http.Request) (future MachineExtensionsUpdateFuture, err error) + type MachineExtensionsCreateOrUpdateFuture struct + Result func(MachineExtensionsClient) (MachineExtension, error) + func (future *MachineExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type MachineExtensionsDeleteFuture struct + Result func(MachineExtensionsClient) (autorest.Response, error) + func (future *MachineExtensionsDeleteFuture) UnmarshalJSON(body []byte) error + type MachineExtensionsListResult struct + NextLink *string + Value *[]MachineExtension + func (melr MachineExtensionsListResult) IsEmpty() bool + type MachineExtensionsListResultIterator struct + func NewMachineExtensionsListResultIterator(page MachineExtensionsListResultPage) MachineExtensionsListResultIterator + func (iter *MachineExtensionsListResultIterator) Next() error + func (iter *MachineExtensionsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter MachineExtensionsListResultIterator) NotDone() bool + func (iter MachineExtensionsListResultIterator) Response() MachineExtensionsListResult + func (iter MachineExtensionsListResultIterator) Value() MachineExtension + type MachineExtensionsListResultPage struct + func NewMachineExtensionsListResultPage(cur MachineExtensionsListResult, ...) MachineExtensionsListResultPage + func (page *MachineExtensionsListResultPage) Next() error + func (page *MachineExtensionsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page MachineExtensionsListResultPage) NotDone() bool + func (page MachineExtensionsListResultPage) Response() MachineExtensionsListResult + func (page MachineExtensionsListResultPage) Values() []MachineExtension + type MachineExtensionsUpdateFuture struct + Result func(MachineExtensionsClient) (MachineExtension, error) + func (future *MachineExtensionsUpdateFuture) UnmarshalJSON(body []byte) error + type MachineIdentity struct + PrincipalID *string + TenantID *string + Type ResourceIdentityType + func (mVar MachineIdentity) MarshalJSON() ([]byte, error) + type MachineListResult struct + NextLink *string + Value *[]Machine + func (mlr MachineListResult) IsEmpty() bool + type MachineListResultIterator struct + func NewMachineListResultIterator(page MachineListResultPage) MachineListResultIterator + func (iter *MachineListResultIterator) Next() error + func (iter *MachineListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter MachineListResultIterator) NotDone() bool + func (iter MachineListResultIterator) Response() MachineListResult + func (iter MachineListResultIterator) Value() Machine + type MachineListResultPage struct + func NewMachineListResultPage(cur MachineListResult, ...) MachineListResultPage + func (page *MachineListResultPage) Next() error + func (page *MachineListResultPage) NextWithContext(ctx context.Context) (err error) + func (page MachineListResultPage) NotDone() bool + func (page MachineListResultPage) Response() MachineListResult + func (page MachineListResultPage) Values() []Machine + type MachineProperties struct + AgentVersion *string + ClientPublicKey *string + DisplayName *string + ErrorDetails *[]ErrorDetail + Extensions *[]MachineExtensionInstanceView + LastStatusChange *date.Time + LocationData *LocationData + MachineFqdn *string + OsName *string + OsProfile *MachinePropertiesOsProfile + OsVersion *string + ProvisioningState *string + Status StatusTypes + VMID *string + func (mp MachineProperties) MarshalJSON() ([]byte, error) + type MachinePropertiesModel struct + AgentVersion *string + ClientPublicKey *string + DisplayName *string + ErrorDetails *[]ErrorDetail + Extensions *[]MachineExtensionInstanceView + LastStatusChange *date.Time + LocationData *LocationData + MachineFqdn *string + OsName *string + OsProfile *MachinePropertiesOsProfile + OsVersion *string + ProvisioningState *string + Status StatusTypes + VMID *string + func (mpm MachinePropertiesModel) MarshalJSON() ([]byte, error) + type MachinePropertiesOsProfile struct + ComputerName *string + func (mpP MachinePropertiesOsProfile) MarshalJSON() ([]byte, error) + type MachineReconnect struct + func (mr *MachineReconnect) UnmarshalJSON(body []byte) error + func (mr MachineReconnect) MarshalJSON() ([]byte, error) + type MachineReconnectProperties struct + ClientPublicKey *string + VMID *string + type MachineReconnectPropertiesModel struct + ClientPublicKey *string + VMID *string + type MachineUpdate struct + Tags map[string]*string + func (mu *MachineUpdate) UnmarshalJSON(body []byte) error + func (mu MachineUpdate) MarshalJSON() ([]byte, error) + type MachineUpdateIdentity struct + PrincipalID *string + TenantID *string + Type ResourceIdentityType + func (mu MachineUpdateIdentity) MarshalJSON() ([]byte, error) + type MachineUpdateProperties struct + LocationData *LocationData + type MachineUpdatePropertiesModel struct + LocationData *LocationData + type MachinesClient struct + func NewMachinesClient(subscriptionID string) MachinesClient + func NewMachinesClientWithBaseURI(baseURI string, subscriptionID string) MachinesClient + func (client MachinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, parameters Machine) (result Machine, err error) + func (client MachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters Machine) (*http.Request, error) + func (client MachinesClient) CreateOrUpdateResponder(resp *http.Response) (result Machine, err error) + func (client MachinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client MachinesClient) Delete(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error) + func (client MachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) + func (client MachinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client MachinesClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client MachinesClient) Get(ctx context.Context, resourceGroupName string, name string, ...) (result Machine, err error) + func (client MachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client MachinesClient) GetResponder(resp *http.Response) (result Machine, err error) + func (client MachinesClient) GetSender(req *http.Request) (*http.Response, error) + func (client MachinesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MachineListResultPage, err error) + func (client MachinesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result MachineListResultIterator, err error) + func (client MachinesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) + func (client MachinesClient) ListByResourceGroupResponder(resp *http.Response) (result MachineListResult, err error) + func (client MachinesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client MachinesClient) ListBySubscription(ctx context.Context) (result MachineListResultPage, err error) + func (client MachinesClient) ListBySubscriptionComplete(ctx context.Context) (result MachineListResultIterator, err error) + func (client MachinesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) + func (client MachinesClient) ListBySubscriptionResponder(resp *http.Response) (result MachineListResult, err error) + func (client MachinesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) + func (client MachinesClient) Reconnect(ctx context.Context, resourceGroupName string, name string, ...) (result Machine, err error) + func (client MachinesClient) ReconnectPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client MachinesClient) ReconnectResponder(resp *http.Response) (result Machine, err error) + func (client MachinesClient) ReconnectSender(req *http.Request) (*http.Response, error) + func (client MachinesClient) Update(ctx context.Context, resourceGroupName string, name string, ...) (result Machine, err error) + func (client MachinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error) + func (client MachinesClient) UpdateResponder(resp *http.Response) (result Machine, err error) + func (client MachinesClient) UpdateSender(req *http.Request) (*http.Response, error) + type OSProfile struct + ComputerName *string + func (op OSProfile) MarshalJSON() ([]byte, error) + type OperationListResult struct + Value *[]OperationValue + func (olr OperationListResult) MarshalJSON() ([]byte, error) + type OperationValue struct + Name *string + Origin *string + func (ov *OperationValue) UnmarshalJSON(body []byte) error + func (ov OperationValue) MarshalJSON() ([]byte, error) + type OperationValueDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + func (ov OperationValueDisplay) MarshalJSON() ([]byte, error) + type OperationValueDisplayModel struct + Description *string + Operation *string + Provider *string + Resource *string + func (ovdm OperationValueDisplayModel) MarshalJSON() ([]byte, error) + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type Plan struct + Name *string + Product *string + PromotionCode *string + Publisher *string + Version *string + type ProxyResource struct + ID *string + Name *string + Type *string + func (pr ProxyResource) MarshalJSON() ([]byte, error) + type Resource struct + ID *string + Name *string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceIdentityType string + const SystemAssigned + func PossibleResourceIdentityTypeValues() []ResourceIdentityType + type ResourceModelWithAllowedPropertySet struct + Etag *string + ID *string + Identity *ResourceModelWithAllowedPropertySetIdentity + Kind *string + Location *string + ManagedBy *string + Name *string + Plan *ResourceModelWithAllowedPropertySetPlan + Sku *ResourceModelWithAllowedPropertySetSku + Tags map[string]*string + Type *string + func (rmwaps ResourceModelWithAllowedPropertySet) MarshalJSON() ([]byte, error) + type ResourceModelWithAllowedPropertySetIdentity struct + PrincipalID *string + TenantID *string + Type ResourceIdentityType + func (rmwaps ResourceModelWithAllowedPropertySetIdentity) MarshalJSON() ([]byte, error) + type ResourceModelWithAllowedPropertySetPlan struct + Name *string + Product *string + PromotionCode *string + Publisher *string + Version *string + type ResourceModelWithAllowedPropertySetSku struct + Capacity *int32 + Family *string + Name *string + Size *string + Tier SkuTier + type Sku struct + Capacity *int32 + Family *string + Name *string + Size *string + Tier SkuTier + type SkuTier string + const Basic + const Free + const Premium + const Standard + func PossibleSkuTierValues() []SkuTier + type StatusLevelTypes string + const Error + const Info + const Warning + func PossibleStatusLevelTypesValues() []StatusLevelTypes + type StatusTypes string + const StatusTypesConnected + const StatusTypesDisconnected + const StatusTypesError + func PossibleStatusTypesValues() []StatusTypes + type TrackedResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (tr TrackedResource) MarshalJSON() ([]byte, error) + type UpdateResource struct + Tags map[string]*string + func (ur UpdateResource) MarshalJSON() ([]byte, error)