servicemap

package
v8.1.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package servicemap implements the Azure ARM Servicemap service API version 2015-11-01-preview.

Service Map API Reference

Index

Constants

View Source
const (
	// APIVersion is the version of the Servicemap
	APIVersion = "2015-11-01-preview"

	// DefaultBaseURI is the default URI used for the service Servicemap
	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 Acceptor

type Acceptor struct {
	ID                  *string `json:"id,omitempty"`
	Type                *string `json:"type,omitempty"`
	Name                *string `json:"name,omitempty"`
	*AcceptorProperties `json:"properties,omitempty"`
}

Acceptor is a process accepting on a port.

type AcceptorProperties

type AcceptorProperties struct {
	Source      *PortReference    `json:"source,omitempty"`
	Destination *ProcessReference `json:"destination,omitempty"`
	StartTime   *date.Time        `json:"startTime,omitempty"`
	EndTime     *date.Time        `json:"endTime,omitempty"`
}

AcceptorProperties is properties for an acceptor relationship.

type Accuracy

type Accuracy string

Accuracy enumerates the values for accuracy.

const (
	// Actual specifies the actual state for accuracy.
	Actual Accuracy = "actual"
	// Estimated specifies the estimated state for accuracy.
	Estimated Accuracy = "estimated"
)

type AgentConfiguration

type AgentConfiguration struct {
	AgentID                 *string             `json:"agentId,omitempty"`
	DependencyAgentID       *string             `json:"dependencyAgentId,omitempty"`
	DependencyAgentVersion  *string             `json:"dependencyAgentVersion,omitempty"`
	DependencyAgentRevision *string             `json:"dependencyAgentRevision,omitempty"`
	RebootStatus            MachineRebootStatus `json:"rebootStatus,omitempty"`
	ClockGranularity        *int32              `json:"clockGranularity,omitempty"`
}

AgentConfiguration is describes the configuration of the Dependency Agent installed on a machine.

type Bitness

type Bitness string

Bitness enumerates the values for bitness.

const (
	// SixFourbit specifies the six fourbit state for bitness.
	SixFourbit Bitness = "64bit"
	// ThreeTwobit specifies the three twobit state for bitness.
	ThreeTwobit Bitness = "32bit"
)

type ClientGroup

type ClientGroup struct {
	autorest.Response      `json:"-"`
	ID                     *string `json:"id,omitempty"`
	Type                   *string `json:"type,omitempty"`
	Name                   *string `json:"name,omitempty"`
	Etag                   *string `json:"etag,omitempty"`
	*ClientGroupProperties `json:"properties,omitempty"`
}

ClientGroup is represents a collection of clients of a resource. A client group can represent the clients of a port, process, or a machine.

type ClientGroupMember

type ClientGroupMember struct {
	ID                           *string `json:"id,omitempty"`
	Type                         *string `json:"type,omitempty"`
	Name                         *string `json:"name,omitempty"`
	*ClientGroupMemberProperties `json:"properties,omitempty"`
}

ClientGroupMember is represents a member of a client group

type ClientGroupMemberProperties

type ClientGroupMemberProperties struct {
	IPAddress *string             `json:"ipAddress,omitempty"`
	Port      *PortReference      `json:"port,omitempty"`
	Processes *[]ProcessReference `json:"processes,omitempty"`
}

ClientGroupMemberProperties is resource properties.

type ClientGroupMembersCollection

type ClientGroupMembersCollection struct {
	autorest.Response `json:"-"`
	Value             *[]ClientGroupMember `json:"value,omitempty"`
	NextLink          *string              `json:"nextLink,omitempty"`
}

ClientGroupMembersCollection is collection of ClientGroupMember resources.

func (ClientGroupMembersCollection) ClientGroupMembersCollectionPreparer

func (client ClientGroupMembersCollection) ClientGroupMembersCollectionPreparer() (*http.Request, error)

ClientGroupMembersCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ClientGroupMembersCount

type ClientGroupMembersCount struct {
	autorest.Response `json:"-"`
	StartTime         *date.Time `json:"startTime,omitempty"`
	EndTime           *date.Time `json:"endTime,omitempty"`
	GroupID           *string    `json:"groupId,omitempty"`
	Count             *int32     `json:"count,omitempty"`
	Accuracy          Accuracy   `json:"accuracy,omitempty"`
}

ClientGroupMembersCount is specifies the number of members in a client group.

type ClientGroupProperties

type ClientGroupProperties struct {
	ClientsOf *ResourceReference `json:"clientsOf,omitempty"`
}

ClientGroupProperties is resource properties.

type ClientGroupsClient

type ClientGroupsClient struct {
	ManagementClient
}

ClientGroupsClient is the service Map API Reference

func NewClientGroupsClient

func NewClientGroupsClient(subscriptionID string) ClientGroupsClient

NewClientGroupsClient creates an instance of the ClientGroupsClient client.

func NewClientGroupsClientWithBaseURI

func NewClientGroupsClientWithBaseURI(baseURI string, subscriptionID string) ClientGroupsClient

NewClientGroupsClientWithBaseURI creates an instance of the ClientGroupsClient client.

func (ClientGroupsClient) Get

func (client ClientGroupsClient) Get(resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time) (result ClientGroup, err error)

Get retrieves the specified client group

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. clientGroupName is client Group resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (ClientGroupsClient) GetMembersCount

func (client ClientGroupsClient) GetMembersCount(resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time) (result ClientGroupMembersCount, err error)

GetMembersCount returns the approximate number of members in the client group.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. clientGroupName is client Group resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (ClientGroupsClient) GetMembersCountPreparer

func (client ClientGroupsClient) GetMembersCountPreparer(resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

GetMembersCountPreparer prepares the GetMembersCount request.

func (ClientGroupsClient) GetMembersCountResponder

func (client ClientGroupsClient) GetMembersCountResponder(resp *http.Response) (result ClientGroupMembersCount, err error)

GetMembersCountResponder handles the response to the GetMembersCount request. The method always closes the http.Response Body.

func (ClientGroupsClient) GetMembersCountSender

func (client ClientGroupsClient) GetMembersCountSender(req *http.Request) (*http.Response, error)

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

func (ClientGroupsClient) GetPreparer

func (client ClientGroupsClient) GetPreparer(resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

GetPreparer prepares the Get request.

func (ClientGroupsClient) GetResponder

func (client ClientGroupsClient) GetResponder(resp *http.Response) (result ClientGroup, err error)

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

func (ClientGroupsClient) GetSender

func (client ClientGroupsClient) 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 (ClientGroupsClient) ListMembers

func (client ClientGroupsClient) ListMembers(resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time, top *int32) (result ClientGroupMembersCollection, err error)

ListMembers returns the members of the client group during the specified time interval.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. clientGroupName is client Group resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow top is page size to use. When not specified, the default page size is 100 records.

func (ClientGroupsClient) ListMembersNextResults

func (client ClientGroupsClient) ListMembersNextResults(lastResults ClientGroupMembersCollection) (result ClientGroupMembersCollection, err error)

ListMembersNextResults retrieves the next set of results, if any.

func (ClientGroupsClient) ListMembersPreparer

func (client ClientGroupsClient) ListMembersPreparer(resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time, top *int32) (*http.Request, error)

ListMembersPreparer prepares the ListMembers request.

func (ClientGroupsClient) ListMembersResponder

func (client ClientGroupsClient) ListMembersResponder(resp *http.Response) (result ClientGroupMembersCollection, err error)

ListMembersResponder handles the response to the ListMembers request. The method always closes the http.Response Body.

func (ClientGroupsClient) ListMembersSender

func (client ClientGroupsClient) ListMembersSender(req *http.Request) (*http.Response, error)

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

type Connection

type Connection struct {
	ID                    *string `json:"id,omitempty"`
	Type                  *string `json:"type,omitempty"`
	Name                  *string `json:"name,omitempty"`
	*ConnectionProperties `json:"properties,omitempty"`
}

Connection is a network connection.

type ConnectionCollection

type ConnectionCollection struct {
	autorest.Response `json:"-"`
	Value             *[]Connection `json:"value,omitempty"`
	NextLink          *string       `json:"nextLink,omitempty"`
}

ConnectionCollection is collection of Connection resources.

func (ConnectionCollection) ConnectionCollectionPreparer

func (client ConnectionCollection) ConnectionCollectionPreparer() (*http.Request, error)

ConnectionCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ConnectionFailureState

type ConnectionFailureState string

ConnectionFailureState enumerates the values for connection failure state.

const (
	// Failed specifies the failed state for connection failure state.
	Failed ConnectionFailureState = "failed"
	// Mixed specifies the mixed state for connection failure state.
	Mixed ConnectionFailureState = "mixed"
	// Ok specifies the ok state for connection failure state.
	Ok ConnectionFailureState = "ok"
)

type ConnectionProperties

type ConnectionProperties struct {
	Source       *ResourceReference     `json:"source,omitempty"`
	Destination  *ResourceReference     `json:"destination,omitempty"`
	StartTime    *date.Time             `json:"startTime,omitempty"`
	EndTime      *date.Time             `json:"endTime,omitempty"`
	ServerPort   *PortReference         `json:"serverPort,omitempty"`
	FailureState ConnectionFailureState `json:"failureState,omitempty"`
}

ConnectionProperties is properties for a connection resource.

type CoreResource

type CoreResource struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
	Etag *string `json:"etag,omitempty"`
}

CoreResource is marker resource for the core Service Map resources

type Error

type Error struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

Error is error details.

type ErrorResponse

type ErrorResponse struct {
	Error *Error `json:"error,omitempty"`
}

ErrorResponse is an error response from the API.

type HypervisorConfiguration

type HypervisorConfiguration struct {
	HypervisorType      HypervisorType `json:"hypervisorType,omitempty"`
	NativeHostMachineID *string        `json:"nativeHostMachineId,omitempty"`
}

HypervisorConfiguration is describes the hypervisor configuration of a machine.

type HypervisorType

type HypervisorType string

HypervisorType enumerates the values for hypervisor type.

const (
	// Hyperv specifies the hyperv state for hypervisor type.
	Hyperv HypervisorType = "hyperv"
	// Unknown specifies the unknown state for hypervisor type.
	Unknown HypervisorType = "unknown"
)

type Ipv4NetworkInterface

type Ipv4NetworkInterface struct {
	IPAddress  *string `json:"ipAddress,omitempty"`
	SubnetMask *string `json:"subnetMask,omitempty"`
}

Ipv4NetworkInterface is describes an IPv4 network interface.

type Ipv6NetworkInterface

type Ipv6NetworkInterface struct {
	IPAddress *string `json:"ipAddress,omitempty"`
}

Ipv6NetworkInterface is describes an IPv6 network interface.

type Liveness

type Liveness struct {
	autorest.Response `json:"-"`
	StartTime         *date.Time `json:"startTime,omitempty"`
	EndTime           *date.Time `json:"endTime,omitempty"`
	Live              *bool      `json:"live,omitempty"`
}

Liveness is specifies the contents of a check liveness response.

type Machine

type Machine struct {
	autorest.Response  `json:"-"`
	ID                 *string `json:"id,omitempty"`
	Type               *string `json:"type,omitempty"`
	Name               *string `json:"name,omitempty"`
	Etag               *string `json:"etag,omitempty"`
	*MachineProperties `json:"properties,omitempty"`
}

Machine is a machine resource represents a discovered computer system. It can be *monitored*, i.e., a Dependency Agent is running on it, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. As machines change, prior versions of the machine resource are preserved and available for access. A machine is live during an interval of time, if either its Dependency Agent has reported data during (parts) of that interval, or a Dependency agent running on other machines has reported activity associated with the machine.

type MachineCollection

type MachineCollection struct {
	autorest.Response `json:"-"`
	Value             *[]Machine `json:"value,omitempty"`
	NextLink          *string    `json:"nextLink,omitempty"`
}

MachineCollection is collection of Machine resources.

func (MachineCollection) MachineCollectionPreparer

func (client MachineCollection) MachineCollectionPreparer() (*http.Request, error)

MachineCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type MachineCountsByOperatingSystem

type MachineCountsByOperatingSystem struct {
	Windows *int32 `json:"windows,omitempty"`
	Linux   *int32 `json:"linux,omitempty"`
}

MachineCountsByOperatingSystem is machines by operating system.

type MachineGroup

type MachineGroup struct {
	autorest.Response       `json:"-"`
	ID                      *string `json:"id,omitempty"`
	Type                    *string `json:"type,omitempty"`
	Name                    *string `json:"name,omitempty"`
	Etag                    *string `json:"etag,omitempty"`
	*MachineGroupProperties `json:"properties,omitempty"`
}

MachineGroup is a user-defined logical grouping of machines.

type MachineGroupCollection

type MachineGroupCollection struct {
	autorest.Response `json:"-"`
	Value             *[]MachineGroup `json:"value,omitempty"`
	NextLink          *string         `json:"nextLink,omitempty"`
}

MachineGroupCollection is collection of Machine Group resources.

func (MachineGroupCollection) MachineGroupCollectionPreparer

func (client MachineGroupCollection) MachineGroupCollectionPreparer() (*http.Request, error)

MachineGroupCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type MachineGroupMapRequest

type MachineGroupMapRequest struct {
	StartTime       *date.Time `json:"startTime,omitempty"`
	EndTime         *date.Time `json:"endTime,omitempty"`
	MachineGroupID  *string    `json:"machineGroupId,omitempty"`
	FilterProcesses *bool      `json:"filterProcesses,omitempty"`
}

MachineGroupMapRequest is specifies the computation of a machine group dependency map. A machine group dependency map includes all direct dependencies of a group of machines.

type MachineGroupProperties

type MachineGroupProperties struct {
	DisplayName *string                      `json:"displayName,omitempty"`
	Machines    *[]MachineReferenceWithHints `json:"machines,omitempty"`
}

MachineGroupProperties is resource properties.

type MachineGroupsClient

type MachineGroupsClient struct {
	ManagementClient
}

MachineGroupsClient is the service Map API Reference

func NewMachineGroupsClient

func NewMachineGroupsClient(subscriptionID string) MachineGroupsClient

NewMachineGroupsClient creates an instance of the MachineGroupsClient client.

func NewMachineGroupsClientWithBaseURI

func NewMachineGroupsClientWithBaseURI(baseURI string, subscriptionID string) MachineGroupsClient

NewMachineGroupsClientWithBaseURI creates an instance of the MachineGroupsClient client.

func (MachineGroupsClient) Create

func (client MachineGroupsClient) Create(resourceGroupName string, workspaceName string, machineGroup MachineGroup) (result MachineGroup, err error)

Create creates a new machine group.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineGroup is machine Group resource to create.

func (MachineGroupsClient) CreatePreparer

func (client MachineGroupsClient) CreatePreparer(resourceGroupName string, workspaceName string, machineGroup MachineGroup) (*http.Request, error)

CreatePreparer prepares the Create request.

func (MachineGroupsClient) CreateResponder

func (client MachineGroupsClient) CreateResponder(resp *http.Response) (result MachineGroup, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (MachineGroupsClient) CreateSender

func (client MachineGroupsClient) CreateSender(req *http.Request) (*http.Response, error)

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

func (MachineGroupsClient) Delete

func (client MachineGroupsClient) Delete(resourceGroupName string, workspaceName string, machineGroupName string) (result autorest.Response, err error)

Delete deletes the specified Machine Group.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineGroupName is machine Group resource name.

func (MachineGroupsClient) DeletePreparer

func (client MachineGroupsClient) DeletePreparer(resourceGroupName string, workspaceName string, machineGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MachineGroupsClient) DeleteResponder

func (client MachineGroupsClient) 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 (MachineGroupsClient) DeleteSender

func (client MachineGroupsClient) 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 (MachineGroupsClient) Get

func (client MachineGroupsClient) Get(resourceGroupName string, workspaceName string, machineGroupName string) (result MachineGroup, err error)

Get returns the specified machine group.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineGroupName is machine Group resource name.

func (MachineGroupsClient) GetPreparer

func (client MachineGroupsClient) GetPreparer(resourceGroupName string, workspaceName string, machineGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MachineGroupsClient) GetResponder

func (client MachineGroupsClient) GetResponder(resp *http.Response) (result MachineGroup, err error)

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

func (MachineGroupsClient) GetSender

func (client MachineGroupsClient) 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 (MachineGroupsClient) ListByWorkspace

func (client MachineGroupsClient) ListByWorkspace(resourceGroupName string, workspaceName string) (result MachineGroupCollection, err error)

ListByWorkspace returns all machine groups.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest.

func (MachineGroupsClient) ListByWorkspaceNextResults

func (client MachineGroupsClient) ListByWorkspaceNextResults(lastResults MachineGroupCollection) (result MachineGroupCollection, err error)

ListByWorkspaceNextResults retrieves the next set of results, if any.

func (MachineGroupsClient) ListByWorkspacePreparer

func (client MachineGroupsClient) ListByWorkspacePreparer(resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (MachineGroupsClient) ListByWorkspaceResponder

func (client MachineGroupsClient) ListByWorkspaceResponder(resp *http.Response) (result MachineGroupCollection, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (MachineGroupsClient) ListByWorkspaceSender

func (client MachineGroupsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

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

func (MachineGroupsClient) Update

func (client MachineGroupsClient) Update(resourceGroupName string, workspaceName string, machineGroupName string, machineGroup MachineGroup) (result MachineGroup, err error)

Update updates a machine group.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineGroupName is machine Group resource name. machineGroup is machine Group resource to update.

func (MachineGroupsClient) UpdatePreparer

func (client MachineGroupsClient) UpdatePreparer(resourceGroupName string, workspaceName string, machineGroupName string, machineGroup MachineGroup) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MachineGroupsClient) UpdateResponder

func (client MachineGroupsClient) UpdateResponder(resp *http.Response) (result MachineGroup, err error)

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

func (MachineGroupsClient) UpdateSender

func (client MachineGroupsClient) 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 MachineProperties

type MachineProperties struct {
	Timestamp                *date.Time                     `json:"timestamp,omitempty"`
	MonitoringState          MonitoringState                `json:"monitoringState,omitempty"`
	VirtualizationState      VirtualizationState            `json:"virtualizationState,omitempty"`
	DisplayName              *string                        `json:"displayName,omitempty"`
	ComputerName             *string                        `json:"computerName,omitempty"`
	FullyQualifiedDomainName *string                        `json:"fullyQualifiedDomainName,omitempty"`
	BootTime                 *date.Time                     `json:"bootTime,omitempty"`
	Timezone                 *Timezone                      `json:"timezone,omitempty"`
	Agent                    *AgentConfiguration            `json:"agent,omitempty"`
	Resources                *MachineResourcesConfiguration `json:"resources,omitempty"`
	Networking               *NetworkConfiguration          `json:"networking,omitempty"`
	OperatingSystem          *OperatingSystemConfiguration  `json:"operatingSystem,omitempty"`
	VirtualMachine           *VirtualMachineConfiguration   `json:"virtualMachine,omitempty"`
	Hypervisor               *HypervisorConfiguration       `json:"hypervisor,omitempty"`
}

MachineProperties is resource properties.

type MachineRebootStatus

type MachineRebootStatus string

MachineRebootStatus enumerates the values for machine reboot status.

const (
	// MachineRebootStatusNotRebooted specifies the machine reboot status not
	// rebooted state for machine reboot status.
	MachineRebootStatusNotRebooted MachineRebootStatus = "notRebooted"
	// MachineRebootStatusRebooted specifies the machine reboot status rebooted
	// state for machine reboot status.
	MachineRebootStatusRebooted MachineRebootStatus = "rebooted"
	// MachineRebootStatusUnknown specifies the machine reboot status unknown
	// state for machine reboot status.
	MachineRebootStatusUnknown MachineRebootStatus = "unknown"
)

type MachineReference

type MachineReference struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

MachineReference is reference to a machine.

type MachineReferenceWithHints

type MachineReferenceWithHints struct {
	ID                                   *string `json:"id,omitempty"`
	Type                                 *string `json:"type,omitempty"`
	Name                                 *string `json:"name,omitempty"`
	*MachineReferenceWithHintsProperties `json:"properties,omitempty"`
}

MachineReferenceWithHints is a machine reference with a hint of the machine's name and operating system.

type MachineReferenceWithHintsProperties

type MachineReferenceWithHintsProperties struct {
	DisplayNameHint *string               `json:"displayNameHint,omitempty"`
	OsFamilyHint    OperatingSystemFamily `json:"osFamilyHint,omitempty"`
}

MachineReferenceWithHintsProperties is machine reference with name and os hints.

type MachineResourcesConfiguration

type MachineResourcesConfiguration struct {
	PhysicalMemory   *int32   `json:"physicalMemory,omitempty"`
	Cpus             *int32   `json:"cpus,omitempty"`
	CPUSpeed         *int32   `json:"cpuSpeed,omitempty"`
	CPUSpeedAccuracy Accuracy `json:"cpuSpeedAccuracy,omitempty"`
}

MachineResourcesConfiguration is describes the resources of a machine.

type MachinesClient

type MachinesClient struct {
	ManagementClient
}

MachinesClient is the service Map API Reference

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.

func (MachinesClient) Get

func (client MachinesClient) Get(resourceGroupName string, workspaceName string, machineName string, timestamp *date.Time) (result Machine, err error)

Get returns the specified machine.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. timestamp is uTC date and time specifying a time instance relative to which to evaluate the machine resource. When not specified, the service uses DateTime.UtcNow.

func (MachinesClient) GetLiveness

func (client MachinesClient) GetLiveness(resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result Liveness, err error)

GetLiveness obtains the liveness status of the machine during the specified time interval.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (MachinesClient) GetLivenessPreparer

func (client MachinesClient) GetLivenessPreparer(resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

GetLivenessPreparer prepares the GetLiveness request.

func (MachinesClient) GetLivenessResponder

func (client MachinesClient) GetLivenessResponder(resp *http.Response) (result Liveness, err error)

GetLivenessResponder handles the response to the GetLiveness request. The method always closes the http.Response Body.

func (MachinesClient) GetLivenessSender

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

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

func (MachinesClient) GetPreparer

func (client MachinesClient) GetPreparer(resourceGroupName string, workspaceName string, machineName string, timestamp *date.Time) (*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) ListByWorkspace

func (client MachinesClient) ListByWorkspace(resourceGroupName string, workspaceName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time, top *int32) (result MachineCollection, err error)

ListByWorkspace returns a collection of machines matching the specified conditions. The returned collection represents either machines that are active/live during the specified interval of time (`live=true` and `startTime`/`endTime` are specified) or that are known to have existed at or some time prior to the specified point in time (`live=false` and `timestamp` is specified).

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. live is specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow timestamp is uTC date and time specifying a time instance relative to which to evaluate each machine resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow. top is page size to use. When not specified, the default page size is 100 records.

func (MachinesClient) ListByWorkspaceNextResults

func (client MachinesClient) ListByWorkspaceNextResults(lastResults MachineCollection) (result MachineCollection, err error)

ListByWorkspaceNextResults retrieves the next set of results, if any.

func (MachinesClient) ListByWorkspacePreparer

func (client MachinesClient) ListByWorkspacePreparer(resourceGroupName string, workspaceName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time, top *int32) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (MachinesClient) ListByWorkspaceResponder

func (client MachinesClient) ListByWorkspaceResponder(resp *http.Response) (result MachineCollection, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (MachinesClient) ListByWorkspaceSender

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

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

func (MachinesClient) ListConnections

func (client MachinesClient) ListConnections(resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollection, err error)

ListConnections returns a collection of connections terminating or originating at the specified machine

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (MachinesClient) ListConnectionsNextResults

func (client MachinesClient) ListConnectionsNextResults(lastResults ConnectionCollection) (result ConnectionCollection, err error)

ListConnectionsNextResults retrieves the next set of results, if any.

func (MachinesClient) ListConnectionsPreparer

func (client MachinesClient) ListConnectionsPreparer(resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

ListConnectionsPreparer prepares the ListConnections request.

func (MachinesClient) ListConnectionsResponder

func (client MachinesClient) ListConnectionsResponder(resp *http.Response) (result ConnectionCollection, err error)

ListConnectionsResponder handles the response to the ListConnections request. The method always closes the http.Response Body.

func (MachinesClient) ListConnectionsSender

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

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

func (MachinesClient) ListMachineGroupMembership

func (client MachinesClient) ListMachineGroupMembership(resourceGroupName string, workspaceName string, machineName string) (result MachineGroupCollection, err error)

ListMachineGroupMembership returns a collection of machine groups this machine belongs to.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name.

func (MachinesClient) ListMachineGroupMembershipNextResults

func (client MachinesClient) ListMachineGroupMembershipNextResults(lastResults MachineGroupCollection) (result MachineGroupCollection, err error)

ListMachineGroupMembershipNextResults retrieves the next set of results, if any.

func (MachinesClient) ListMachineGroupMembershipPreparer

func (client MachinesClient) ListMachineGroupMembershipPreparer(resourceGroupName string, workspaceName string, machineName string) (*http.Request, error)

ListMachineGroupMembershipPreparer prepares the ListMachineGroupMembership request.

func (MachinesClient) ListMachineGroupMembershipResponder

func (client MachinesClient) ListMachineGroupMembershipResponder(resp *http.Response) (result MachineGroupCollection, err error)

ListMachineGroupMembershipResponder handles the response to the ListMachineGroupMembership request. The method always closes the http.Response Body.

func (MachinesClient) ListMachineGroupMembershipSender

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

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

func (MachinesClient) ListPorts

func (client MachinesClient) ListPorts(resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result PortCollection, err error)

ListPorts returns a collection of live ports on the specified machine during the specified time interval.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (MachinesClient) ListPortsNextResults

func (client MachinesClient) ListPortsNextResults(lastResults PortCollection) (result PortCollection, err error)

ListPortsNextResults retrieves the next set of results, if any.

func (MachinesClient) ListPortsPreparer

func (client MachinesClient) ListPortsPreparer(resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

ListPortsPreparer prepares the ListPorts request.

func (MachinesClient) ListPortsResponder

func (client MachinesClient) ListPortsResponder(resp *http.Response) (result PortCollection, err error)

ListPortsResponder handles the response to the ListPorts request. The method always closes the http.Response Body.

func (MachinesClient) ListPortsSender

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

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

func (MachinesClient) ListProcesses

func (client MachinesClient) ListProcesses(resourceGroupName string, workspaceName string, machineName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time) (result ProcessCollection, err error)

ListProcesses returns a collection of processes on the specified machine matching the specified conditions. The returned collection represents either processes that are active/live during the specified interval of time (`live=true` and `startTime`/`endTime` are specified) or that are known to have existed at or some time prior to the specified point in time (`live=false` and `timestamp` is specified).

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. live is specifies whether to return live resources (true) or inventory resources (false). Defaults to **true**. When retrieving live resources, the start time (`startTime`) and end time (`endTime`) of the desired interval should be included. When retrieving inventory resources, an optional timestamp (`timestamp`) parameter can be specified to return the version of each resource closest (not-after) that timestamp. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow timestamp is uTC date and time specifying a time instance relative to which to evaluate all process resource. Only applies when `live=false`. When not specified, the service uses DateTime.UtcNow.

func (MachinesClient) ListProcessesNextResults

func (client MachinesClient) ListProcessesNextResults(lastResults ProcessCollection) (result ProcessCollection, err error)

ListProcessesNextResults retrieves the next set of results, if any.

func (MachinesClient) ListProcessesPreparer

func (client MachinesClient) ListProcessesPreparer(resourceGroupName string, workspaceName string, machineName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time) (*http.Request, error)

ListProcessesPreparer prepares the ListProcesses request.

func (MachinesClient) ListProcessesResponder

func (client MachinesClient) ListProcessesResponder(resp *http.Response) (result ProcessCollection, err error)

ListProcessesResponder handles the response to the ListProcesses request. The method always closes the http.Response Body.

func (MachinesClient) ListProcessesSender

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

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

type MachinesSummary

type MachinesSummary struct {
	autorest.Response          `json:"-"`
	ID                         *string `json:"id,omitempty"`
	Type                       *string `json:"type,omitempty"`
	Name                       *string `json:"name,omitempty"`
	*MachinesSummaryProperties `json:"properties,omitempty"`
}

MachinesSummary is a summary of the machines in the workspace.

type MachinesSummaryProperties

type MachinesSummaryProperties struct {
	StartTime *date.Time                      `json:"startTime,omitempty"`
	EndTime   *date.Time                      `json:"endTime,omitempty"`
	Total     *int32                          `json:"total,omitempty"`
	Live      *int32                          `json:"live,omitempty"`
	Os        *MachineCountsByOperatingSystem `json:"os,omitempty"`
}

MachinesSummaryProperties is summarizes machines in the workspace.

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	APIVersion     string
	SubscriptionID string
}

ManagementClient is the base client for Servicemap.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type Map

type Map struct {
	Nodes *MapNodes `json:"nodes,omitempty"`
	Edges *MapEdges `json:"edges,omitempty"`
}

Map is a map of resources and relationships between them.

type MapEdges

type MapEdges struct {
	Connections *[]Connection `json:"connections,omitempty"`
	Acceptors   *[]Acceptor   `json:"acceptors,omitempty"`
}

MapEdges is the edges (relationships) of a map.

type MapNodes

type MapNodes struct {
	Machines     *[]Machine     `json:"machines,omitempty"`
	Processes    *[]Process     `json:"processes,omitempty"`
	Ports        *[]Port        `json:"Ports,omitempty"`
	ClientGroups *[]ClientGroup `json:"ClientGroups,omitempty"`
}

MapNodes is the nodes (entities) of a map.

type MapRequest

type MapRequest struct {
	StartTime *date.Time `json:"startTime,omitempty"`
	EndTime   *date.Time `json:"endTime,omitempty"`
}

MapRequest is specifies the contents of request to generate a map.

type MapResponse

type MapResponse struct {
	autorest.Response `json:"-"`
	StartTime         *date.Time `json:"startTime,omitempty"`
	EndTime           *date.Time `json:"endTime,omitempty"`
	Map               *Map       `json:"map,omitempty"`
}

MapResponse is specified the contents of a map response.

type MapsClient

type MapsClient struct {
	ManagementClient
}

MapsClient is the service Map API Reference

func NewMapsClient

func NewMapsClient(subscriptionID string) MapsClient

NewMapsClient creates an instance of the MapsClient client.

func NewMapsClientWithBaseURI

func NewMapsClientWithBaseURI(baseURI string, subscriptionID string) MapsClient

NewMapsClientWithBaseURI creates an instance of the MapsClient client.

func (MapsClient) Generate

func (client MapsClient) Generate(resourceGroupName string, workspaceName string, request MapRequest) (result MapResponse, err error)

Generate generates the specified map.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. request is request options.

func (MapsClient) GeneratePreparer

func (client MapsClient) GeneratePreparer(resourceGroupName string, workspaceName string, request MapRequest) (*http.Request, error)

GeneratePreparer prepares the Generate request.

func (MapsClient) GenerateResponder

func (client MapsClient) GenerateResponder(resp *http.Response) (result MapResponse, err error)

GenerateResponder handles the response to the Generate request. The method always closes the http.Response Body.

func (MapsClient) GenerateSender

func (client MapsClient) GenerateSender(req *http.Request) (*http.Response, error)

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

type MonitoringState

type MonitoringState string

MonitoringState enumerates the values for monitoring state.

const (
	// Discovered specifies the discovered state for monitoring state.
	Discovered MonitoringState = "discovered"
	// Monitored specifies the monitored state for monitoring state.
	Monitored MonitoringState = "monitored"
)

type NetworkConfiguration

type NetworkConfiguration struct {
	Ipv4Interfaces      *[]Ipv4NetworkInterface `json:"ipv4Interfaces,omitempty"`
	Ipv6Interfaces      *[]Ipv6NetworkInterface `json:"ipv6Interfaces,omitempty"`
	DefaultIpv4Gateways *[]string               `json:"defaultIpv4Gateways,omitempty"`
	MacAddresses        *[]string               `json:"macAddresses,omitempty"`
	DNSNames            *[]string               `json:"dnsNames,omitempty"`
}

NetworkConfiguration is describes the network configuration of a machine.

type OperatingSystemConfiguration

type OperatingSystemConfiguration struct {
	Family   OperatingSystemFamily `json:"family,omitempty"`
	FullName *string               `json:"fullName,omitempty"`
	Bitness  Bitness               `json:"bitness,omitempty"`
}

OperatingSystemConfiguration is describes the configuration of the operating system of a machine.

type OperatingSystemFamily

type OperatingSystemFamily string

OperatingSystemFamily enumerates the values for operating system family.

const (
	// OperatingSystemFamilyAix specifies the operating system family aix state
	// for operating system family.
	OperatingSystemFamilyAix OperatingSystemFamily = "aix"
	// OperatingSystemFamilyLinux specifies the operating system family linux
	// state for operating system family.
	OperatingSystemFamilyLinux OperatingSystemFamily = "linux"
	// OperatingSystemFamilySolaris specifies the operating system family
	// solaris state for operating system family.
	OperatingSystemFamilySolaris OperatingSystemFamily = "solaris"
	// OperatingSystemFamilyUnknown specifies the operating system family
	// unknown state for operating system family.
	OperatingSystemFamilyUnknown OperatingSystemFamily = "unknown"
	// OperatingSystemFamilyWindows specifies the operating system family
	// windows state for operating system family.
	OperatingSystemFamilyWindows OperatingSystemFamily = "windows"
)

type Port

type Port struct {
	autorest.Response `json:"-"`
	ID                *string `json:"id,omitempty"`
	Type              *string `json:"type,omitempty"`
	Name              *string `json:"name,omitempty"`
	Etag              *string `json:"etag,omitempty"`
	*PortProperties   `json:"properties,omitempty"`
}

Port is a port resource represents a server port on a machine. The port may be actively *monitored*, i.e., a Dependency Agent is running on its machine, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. A port is live during an interval of time, if that port had associated activity during (parts) of that interval.

type PortCollection

type PortCollection struct {
	autorest.Response `json:"-"`
	Value             *[]Port `json:"value,omitempty"`
	NextLink          *string `json:"nextLink,omitempty"`
}

PortCollection is collection of Port resources.

func (PortCollection) PortCollectionPreparer

func (client PortCollection) PortCollectionPreparer() (*http.Request, error)

PortCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type PortProperties

type PortProperties struct {
	MonitoringState MonitoringState    `json:"monitoringState,omitempty"`
	Machine         *ResourceReference `json:"machine,omitempty"`
	DisplayName     *string            `json:"displayName,omitempty"`
	IPAddress       *string            `json:"ipAddress,omitempty"`
	PortNumber      *int32             `json:"portNumber,omitempty"`
}

PortProperties is resource properties.

type PortReference

type PortReference struct {
	ID                       *string `json:"id,omitempty"`
	Type                     *string `json:"type,omitempty"`
	Name                     *string `json:"name,omitempty"`
	*PortReferenceProperties `json:"properties,omitempty"`
}

PortReference is reference to a port.

type PortReferenceProperties

type PortReferenceProperties struct {
	Machine    *MachineReference `json:"machine,omitempty"`
	IPAddress  *string           `json:"ipAddress,omitempty"`
	PortNumber *int32            `json:"portNumber,omitempty"`
}

PortReferenceProperties is resource properties.

type PortsClient

type PortsClient struct {
	ManagementClient
}

PortsClient is the service Map API Reference

func NewPortsClient

func NewPortsClient(subscriptionID string) PortsClient

NewPortsClient creates an instance of the PortsClient client.

func NewPortsClientWithBaseURI

func NewPortsClientWithBaseURI(baseURI string, subscriptionID string) PortsClient

NewPortsClientWithBaseURI creates an instance of the PortsClient client.

func (PortsClient) Get

func (client PortsClient) Get(resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result Port, err error)

Get returns the specified port. The port must be live during the specified time interval. If the port is not live during the interval, status 404 (Not Found) is returned.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. portName is port resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (PortsClient) GetLiveness

func (client PortsClient) GetLiveness(resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result Liveness, err error)

GetLiveness obtains the liveness status of the port during the specified time interval.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. portName is port resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (PortsClient) GetLivenessPreparer

func (client PortsClient) GetLivenessPreparer(resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

GetLivenessPreparer prepares the GetLiveness request.

func (PortsClient) GetLivenessResponder

func (client PortsClient) GetLivenessResponder(resp *http.Response) (result Liveness, err error)

GetLivenessResponder handles the response to the GetLiveness request. The method always closes the http.Response Body.

func (PortsClient) GetLivenessSender

func (client PortsClient) GetLivenessSender(req *http.Request) (*http.Response, error)

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

func (PortsClient) GetPreparer

func (client PortsClient) GetPreparer(resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

GetPreparer prepares the Get request.

func (PortsClient) GetResponder

func (client PortsClient) GetResponder(resp *http.Response) (result Port, err error)

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

func (PortsClient) GetSender

func (client PortsClient) 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 (PortsClient) ListAcceptingProcesses

func (client PortsClient) ListAcceptingProcesses(resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ProcessCollection, err error)

ListAcceptingProcesses returns a collection of processes accepting on the specified port

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. portName is port resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (PortsClient) ListAcceptingProcessesNextResults

func (client PortsClient) ListAcceptingProcessesNextResults(lastResults ProcessCollection) (result ProcessCollection, err error)

ListAcceptingProcessesNextResults retrieves the next set of results, if any.

func (PortsClient) ListAcceptingProcessesPreparer

func (client PortsClient) ListAcceptingProcessesPreparer(resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

ListAcceptingProcessesPreparer prepares the ListAcceptingProcesses request.

func (PortsClient) ListAcceptingProcessesResponder

func (client PortsClient) ListAcceptingProcessesResponder(resp *http.Response) (result ProcessCollection, err error)

ListAcceptingProcessesResponder handles the response to the ListAcceptingProcesses request. The method always closes the http.Response Body.

func (PortsClient) ListAcceptingProcessesSender

func (client PortsClient) ListAcceptingProcessesSender(req *http.Request) (*http.Response, error)

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

func (PortsClient) ListConnections

func (client PortsClient) ListConnections(resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollection, err error)

ListConnections returns a collection of connections established via the specified port.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. portName is port resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (PortsClient) ListConnectionsNextResults

func (client PortsClient) ListConnectionsNextResults(lastResults ConnectionCollection) (result ConnectionCollection, err error)

ListConnectionsNextResults retrieves the next set of results, if any.

func (PortsClient) ListConnectionsPreparer

func (client PortsClient) ListConnectionsPreparer(resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

ListConnectionsPreparer prepares the ListConnections request.

func (PortsClient) ListConnectionsResponder

func (client PortsClient) ListConnectionsResponder(resp *http.Response) (result ConnectionCollection, err error)

ListConnectionsResponder handles the response to the ListConnections request. The method always closes the http.Response Body.

func (PortsClient) ListConnectionsSender

func (client PortsClient) ListConnectionsSender(req *http.Request) (*http.Response, error)

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

type Process

type Process struct {
	autorest.Response  `json:"-"`
	ID                 *string `json:"id,omitempty"`
	Type               *string `json:"type,omitempty"`
	Name               *string `json:"name,omitempty"`
	Etag               *string `json:"etag,omitempty"`
	*ProcessProperties `json:"properties,omitempty"`
}

Process is a process resource represents a process running on a machine. The process may be actively *monitored*, i.e., a Dependency Agent is running on its machine, or *discovered*, i.e., its existence was inferred by observing the data stream from monitored machines. A process resource represents a pool of actual operating system resources that share command lines and metadata. As the process pool evolves over time, prior versions of the process resource are preserved and available for access. A process is live during an interval of time, if that process is executing during (parts) of that interval

type ProcessCollection

type ProcessCollection struct {
	autorest.Response `json:"-"`
	Value             *[]Process `json:"value,omitempty"`
	NextLink          *string    `json:"nextLink,omitempty"`
}

ProcessCollection is collection of Process resources.

func (ProcessCollection) ProcessCollectionPreparer

func (client ProcessCollection) ProcessCollectionPreparer() (*http.Request, error)

ProcessCollectionPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ProcessDetails

type ProcessDetails struct {
	PersistentKey    *string `json:"persistentKey,omitempty"`
	PoolID           *int32  `json:"poolId,omitempty"`
	FirstPid         *int32  `json:"firstPid,omitempty"`
	Description      *string `json:"description,omitempty"`
	CompanyName      *string `json:"companyName,omitempty"`
	InternalName     *string `json:"internalName,omitempty"`
	ProductName      *string `json:"productName,omitempty"`
	ProductVersion   *string `json:"productVersion,omitempty"`
	FileVersion      *string `json:"fileVersion,omitempty"`
	CommandLine      *string `json:"commandLine,omitempty"`
	ExecutablePath   *string `json:"executablePath,omitempty"`
	WorkingDirectory *string `json:"workingDirectory,omitempty"`
}

ProcessDetails is describes process metadata.

type ProcessProperties

type ProcessProperties struct {
	Timestamp       *date.Time         `json:"timestamp,omitempty"`
	MonitoringState MonitoringState    `json:"monitoringState,omitempty"`
	Machine         *ResourceReference `json:"machine,omitempty"`
	ExecutableName  *string            `json:"executableName,omitempty"`
	DisplayName     *string            `json:"displayName,omitempty"`
	StartTime       *date.Time         `json:"startTime,omitempty"`
	Details         *ProcessDetails    `json:"details,omitempty"`
	User            *ProcessUser       `json:"user,omitempty"`
	ClientOf        *ResourceReference `json:"clientOf,omitempty"`
	AcceptorOf      *ResourceReference `json:"acceptorOf,omitempty"`
}

ProcessProperties is resource properties.

type ProcessReference

type ProcessReference struct {
	ID                          *string `json:"id,omitempty"`
	Type                        *string `json:"type,omitempty"`
	Name                        *string `json:"name,omitempty"`
	*ProcessReferenceProperties `json:"properties,omitempty"`
}

ProcessReference is reference to a process.

type ProcessReferenceProperties

type ProcessReferenceProperties struct {
	Machine *MachineReference `json:"machine,omitempty"`
}

ProcessReferenceProperties is resource properties.

type ProcessUser

type ProcessUser struct {
	UserName   *string `json:"userName,omitempty"`
	UserDomain *string `json:"userDomain,omitempty"`
}

ProcessUser is describes the user under which a process is running.

type ProcessesClient

type ProcessesClient struct {
	ManagementClient
}

ProcessesClient is the service Map API Reference

func NewProcessesClient

func NewProcessesClient(subscriptionID string) ProcessesClient

NewProcessesClient creates an instance of the ProcessesClient client.

func NewProcessesClientWithBaseURI

func NewProcessesClientWithBaseURI(baseURI string, subscriptionID string) ProcessesClient

NewProcessesClientWithBaseURI creates an instance of the ProcessesClient client.

func (ProcessesClient) Get

func (client ProcessesClient) Get(resourceGroupName string, workspaceName string, machineName string, processName string, timestamp *date.Time) (result Process, err error)

Get returns the specified process.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. processName is process resource name. timestamp is uTC date and time specifying a time instance relative to which to evaluate a resource. When not specified, the service uses DateTime.UtcNow.

func (ProcessesClient) GetLiveness

func (client ProcessesClient) GetLiveness(resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result Liveness, err error)

GetLiveness obtains the liveness status of the process during the specified time interval.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. processName is process resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (ProcessesClient) GetLivenessPreparer

func (client ProcessesClient) GetLivenessPreparer(resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

GetLivenessPreparer prepares the GetLiveness request.

func (ProcessesClient) GetLivenessResponder

func (client ProcessesClient) GetLivenessResponder(resp *http.Response) (result Liveness, err error)

GetLivenessResponder handles the response to the GetLiveness request. The method always closes the http.Response Body.

func (ProcessesClient) GetLivenessSender

func (client ProcessesClient) GetLivenessSender(req *http.Request) (*http.Response, error)

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

func (ProcessesClient) GetPreparer

func (client ProcessesClient) GetPreparer(resourceGroupName string, workspaceName string, machineName string, processName string, timestamp *date.Time) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProcessesClient) GetResponder

func (client ProcessesClient) GetResponder(resp *http.Response) (result Process, err error)

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

func (ProcessesClient) GetSender

func (client ProcessesClient) 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 (ProcessesClient) ListAcceptingPorts

func (client ProcessesClient) ListAcceptingPorts(resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result PortCollection, err error)

ListAcceptingPorts returns a collection of ports on which this process is accepting

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. processName is process resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (ProcessesClient) ListAcceptingPortsNextResults

func (client ProcessesClient) ListAcceptingPortsNextResults(lastResults PortCollection) (result PortCollection, err error)

ListAcceptingPortsNextResults retrieves the next set of results, if any.

func (ProcessesClient) ListAcceptingPortsPreparer

func (client ProcessesClient) ListAcceptingPortsPreparer(resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

ListAcceptingPortsPreparer prepares the ListAcceptingPorts request.

func (ProcessesClient) ListAcceptingPortsResponder

func (client ProcessesClient) ListAcceptingPortsResponder(resp *http.Response) (result PortCollection, err error)

ListAcceptingPortsResponder handles the response to the ListAcceptingPorts request. The method always closes the http.Response Body.

func (ProcessesClient) ListAcceptingPortsSender

func (client ProcessesClient) ListAcceptingPortsSender(req *http.Request) (*http.Response, error)

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

func (ProcessesClient) ListConnections

func (client ProcessesClient) ListConnections(resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollection, err error)

ListConnections returns a collection of connections terminating or originating at the specified process

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. machineName is machine resource name. processName is process resource name. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (ProcessesClient) ListConnectionsNextResults

func (client ProcessesClient) ListConnectionsNextResults(lastResults ConnectionCollection) (result ConnectionCollection, err error)

ListConnectionsNextResults retrieves the next set of results, if any.

func (ProcessesClient) ListConnectionsPreparer

func (client ProcessesClient) ListConnectionsPreparer(resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

ListConnectionsPreparer prepares the ListConnections request.

func (ProcessesClient) ListConnectionsResponder

func (client ProcessesClient) ListConnectionsResponder(resp *http.Response) (result ConnectionCollection, err error)

ListConnectionsResponder handles the response to the ListConnections request. The method always closes the http.Response Body.

func (ProcessesClient) ListConnectionsSender

func (client ProcessesClient) ListConnectionsSender(req *http.Request) (*http.Response, error)

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

type Relationship

type Relationship struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

Relationship is a typed relationship between two entities.

type RelationshipProperties

type RelationshipProperties struct {
	Source      *ResourceReference `json:"source,omitempty"`
	Destination *ResourceReference `json:"destination,omitempty"`
	StartTime   *date.Time         `json:"startTime,omitempty"`
	EndTime     *date.Time         `json:"endTime,omitempty"`
}

RelationshipProperties is relationship properties.

type Resource

type Resource struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

Resource is resource model definition.

type ResourceReference

type ResourceReference struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

ResourceReference is represents a reference to another resource.

type SingleMachineDependencyMapRequest

type SingleMachineDependencyMapRequest struct {
	StartTime *date.Time `json:"startTime,omitempty"`
	EndTime   *date.Time `json:"endTime,omitempty"`
	MachineID *string    `json:"machineId,omitempty"`
}

SingleMachineDependencyMapRequest is specifies the computation of a single server dependency map. A single server dependency map includes all direct dependencies of a given machine.

type SummariesClient

type SummariesClient struct {
	ManagementClient
}

SummariesClient is the service Map API Reference

func NewSummariesClient

func NewSummariesClient(subscriptionID string) SummariesClient

NewSummariesClient creates an instance of the SummariesClient client.

func NewSummariesClientWithBaseURI

func NewSummariesClientWithBaseURI(baseURI string, subscriptionID string) SummariesClient

NewSummariesClientWithBaseURI creates an instance of the SummariesClient client.

func (SummariesClient) GetMachines

func (client SummariesClient) GetMachines(resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (result MachinesSummary, err error)

GetMachines returns summary information about the machines in the workspace.

resourceGroupName is resource group name within the specified subscriptionId. workspaceName is oMS workspace containing the resources of interest. startTime is uTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime is uTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (SummariesClient) GetMachinesPreparer

func (client SummariesClient) GetMachinesPreparer(resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)

GetMachinesPreparer prepares the GetMachines request.

func (SummariesClient) GetMachinesResponder

func (client SummariesClient) GetMachinesResponder(resp *http.Response) (result MachinesSummary, err error)

GetMachinesResponder handles the response to the GetMachines request. The method always closes the http.Response Body.

func (SummariesClient) GetMachinesSender

func (client SummariesClient) GetMachinesSender(req *http.Request) (*http.Response, error)

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

type Summary

type Summary struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

Summary is base for all resource summaries.

type SummaryProperties

type SummaryProperties struct {
	StartTime *date.Time `json:"startTime,omitempty"`
	EndTime   *date.Time `json:"endTime,omitempty"`
}

SummaryProperties is base for all summaries.

type Timezone

type Timezone struct {
	FullName *string `json:"fullName,omitempty"`
}

Timezone is describes a timezone.

type VirtualMachineConfiguration

type VirtualMachineConfiguration struct {
	VirtualMachineType  VirtualMachineType `json:"virtualMachineType,omitempty"`
	NativeMachineID     *string            `json:"nativeMachineId,omitempty"`
	VirtualMachineName  *string            `json:"virtualMachineName,omitempty"`
	NativeHostMachineID *string            `json:"nativeHostMachineId,omitempty"`
}

VirtualMachineConfiguration is describes the virtualizaton-related configuration of a machine.

type VirtualMachineType

type VirtualMachineType string

VirtualMachineType enumerates the values for virtual machine type.

const (
	// VirtualMachineTypeHyperv specifies the virtual machine type hyperv state
	// for virtual machine type.
	VirtualMachineTypeHyperv VirtualMachineType = "hyperv"
	// VirtualMachineTypeLdom specifies the virtual machine type ldom state for
	// virtual machine type.
	VirtualMachineTypeLdom VirtualMachineType = "ldom"
	// VirtualMachineTypeLpar specifies the virtual machine type lpar state for
	// virtual machine type.
	VirtualMachineTypeLpar VirtualMachineType = "lpar"
	// VirtualMachineTypeUnknown specifies the virtual machine type unknown
	// state for virtual machine type.
	VirtualMachineTypeUnknown VirtualMachineType = "unknown"
	// VirtualMachineTypeVirtualPc specifies the virtual machine type virtual
	// pc state for virtual machine type.
	VirtualMachineTypeVirtualPc VirtualMachineType = "virtualPc"
	// VirtualMachineTypeVmware specifies the virtual machine type vmware state
	// for virtual machine type.
	VirtualMachineTypeVmware VirtualMachineType = "vmware"
	// VirtualMachineTypeXen specifies the virtual machine type xen state for
	// virtual machine type.
	VirtualMachineTypeXen VirtualMachineType = "xen"
)

type VirtualizationState

type VirtualizationState string

VirtualizationState enumerates the values for virtualization state.

const (
	// VirtualizationStateHypervisor specifies the virtualization state
	// hypervisor state for virtualization state.
	VirtualizationStateHypervisor VirtualizationState = "hypervisor"
	// VirtualizationStatePhysical specifies the virtualization state physical
	// state for virtualization state.
	VirtualizationStatePhysical VirtualizationState = "physical"
	// VirtualizationStateUnknown specifies the virtualization state unknown
	// state for virtualization state.
	VirtualizationStateUnknown VirtualizationState = "unknown"
	// VirtualizationStateVirtual specifies the virtualization state virtual
	// state for virtualization state.
	VirtualizationStateVirtual VirtualizationState = "virtual"
)

Jump to

Keyboard shortcuts

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