hybridcompute

package
v61.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package hybridcompute implements the Azure ARM Hybridcompute service API version 2020-08-02.

The Hybrid Compute Management Client.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Hybridcompute
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AzureEntityResource

type AzureEntityResource struct {
	// Etag - READ-ONLY; Resource Etag.
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

func (AzureEntityResource) MarshalJSON

func (aer AzureEntityResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureEntityResource.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Hybridcompute.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type ErrorDetail

type ErrorDetail struct {
	// Code - The error's code.
	Code *string `json:"code,omitempty"`
	// Message - A human readable error message.
	Message *string `json:"message,omitempty"`
	// Target - Indicates which property in the request is responsible for the error.
	Target *string `json:"target,omitempty"`
	// Details - Additional error details.
	Details *[]ErrorDetail `json:"details,omitempty"`
}

ErrorDetail ...

type ErrorResponse

type ErrorResponse struct {
	// Error - The error details.
	Error *ErrorDetail `json:"error,omitempty"`
}

ErrorResponse contains details when the response code indicates an error.

type Identity

type Identity struct {
	// Type - The identity type.
	Type *string `json:"type,omitempty"`
	// PrincipalID - READ-ONLY; The identity's principal id.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The identity's tenant id.
	TenantID *string `json:"tenantId,omitempty"`
}

Identity ...

func (Identity) MarshalJSON

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type InstanceViewTypes

type InstanceViewTypes string

InstanceViewTypes enumerates the values for instance view types.

const (
	// InstanceView ...
	InstanceView InstanceViewTypes = "instanceView"
)

func PossibleInstanceViewTypesValues

func PossibleInstanceViewTypesValues() []InstanceViewTypes

PossibleInstanceViewTypesValues returns an array of possible values for the InstanceViewTypes const type.

type LocationData

type LocationData struct {
	// Name - A canonical name for the geographic or physical location.
	Name *string `json:"name,omitempty"`
	// City - The city or locality where the resource is located.
	City *string `json:"city,omitempty"`
	// District - The district, state, or province where the resource is located.
	District *string `json:"district,omitempty"`
	// CountryOrRegion - The country or region where the resource is located
	CountryOrRegion *string `json:"countryOrRegion,omitempty"`
}

LocationData metadata pertaining to the geographic location of the resource.

type Machine

type Machine struct {
	autorest.Response `json:"-"`
	// MachinePropertiesModel - Hybrid Compute Machine properties
	*MachinePropertiesModel `json:"properties,omitempty"`
	Identity                *MachineIdentity `json:"identity,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Machine describes a hybrid machine.

func (Machine) MarshalJSON

func (mVar Machine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Machine.

func (*Machine) UnmarshalJSON

func (mVar *Machine) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Machine struct.

type MachineExtension

type MachineExtension struct {
	autorest.Response `json:"-"`
	// MachineExtensionProperties - Describes Machine Extension Properties.
	*MachineExtensionProperties `json:"properties,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

MachineExtension describes a Machine Extension.

func (MachineExtension) MarshalJSON

func (me MachineExtension) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineExtension.

func (*MachineExtension) UnmarshalJSON

func (me *MachineExtension) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MachineExtension struct.

type MachineExtensionInstanceView

type MachineExtensionInstanceView struct {
	// Name - READ-ONLY; The machine extension name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Specifies the type of the extension; an example is "CustomScriptExtension".
	Type *string `json:"type,omitempty"`
	// TypeHandlerVersion - READ-ONLY; Specifies the version of the script handler.
	TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
	// Status - Instance view status.
	Status *MachineExtensionInstanceViewStatus `json:"status,omitempty"`
}

MachineExtensionInstanceView describes the Machine Extension Instance View.

func (MachineExtensionInstanceView) MarshalJSON

func (meiv MachineExtensionInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineExtensionInstanceView.

type MachineExtensionInstanceViewStatus

type MachineExtensionInstanceViewStatus struct {
	// Code - READ-ONLY; The status code.
	Code *string `json:"code,omitempty"`
	// Level - READ-ONLY; The level code. Possible values include: 'Info', 'Warning', 'Error'
	Level StatusLevelTypes `json:"level,omitempty"`
	// DisplayStatus - READ-ONLY; The short localizable label for the status.
	DisplayStatus *string `json:"displayStatus,omitempty"`
	// Message - READ-ONLY; The detailed status message, including for alerts and error messages.
	Message *string `json:"message,omitempty"`
	// Time - READ-ONLY; The time of the status.
	Time *date.Time `json:"time,omitempty"`
}

MachineExtensionInstanceViewStatus instance view status.

func (MachineExtensionInstanceViewStatus) MarshalJSON

func (meiv MachineExtensionInstanceViewStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineExtensionInstanceViewStatus.

type MachineExtensionProperties

type MachineExtensionProperties struct {
	// ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed.
	ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
	// Publisher - The name of the extension handler publisher.
	Publisher *string `json:"publisher,omitempty"`
	// Type - Specifies the type of the extension; an example is "CustomScriptExtension".
	Type *string `json:"type,omitempty"`
	// TypeHandlerVersion - Specifies the version of the script handler.
	TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
	// AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
	AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
	// Settings - Json formatted public settings for the extension.
	Settings interface{} `json:"settings,omitempty"`
	// ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
	ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// InstanceView - The machine extension instance view.
	InstanceView *MachineExtensionPropertiesInstanceView `json:"instanceView,omitempty"`
}

MachineExtensionProperties describes Machine Extension Properties.

func (MachineExtensionProperties) MarshalJSON

func (me MachineExtensionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineExtensionProperties.

type MachineExtensionPropertiesInstanceView

type MachineExtensionPropertiesInstanceView struct {
	// Name - READ-ONLY; The machine extension name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Specifies the type of the extension; an example is "CustomScriptExtension".
	Type *string `json:"type,omitempty"`
	// TypeHandlerVersion - READ-ONLY; Specifies the version of the script handler.
	TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
	// Status - Instance view status.
	Status *MachineExtensionInstanceViewStatus `json:"status,omitempty"`
}

MachineExtensionPropertiesInstanceView the machine extension instance view.

func (MachineExtensionPropertiesInstanceView) MarshalJSON

func (mepV MachineExtensionPropertiesInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineExtensionPropertiesInstanceView.

type MachineExtensionPropertiesModel

type MachineExtensionPropertiesModel struct {
	// ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed.
	ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
	// Publisher - The name of the extension handler publisher.
	Publisher *string `json:"publisher,omitempty"`
	// Type - Specifies the type of the extension; an example is "CustomScriptExtension".
	Type *string `json:"type,omitempty"`
	// TypeHandlerVersion - Specifies the version of the script handler.
	TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
	// AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
	AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
	// Settings - Json formatted public settings for the extension.
	Settings interface{} `json:"settings,omitempty"`
	// ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
	ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// InstanceView - The machine extension instance view.
	InstanceView *MachineExtensionPropertiesInstanceView `json:"instanceView,omitempty"`
}

MachineExtensionPropertiesModel describes the properties of a Machine Extension.

func (MachineExtensionPropertiesModel) MarshalJSON

func (mepm MachineExtensionPropertiesModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineExtensionPropertiesModel.

type MachineExtensionUpdate

type MachineExtensionUpdate struct {
	// MachineExtensionUpdateProperties - Describes Machine Extension Update Properties.
	*MachineExtensionUpdateProperties `json:"properties,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

MachineExtensionUpdate describes a Machine Extension Update.

func (MachineExtensionUpdate) MarshalJSON

func (meu MachineExtensionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineExtensionUpdate.

func (*MachineExtensionUpdate) UnmarshalJSON

func (meu *MachineExtensionUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MachineExtensionUpdate struct.

type MachineExtensionUpdateProperties

type MachineExtensionUpdateProperties struct {
	// ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed.
	ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
	// Publisher - The name of the extension handler publisher.
	Publisher *string `json:"publisher,omitempty"`
	// Type - Specifies the type of the extension; an example is "CustomScriptExtension".
	Type *string `json:"type,omitempty"`
	// TypeHandlerVersion - Specifies the version of the script handler.
	TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
	// AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
	AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
	// Settings - Json formatted public settings for the extension.
	Settings interface{} `json:"settings,omitempty"`
	// ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
	ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
}

MachineExtensionUpdateProperties describes Machine Extension Update Properties.

type MachineExtensionUpdatePropertiesModel

type MachineExtensionUpdatePropertiesModel struct {
	// ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed.
	ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
	// Publisher - The name of the extension handler publisher.
	Publisher *string `json:"publisher,omitempty"`
	// Type - Specifies the type of the extension; an example is "CustomScriptExtension".
	Type *string `json:"type,omitempty"`
	// TypeHandlerVersion - Specifies the version of the script handler.
	TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
	// AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
	AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
	// Settings - Json formatted public settings for the extension.
	Settings interface{} `json:"settings,omitempty"`
	// ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
	ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
}

MachineExtensionUpdatePropertiesModel describes the properties of a Machine Extension.

type MachineExtensionsClient

type MachineExtensionsClient struct {
	BaseClient
}

MachineExtensionsClient is the the Hybrid Compute Management Client.

func NewMachineExtensionsClient

func NewMachineExtensionsClient(subscriptionID string) MachineExtensionsClient

NewMachineExtensionsClient creates an instance of the MachineExtensionsClient client.

func NewMachineExtensionsClientWithBaseURI

func NewMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) MachineExtensionsClient

NewMachineExtensionsClientWithBaseURI creates an instance of the MachineExtensionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MachineExtensionsClient) CreateOrUpdate

func (client MachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, extensionName string, extensionParameters MachineExtension) (result MachineExtensionsCreateOrUpdateFuture, err error)

CreateOrUpdate the operation to create or update the extension. Parameters: resourceGroupName - the name of the resource group. name - the name of the machine where the extension should be created or updated. extensionName - the name of the machine extension. extensionParameters - parameters supplied to the Create Machine Extension operation.

func (MachineExtensionsClient) CreateOrUpdatePreparer

func (client MachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, extensionName string, extensionParameters MachineExtension) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (MachineExtensionsClient) CreateOrUpdateResponder

func (client MachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result MachineExtension, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (MachineExtensionsClient) CreateOrUpdateSender

func (client MachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future MachineExtensionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (MachineExtensionsClient) Delete

func (client MachineExtensionsClient) Delete(ctx context.Context, resourceGroupName string, name string, extensionName string) (result MachineExtensionsDeleteFuture, err error)

Delete the operation to delete the extension. Parameters: resourceGroupName - the name of the resource group. name - the name of the machine where the extension should be deleted. extensionName - the name of the machine extension.

func (MachineExtensionsClient) DeletePreparer

func (client MachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string, extensionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MachineExtensionsClient) DeleteResponder

func (client MachineExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (MachineExtensionsClient) DeleteSender

func (client MachineExtensionsClient) DeleteSender(req *http.Request) (future MachineExtensionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MachineExtensionsClient) Get

func (client MachineExtensionsClient) Get(ctx context.Context, resourceGroupName string, name string, extensionName string) (result MachineExtension, err error)

Get the operation to get the extension. Parameters: resourceGroupName - the name of the resource group. name - the name of the machine containing the extension. extensionName - the name of the machine extension.

func (MachineExtensionsClient) GetPreparer

func (client MachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, name string, extensionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MachineExtensionsClient) GetResponder

func (client MachineExtensionsClient) GetResponder(resp *http.Response) (result MachineExtension, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MachineExtensionsClient) GetSender

func (client MachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MachineExtensionsClient) List

func (client MachineExtensionsClient) List(ctx context.Context, resourceGroupName string, name string, expand string) (result MachineExtensionsListResultPage, err error)

List the operation to get all extensions of a non-Azure machine Parameters: resourceGroupName - the name of the resource group. name - the name of the machine containing the extension. expand - the expand expression to apply on the operation.

func (MachineExtensionsClient) ListComplete

func (client MachineExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, name string, expand string) (result MachineExtensionsListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MachineExtensionsClient) ListPreparer

func (client MachineExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, name string, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (MachineExtensionsClient) ListResponder

func (client MachineExtensionsClient) ListResponder(resp *http.Response) (result MachineExtensionsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MachineExtensionsClient) ListSender

func (client MachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (MachineExtensionsClient) Update

func (client MachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, name string, extensionName string, extensionParameters MachineExtensionUpdate) (result MachineExtensionsUpdateFuture, err error)

Update the operation to update the extension. Parameters: resourceGroupName - the name of the resource group. name - the name of the machine where the extension should be created or updated. extensionName - the name of the machine extension. extensionParameters - parameters supplied to the Create Machine Extension operation.

func (MachineExtensionsClient) UpdatePreparer

func (client MachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, extensionName string, extensionParameters MachineExtensionUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MachineExtensionsClient) UpdateResponder

func (client MachineExtensionsClient) UpdateResponder(resp *http.Response) (result MachineExtension, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (MachineExtensionsClient) UpdateSender

func (client MachineExtensionsClient) UpdateSender(req *http.Request) (future MachineExtensionsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type MachineExtensionsCreateOrUpdateFuture

type MachineExtensionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(MachineExtensionsClient) (MachineExtension, error)
}

MachineExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*MachineExtensionsCreateOrUpdateFuture) UnmarshalJSON

func (future *MachineExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MachineExtensionsDeleteFuture

type MachineExtensionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(MachineExtensionsClient) (autorest.Response, error)
}

MachineExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*MachineExtensionsDeleteFuture) UnmarshalJSON

func (future *MachineExtensionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MachineExtensionsListResult

type MachineExtensionsListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of extensions
	Value *[]MachineExtension `json:"value,omitempty"`
	// NextLink - The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions.
	NextLink *string `json:"nextLink,omitempty"`
}

MachineExtensionsListResult describes the Machine Extensions List Result.

func (MachineExtensionsListResult) IsEmpty

func (melr MachineExtensionsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MachineExtensionsListResultIterator

type MachineExtensionsListResultIterator struct {
	// contains filtered or unexported fields
}

MachineExtensionsListResultIterator provides access to a complete listing of MachineExtension values.

func NewMachineExtensionsListResultIterator

func NewMachineExtensionsListResultIterator(page MachineExtensionsListResultPage) MachineExtensionsListResultIterator

Creates a new instance of the MachineExtensionsListResultIterator type.

func (*MachineExtensionsListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MachineExtensionsListResultIterator) NextWithContext

func (iter *MachineExtensionsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MachineExtensionsListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (MachineExtensionsListResultIterator) Response

Response returns the raw server response from the last page request.

func (MachineExtensionsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MachineExtensionsListResultPage

type MachineExtensionsListResultPage struct {
	// contains filtered or unexported fields
}

MachineExtensionsListResultPage contains a page of MachineExtension values.

func NewMachineExtensionsListResultPage

Creates a new instance of the MachineExtensionsListResultPage type.

func (*MachineExtensionsListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MachineExtensionsListResultPage) NextWithContext

func (page *MachineExtensionsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MachineExtensionsListResultPage) NotDone

func (page MachineExtensionsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MachineExtensionsListResultPage) Response

Response returns the raw server response from the last page request.

func (MachineExtensionsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type MachineExtensionsUpdateFuture

type MachineExtensionsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(MachineExtensionsClient) (MachineExtension, error)
}

MachineExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*MachineExtensionsUpdateFuture) UnmarshalJSON

func (future *MachineExtensionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type MachineIdentity

type MachineIdentity struct {
	// Type - The identity type.
	Type *string `json:"type,omitempty"`
	// PrincipalID - READ-ONLY; The identity's principal id.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The identity's tenant id.
	TenantID *string `json:"tenantId,omitempty"`
}

MachineIdentity ...

func (MachineIdentity) MarshalJSON

func (mVar MachineIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineIdentity.

type MachineListResult

type MachineListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of hybrid machines.
	Value *[]Machine `json:"value,omitempty"`
	// NextLink - The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines.
	NextLink *string `json:"nextLink,omitempty"`
}

MachineListResult the List hybrid machine operation response.

func (MachineListResult) IsEmpty

func (mlr MachineListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MachineListResultIterator

type MachineListResultIterator struct {
	// contains filtered or unexported fields
}

MachineListResultIterator provides access to a complete listing of Machine values.

func NewMachineListResultIterator

func NewMachineListResultIterator(page MachineListResultPage) MachineListResultIterator

Creates a new instance of the MachineListResultIterator type.

func (*MachineListResultIterator) Next

func (iter *MachineListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MachineListResultIterator) NextWithContext

func (iter *MachineListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MachineListResultIterator) NotDone

func (iter MachineListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MachineListResultIterator) Response

Response returns the raw server response from the last page request.

func (MachineListResultIterator) Value

func (iter MachineListResultIterator) Value() Machine

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MachineListResultPage

type MachineListResultPage struct {
	// contains filtered or unexported fields
}

MachineListResultPage contains a page of Machine values.

func NewMachineListResultPage

func NewMachineListResultPage(cur MachineListResult, getNextPage func(context.Context, MachineListResult) (MachineListResult, error)) MachineListResultPage

Creates a new instance of the MachineListResultPage type.

func (*MachineListResultPage) Next

func (page *MachineListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*MachineListResultPage) NextWithContext

func (page *MachineListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MachineListResultPage) NotDone

func (page MachineListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MachineListResultPage) Response

func (page MachineListResultPage) Response() MachineListResult

Response returns the raw server response from the last page request.

func (MachineListResultPage) Values

func (page MachineListResultPage) Values() []Machine

Values returns the slice of values for the current page or nil if there are no values.

type MachineProperties

type MachineProperties struct {
	LocationData *LocationData `json:"locationData,omitempty"`
	// OsProfile - Specifies the operating system settings for the hybrid machine.
	OsProfile *MachinePropertiesOsProfile `json:"osProfile,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Status - READ-ONLY; The status of the hybrid machine agent. Possible values include: 'StatusTypesConnected', 'StatusTypesDisconnected', 'StatusTypesError'
	Status StatusTypes `json:"status,omitempty"`
	// LastStatusChange - READ-ONLY; The time of the last status change.
	LastStatusChange *date.Time `json:"lastStatusChange,omitempty"`
	// ErrorDetails - READ-ONLY; Details about the error state.
	ErrorDetails *[]ErrorDetail `json:"errorDetails,omitempty"`
	// AgentVersion - READ-ONLY; The hybrid machine agent full version.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// VMID - Specifies the hybrid machine unique ID.
	VMID *string `json:"vmId,omitempty"`
	// DisplayName - READ-ONLY; Specifies the hybrid machine display name.
	DisplayName *string `json:"displayName,omitempty"`
	// MachineFqdn - READ-ONLY; Specifies the hybrid machine FQDN.
	MachineFqdn *string `json:"machineFqdn,omitempty"`
	// ClientPublicKey - Public Key that the client provides to be used during initial resource onboarding
	ClientPublicKey *string `json:"clientPublicKey,omitempty"`
	// OsName - READ-ONLY; The Operating System running on the hybrid machine.
	OsName *string `json:"osName,omitempty"`
	// OsVersion - READ-ONLY; The version of Operating System running on the hybrid machine.
	OsVersion *string `json:"osVersion,omitempty"`
	// VMUUID - READ-ONLY; Specifies the Arc Machine's unique SMBIOS ID
	VMUUID *string `json:"vmUuid,omitempty"`
	// Extensions - READ-ONLY; Machine Extensions information
	Extensions *[]MachineExtensionInstanceView `json:"extensions,omitempty"`
	// OsSku - READ-ONLY; Specifies the Operating System product SKU.
	OsSku *string `json:"osSku,omitempty"`
	// DomainName - READ-ONLY; Specifies the Windows domain name.
	DomainName *string `json:"domainName,omitempty"`
	// AdFqdn - READ-ONLY; Specifies the AD fully qualified display name.
	AdFqdn *string `json:"adFqdn,omitempty"`
	// DNSFqdn - READ-ONLY; Specifies the DNS fully qualified display name.
	DNSFqdn *string `json:"dnsFqdn,omitempty"`
}

MachineProperties describes the properties of a hybrid machine.

func (MachineProperties) MarshalJSON

func (mp MachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineProperties.

type MachinePropertiesModel

type MachinePropertiesModel struct {
	LocationData *LocationData `json:"locationData,omitempty"`
	// OsProfile - Specifies the operating system settings for the hybrid machine.
	OsProfile *MachinePropertiesOsProfile `json:"osProfile,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Status - READ-ONLY; The status of the hybrid machine agent. Possible values include: 'StatusTypesConnected', 'StatusTypesDisconnected', 'StatusTypesError'
	Status StatusTypes `json:"status,omitempty"`
	// LastStatusChange - READ-ONLY; The time of the last status change.
	LastStatusChange *date.Time `json:"lastStatusChange,omitempty"`
	// ErrorDetails - READ-ONLY; Details about the error state.
	ErrorDetails *[]ErrorDetail `json:"errorDetails,omitempty"`
	// AgentVersion - READ-ONLY; The hybrid machine agent full version.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// VMID - Specifies the hybrid machine unique ID.
	VMID *string `json:"vmId,omitempty"`
	// DisplayName - READ-ONLY; Specifies the hybrid machine display name.
	DisplayName *string `json:"displayName,omitempty"`
	// MachineFqdn - READ-ONLY; Specifies the hybrid machine FQDN.
	MachineFqdn *string `json:"machineFqdn,omitempty"`
	// ClientPublicKey - Public Key that the client provides to be used during initial resource onboarding
	ClientPublicKey *string `json:"clientPublicKey,omitempty"`
	// OsName - READ-ONLY; The Operating System running on the hybrid machine.
	OsName *string `json:"osName,omitempty"`
	// OsVersion - READ-ONLY; The version of Operating System running on the hybrid machine.
	OsVersion *string `json:"osVersion,omitempty"`
	// VMUUID - READ-ONLY; Specifies the Arc Machine's unique SMBIOS ID
	VMUUID *string `json:"vmUuid,omitempty"`
	// Extensions - READ-ONLY; Machine Extensions information
	Extensions *[]MachineExtensionInstanceView `json:"extensions,omitempty"`
	// OsSku - READ-ONLY; Specifies the Operating System product SKU.
	OsSku *string `json:"osSku,omitempty"`
	// DomainName - READ-ONLY; Specifies the Windows domain name.
	DomainName *string `json:"domainName,omitempty"`
	// AdFqdn - READ-ONLY; Specifies the AD fully qualified display name.
	AdFqdn *string `json:"adFqdn,omitempty"`
	// DNSFqdn - READ-ONLY; Specifies the DNS fully qualified display name.
	DNSFqdn *string `json:"dnsFqdn,omitempty"`
}

MachinePropertiesModel hybrid Compute Machine properties

func (MachinePropertiesModel) MarshalJSON

func (mpm MachinePropertiesModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachinePropertiesModel.

type MachinePropertiesOsProfile

type MachinePropertiesOsProfile struct {
	// ComputerName - READ-ONLY; Specifies the host OS name of the hybrid machine.
	ComputerName *string `json:"computerName,omitempty"`
}

MachinePropertiesOsProfile specifies the operating system settings for the hybrid machine.

func (MachinePropertiesOsProfile) MarshalJSON

func (mpP MachinePropertiesOsProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachinePropertiesOsProfile.

type MachineUpdate

type MachineUpdate struct {
	// MachineUpdateIdentity - Hybrid Compute Machine Managed Identity
	*MachineUpdateIdentity `json:"identity,omitempty"`
	// MachineUpdatePropertiesModel - Hybrid Compute Machine properties
	*MachineUpdatePropertiesModel `json:"properties,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

MachineUpdate describes a hybrid machine Update.

func (MachineUpdate) MarshalJSON

func (mu MachineUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineUpdate.

func (*MachineUpdate) UnmarshalJSON

func (mu *MachineUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MachineUpdate struct.

type MachineUpdateIdentity

type MachineUpdateIdentity struct {
	// Type - The identity type.
	Type *string `json:"type,omitempty"`
	// PrincipalID - READ-ONLY; The identity's principal id.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The identity's tenant id.
	TenantID *string `json:"tenantId,omitempty"`
}

MachineUpdateIdentity hybrid Compute Machine Managed Identity

func (MachineUpdateIdentity) MarshalJSON

func (mu MachineUpdateIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineUpdateIdentity.

type MachineUpdateProperties

type MachineUpdateProperties struct {
	LocationData *LocationData `json:"locationData,omitempty"`
}

MachineUpdateProperties describes the ARM updatable properties of a hybrid machine.

type MachineUpdatePropertiesModel

type MachineUpdatePropertiesModel struct {
	LocationData *LocationData `json:"locationData,omitempty"`
}

MachineUpdatePropertiesModel hybrid Compute Machine properties

type MachinesClient

type MachinesClient struct {
	BaseClient
}

MachinesClient is the the Hybrid Compute Management Client.

func NewMachinesClient

func NewMachinesClient(subscriptionID string) MachinesClient

NewMachinesClient creates an instance of the MachinesClient client.

func NewMachinesClientWithBaseURI

func NewMachinesClientWithBaseURI(baseURI string, subscriptionID string) MachinesClient

NewMachinesClientWithBaseURI creates an instance of the MachinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MachinesClient) CreateOrUpdate

func (client MachinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, parameters Machine) (result Machine, err error)

CreateOrUpdate the operation to create or update a hybrid machine resource identity in Azure. Parameters: resourceGroupName - the name of the resource group. name - the name of the hybrid machine. parameters - parameters supplied to the Create hybrid machine operation.

func (MachinesClient) CreateOrUpdatePreparer

func (client MachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters Machine) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (MachinesClient) CreateOrUpdateResponder

func (client MachinesClient) CreateOrUpdateResponder(resp *http.Response) (result Machine, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (MachinesClient) CreateOrUpdateSender

func (client MachinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) Delete

func (client MachinesClient) Delete(ctx context.Context, resourceGroupName string, name string) (result autorest.Response, err error)

Delete the operation to remove a hybrid machine identity in Azure. Parameters: resourceGroupName - the name of the resource group. name - the name of the hybrid machine.

func (MachinesClient) DeletePreparer

func (client MachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MachinesClient) DeleteResponder

func (client MachinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (MachinesClient) DeleteSender

func (client MachinesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) Get

func (client MachinesClient) Get(ctx context.Context, resourceGroupName string, name string, expand InstanceViewTypes) (result Machine, err error)

Get retrieves information about the model view or the instance view of a hybrid machine. Parameters: resourceGroupName - the name of the resource group. name - the name of the hybrid machine. expand - the expand expression to apply on the operation.

func (MachinesClient) GetPreparer

func (client MachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, name string, expand InstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (MachinesClient) GetResponder

func (client MachinesClient) GetResponder(resp *http.Response) (result Machine, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MachinesClient) GetSender

func (client MachinesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) ListByResourceGroup

func (client MachinesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MachineListResultPage, err error)

ListByResourceGroup lists all the hybrid machines in the specified resource group. Parameters: resourceGroupName - the name of the resource group.

func (MachinesClient) ListByResourceGroupComplete

func (client MachinesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result MachineListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (MachinesClient) ListByResourceGroupPreparer

func (client MachinesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (MachinesClient) ListByResourceGroupResponder

func (client MachinesClient) ListByResourceGroupResponder(resp *http.Response) (result MachineListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (MachinesClient) ListByResourceGroupSender

func (client MachinesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) ListBySubscription

func (client MachinesClient) ListBySubscription(ctx context.Context) (result MachineListResultPage, err error)

ListBySubscription lists all the hybrid machines in the specified subscription.

func (MachinesClient) ListBySubscriptionComplete

func (client MachinesClient) ListBySubscriptionComplete(ctx context.Context) (result MachineListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (MachinesClient) ListBySubscriptionPreparer

func (client MachinesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (MachinesClient) ListBySubscriptionResponder

func (client MachinesClient) ListBySubscriptionResponder(resp *http.Response) (result MachineListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (MachinesClient) ListBySubscriptionSender

func (client MachinesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) Update

func (client MachinesClient) Update(ctx context.Context, resourceGroupName string, name string, parameters MachineUpdate) (result Machine, err error)

Update the operation to update a hybrid machine. Parameters: resourceGroupName - the name of the resource group. name - the name of the hybrid machine. parameters - parameters supplied to the Update hybrid machine operation.

func (MachinesClient) UpdatePreparer

func (client MachinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters MachineUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MachinesClient) UpdateResponder

func (client MachinesClient) UpdateResponder(resp *http.Response) (result Machine, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (MachinesClient) UpdateSender

func (client MachinesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type OSProfile

type OSProfile struct {
	// ComputerName - READ-ONLY; Specifies the host OS name of the hybrid machine.
	ComputerName *string `json:"computerName,omitempty"`
}

OSProfile specifies the operating system settings for the hybrid machine.

func (OSProfile) MarshalJSON

func (op OSProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OSProfile.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The list of compute operations
	Value *[]OperationValue `json:"value,omitempty"`
}

OperationListResult the List Compute Operation operation response.

func (OperationListResult) MarshalJSON

func (olr OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationListResult.

type OperationValue

type OperationValue struct {
	// Origin - READ-ONLY; The origin of the compute operation.
	Origin *string `json:"origin,omitempty"`
	// Name - READ-ONLY; The name of the compute operation.
	Name *string `json:"name,omitempty"`
	// OperationValueDisplay - Display properties
	*OperationValueDisplay `json:"display,omitempty"`
}

OperationValue describes the properties of a Compute Operation value.

func (OperationValue) MarshalJSON

func (ov OperationValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationValue.

func (*OperationValue) UnmarshalJSON

func (ov *OperationValue) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OperationValue struct.

type OperationValueDisplay

type OperationValueDisplay struct {
	// Operation - READ-ONLY; The display name of the compute operation.
	Operation *string `json:"operation,omitempty"`
	// Resource - READ-ONLY; The display name of the resource the operation applies to.
	Resource *string `json:"resource,omitempty"`
	// Description - READ-ONLY; The description of the operation.
	Description *string `json:"description,omitempty"`
	// Provider - READ-ONLY; The resource provider for the operation.
	Provider *string `json:"provider,omitempty"`
}

OperationValueDisplay display properties

func (OperationValueDisplay) MarshalJSON

func (ov OperationValueDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationValueDisplay.

type OperationValueDisplayModel

type OperationValueDisplayModel struct {
	// Operation - READ-ONLY; The display name of the compute operation.
	Operation *string `json:"operation,omitempty"`
	// Resource - READ-ONLY; The display name of the resource the operation applies to.
	Resource *string `json:"resource,omitempty"`
	// Description - READ-ONLY; The description of the operation.
	Description *string `json:"description,omitempty"`
	// Provider - READ-ONLY; The resource provider for the operation.
	Provider *string `json:"provider,omitempty"`
}

OperationValueDisplayModel describes the properties of a Hybrid Compute Operation Value Display.

func (OperationValueDisplayModel) MarshalJSON

func (ovdm OperationValueDisplayModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationValueDisplayModel.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the the Hybrid Compute Management Client.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List gets a list of hybrid compute operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Resource common fields that are returned in the response for all Azure Resource Manager resources

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type StatusLevelTypes

type StatusLevelTypes string

StatusLevelTypes enumerates the values for status level types.

const (
	// Error ...
	Error StatusLevelTypes = "Error"
	// Info ...
	Info StatusLevelTypes = "Info"
	// Warning ...
	Warning StatusLevelTypes = "Warning"
)

func PossibleStatusLevelTypesValues

func PossibleStatusLevelTypesValues() []StatusLevelTypes

PossibleStatusLevelTypesValues returns an array of possible values for the StatusLevelTypes const type.

type StatusTypes

type StatusTypes string

StatusTypes enumerates the values for status types.

const (
	// StatusTypesConnected ...
	StatusTypesConnected StatusTypes = "Connected"
	// StatusTypesDisconnected ...
	StatusTypesDisconnected StatusTypes = "Disconnected"
	// StatusTypesError ...
	StatusTypesError StatusTypes = "Error"
)

func PossibleStatusTypesValues

func PossibleStatusTypesValues() []StatusTypes

PossibleStatusTypesValues returns an array of possible values for the StatusTypes const type.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type UpdateResource

type UpdateResource struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

UpdateResource the Update Resource model definition.

func (UpdateResource) MarshalJSON

func (ur UpdateResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateResource.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL