...

Package servicemap

import "github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/servicemap"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/operationalinsights/armoperationalinsights(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/operationalinsights/armoperationalinsights). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

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

Service Map API Reference

Index ▾

Constants
func UserAgent() string
func Version() string
type Acceptor
    func (a Acceptor) AsAcceptor() (*Acceptor, bool)
    func (a Acceptor) AsBasicRelationship() (BasicRelationship, bool)
    func (a Acceptor) AsConnection() (*Connection, bool)
    func (a Acceptor) AsRelationship() (*Relationship, bool)
    func (a Acceptor) MarshalJSON() ([]byte, error)
    func (a *Acceptor) UnmarshalJSON(body []byte) error
type AcceptorProperties
type Accuracy
    func PossibleAccuracyValues() []Accuracy
type AgentConfiguration
type AzureCloudServiceConfiguration
type AzureCloudServiceRoleType
    func PossibleAzureCloudServiceRoleTypeValues() []AzureCloudServiceRoleType
type AzureHostingConfiguration
    func (ahc AzureHostingConfiguration) AsAzureHostingConfiguration() (*AzureHostingConfiguration, bool)
    func (ahc AzureHostingConfiguration) AsBasicHostingConfiguration() (BasicHostingConfiguration, bool)
    func (ahc AzureHostingConfiguration) AsHostingConfiguration() (*HostingConfiguration, bool)
    func (ahc AzureHostingConfiguration) MarshalJSON() ([]byte, error)
type AzureProcessHostingConfiguration
    func (aphc AzureProcessHostingConfiguration) AsAzureProcessHostingConfiguration() (*AzureProcessHostingConfiguration, bool)
    func (aphc AzureProcessHostingConfiguration) AsBasicProcessHostingConfiguration() (BasicProcessHostingConfiguration, bool)
    func (aphc AzureProcessHostingConfiguration) AsProcessHostingConfiguration() (*ProcessHostingConfiguration, bool)
    func (aphc AzureProcessHostingConfiguration) MarshalJSON() ([]byte, error)
type AzureServiceFabricClusterConfiguration
type AzureVMScaleSetConfiguration
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type BasicCoreResource
type BasicHostingConfiguration
type BasicMapRequest
type BasicMultipleMachinesMapRequest
type BasicProcessHostingConfiguration
type BasicRelationship
type BasicResourceReference
type Bitness
    func PossibleBitnessValues() []Bitness
type ClientGroup
    func (cg ClientGroup) AsBasicCoreResource() (BasicCoreResource, bool)
    func (cg ClientGroup) AsClientGroup() (*ClientGroup, bool)
    func (cg ClientGroup) AsCoreResource() (*CoreResource, bool)
    func (cg ClientGroup) AsMachine() (*Machine, bool)
    func (cg ClientGroup) AsMachineGroup() (*MachineGroup, bool)
    func (cg ClientGroup) AsPort() (*Port, bool)
    func (cg ClientGroup) AsProcess() (*Process, bool)
    func (cg ClientGroup) MarshalJSON() ([]byte, error)
    func (cg *ClientGroup) UnmarshalJSON(body []byte) error
type ClientGroupMember
    func (cgm ClientGroupMember) MarshalJSON() ([]byte, error)
    func (cgm *ClientGroupMember) UnmarshalJSON(body []byte) error
type ClientGroupMemberProperties
type ClientGroupMembersCollection
    func (cgmc ClientGroupMembersCollection) IsEmpty() bool
type ClientGroupMembersCollectionIterator
    func NewClientGroupMembersCollectionIterator(page ClientGroupMembersCollectionPage) ClientGroupMembersCollectionIterator
    func (iter *ClientGroupMembersCollectionIterator) Next() error
    func (iter *ClientGroupMembersCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ClientGroupMembersCollectionIterator) NotDone() bool
    func (iter ClientGroupMembersCollectionIterator) Response() ClientGroupMembersCollection
    func (iter ClientGroupMembersCollectionIterator) Value() ClientGroupMember
type ClientGroupMembersCollectionPage
    func NewClientGroupMembersCollectionPage(cur ClientGroupMembersCollection, getNextPage func(context.Context, ClientGroupMembersCollection) (ClientGroupMembersCollection, error)) ClientGroupMembersCollectionPage
    func (page *ClientGroupMembersCollectionPage) Next() error
    func (page *ClientGroupMembersCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page ClientGroupMembersCollectionPage) NotDone() bool
    func (page ClientGroupMembersCollectionPage) Response() ClientGroupMembersCollection
    func (page ClientGroupMembersCollectionPage) Values() []ClientGroupMember
type ClientGroupMembersCount
type ClientGroupProperties
    func (cg *ClientGroupProperties) UnmarshalJSON(body []byte) error
type ClientGroupReference
    func (cgr ClientGroupReference) AsBasicResourceReference() (BasicResourceReference, bool)
    func (cgr ClientGroupReference) AsClientGroupReference() (*ClientGroupReference, bool)
    func (cgr ClientGroupReference) AsMachineReference() (*MachineReference, bool)
    func (cgr ClientGroupReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)
    func (cgr ClientGroupReference) AsPortReference() (*PortReference, bool)
    func (cgr ClientGroupReference) AsProcessReference() (*ProcessReference, bool)
    func (cgr ClientGroupReference) AsResourceReference() (*ResourceReference, bool)
    func (cgr ClientGroupReference) MarshalJSON() ([]byte, error)
type ClientGroupsClient
    func NewClientGroupsClient(subscriptionID string) ClientGroupsClient
    func NewClientGroupsClientWithBaseURI(baseURI string, subscriptionID string) ClientGroupsClient
    func (client ClientGroupsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time) (result ClientGroup, err error)
    func (client ClientGroupsClient) GetMembersCount(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time) (result ClientGroupMembersCount, err error)
    func (client ClientGroupsClient) GetMembersCountPreparer(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client ClientGroupsClient) GetMembersCountResponder(resp *http.Response) (result ClientGroupMembersCount, err error)
    func (client ClientGroupsClient) GetMembersCountSender(req *http.Request) (*http.Response, error)
    func (client ClientGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client ClientGroupsClient) GetResponder(resp *http.Response) (result ClientGroup, err error)
    func (client ClientGroupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ClientGroupsClient) ListMembers(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time, top *int32) (result ClientGroupMembersCollectionPage, err error)
    func (client ClientGroupsClient) ListMembersComplete(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time, top *int32) (result ClientGroupMembersCollectionIterator, err error)
    func (client ClientGroupsClient) ListMembersPreparer(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time, top *int32) (*http.Request, error)
    func (client ClientGroupsClient) ListMembersResponder(resp *http.Response) (result ClientGroupMembersCollection, err error)
    func (client ClientGroupsClient) ListMembersSender(req *http.Request) (*http.Response, error)
type Connection
    func (c Connection) AsAcceptor() (*Acceptor, bool)
    func (c Connection) AsBasicRelationship() (BasicRelationship, bool)
    func (c Connection) AsConnection() (*Connection, bool)
    func (c Connection) AsRelationship() (*Relationship, bool)
    func (c Connection) MarshalJSON() ([]byte, error)
    func (c *Connection) UnmarshalJSON(body []byte) error
type ConnectionCollection
    func (cc ConnectionCollection) IsEmpty() bool
type ConnectionCollectionIterator
    func NewConnectionCollectionIterator(page ConnectionCollectionPage) ConnectionCollectionIterator
    func (iter *ConnectionCollectionIterator) Next() error
    func (iter *ConnectionCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ConnectionCollectionIterator) NotDone() bool
    func (iter ConnectionCollectionIterator) Response() ConnectionCollection
    func (iter ConnectionCollectionIterator) Value() Connection
type ConnectionCollectionPage
    func NewConnectionCollectionPage(cur ConnectionCollection, getNextPage func(context.Context, ConnectionCollection) (ConnectionCollection, error)) ConnectionCollectionPage
    func (page *ConnectionCollectionPage) Next() error
    func (page *ConnectionCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page ConnectionCollectionPage) NotDone() bool
    func (page ConnectionCollectionPage) Response() ConnectionCollection
    func (page ConnectionCollectionPage) Values() []Connection
type ConnectionFailureState
    func PossibleConnectionFailureStateValues() []ConnectionFailureState
type ConnectionProperties
    func (cp *ConnectionProperties) UnmarshalJSON(body []byte) error
type CoreResource
    func (cr CoreResource) AsBasicCoreResource() (BasicCoreResource, bool)
    func (cr CoreResource) AsClientGroup() (*ClientGroup, bool)
    func (cr CoreResource) AsCoreResource() (*CoreResource, bool)
    func (cr CoreResource) AsMachine() (*Machine, bool)
    func (cr CoreResource) AsMachineGroup() (*MachineGroup, bool)
    func (cr CoreResource) AsPort() (*Port, bool)
    func (cr CoreResource) AsProcess() (*Process, bool)
    func (cr CoreResource) MarshalJSON() ([]byte, error)
type Error
type ErrorResponse
type HostingConfiguration
    func (hc HostingConfiguration) AsAzureHostingConfiguration() (*AzureHostingConfiguration, bool)
    func (hc HostingConfiguration) AsBasicHostingConfiguration() (BasicHostingConfiguration, bool)
    func (hc HostingConfiguration) AsHostingConfiguration() (*HostingConfiguration, bool)
    func (hc HostingConfiguration) MarshalJSON() ([]byte, error)
type HypervisorConfiguration
type HypervisorType
    func PossibleHypervisorTypeValues() []HypervisorType
type ImageConfiguration
type Ipv4NetworkInterface
type Ipv6NetworkInterface
type Kind
    func PossibleKindValues() []Kind
type KindBasicCoreResource
    func PossibleKindBasicCoreResourceValues() []KindBasicCoreResource
type KindBasicHostingConfiguration
    func PossibleKindBasicHostingConfigurationValues() []KindBasicHostingConfiguration
type KindBasicMapRequest
    func PossibleKindBasicMapRequestValues() []KindBasicMapRequest
type KindBasicProcessHostingConfiguration
    func PossibleKindBasicProcessHostingConfigurationValues() []KindBasicProcessHostingConfiguration
type KindBasicRelationship
    func PossibleKindBasicRelationshipValues() []KindBasicRelationship
type Liveness
type Machine
    func (mVar Machine) AsBasicCoreResource() (BasicCoreResource, bool)
    func (mVar Machine) AsClientGroup() (*ClientGroup, bool)
    func (mVar Machine) AsCoreResource() (*CoreResource, bool)
    func (mVar Machine) AsMachine() (*Machine, bool)
    func (mVar Machine) AsMachineGroup() (*MachineGroup, bool)
    func (mVar Machine) AsPort() (*Port, bool)
    func (mVar Machine) AsProcess() (*Process, bool)
    func (mVar Machine) MarshalJSON() ([]byte, error)
    func (mVar *Machine) UnmarshalJSON(body []byte) error
type MachineCollection
    func (mc MachineCollection) IsEmpty() bool
type MachineCollectionIterator
    func NewMachineCollectionIterator(page MachineCollectionPage) MachineCollectionIterator
    func (iter *MachineCollectionIterator) Next() error
    func (iter *MachineCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter MachineCollectionIterator) NotDone() bool
    func (iter MachineCollectionIterator) Response() MachineCollection
    func (iter MachineCollectionIterator) Value() Machine
type MachineCollectionPage
    func NewMachineCollectionPage(cur MachineCollection, getNextPage func(context.Context, MachineCollection) (MachineCollection, error)) MachineCollectionPage
    func (page *MachineCollectionPage) Next() error
    func (page *MachineCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page MachineCollectionPage) NotDone() bool
    func (page MachineCollectionPage) Response() MachineCollection
    func (page MachineCollectionPage) Values() []Machine
type MachineCountsByOperatingSystem
type MachineGroup
    func (mg MachineGroup) AsBasicCoreResource() (BasicCoreResource, bool)
    func (mg MachineGroup) AsClientGroup() (*ClientGroup, bool)
    func (mg MachineGroup) AsCoreResource() (*CoreResource, bool)
    func (mg MachineGroup) AsMachine() (*Machine, bool)
    func (mg MachineGroup) AsMachineGroup() (*MachineGroup, bool)
    func (mg MachineGroup) AsPort() (*Port, bool)
    func (mg MachineGroup) AsProcess() (*Process, bool)
    func (mg MachineGroup) MarshalJSON() ([]byte, error)
    func (mg *MachineGroup) UnmarshalJSON(body []byte) error
type MachineGroupCollection
    func (mgc MachineGroupCollection) IsEmpty() bool
type MachineGroupCollectionIterator
    func NewMachineGroupCollectionIterator(page MachineGroupCollectionPage) MachineGroupCollectionIterator
    func (iter *MachineGroupCollectionIterator) Next() error
    func (iter *MachineGroupCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter MachineGroupCollectionIterator) NotDone() bool
    func (iter MachineGroupCollectionIterator) Response() MachineGroupCollection
    func (iter MachineGroupCollectionIterator) Value() MachineGroup
type MachineGroupCollectionPage
    func NewMachineGroupCollectionPage(cur MachineGroupCollection, getNextPage func(context.Context, MachineGroupCollection) (MachineGroupCollection, error)) MachineGroupCollectionPage
    func (page *MachineGroupCollectionPage) Next() error
    func (page *MachineGroupCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page MachineGroupCollectionPage) NotDone() bool
    func (page MachineGroupCollectionPage) Response() MachineGroupCollection
    func (page MachineGroupCollectionPage) Values() []MachineGroup
type MachineGroupMapRequest
    func (mgmr MachineGroupMapRequest) AsBasicMapRequest() (BasicMapRequest, bool)
    func (mgmr MachineGroupMapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)
    func (mgmr MachineGroupMapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)
    func (mgmr MachineGroupMapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)
    func (mgmr MachineGroupMapRequest) AsMapRequest() (*MapRequest, bool)
    func (mgmr MachineGroupMapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)
    func (mgmr MachineGroupMapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)
    func (mgmr MachineGroupMapRequest) MarshalJSON() ([]byte, error)
type MachineGroupProperties
type MachineGroupType
    func PossibleMachineGroupTypeValues() []MachineGroupType
type MachineGroupsClient
    func NewMachineGroupsClient(subscriptionID string) MachineGroupsClient
    func NewMachineGroupsClientWithBaseURI(baseURI string, subscriptionID string) MachineGroupsClient
    func (client MachineGroupsClient) Create(ctx context.Context, resourceGroupName string, workspaceName string, machineGroup MachineGroup) (result MachineGroup, err error)
    func (client MachineGroupsClient) CreatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineGroup MachineGroup) (*http.Request, error)
    func (client MachineGroupsClient) CreateResponder(resp *http.Response) (result MachineGroup, err error)
    func (client MachineGroupsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client MachineGroupsClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string) (result autorest.Response, err error)
    func (client MachineGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string) (*http.Request, error)
    func (client MachineGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client MachineGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client MachineGroupsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string, startTime *date.Time, endTime *date.Time) (result MachineGroup, err error)
    func (client MachineGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client MachineGroupsClient) GetResponder(resp *http.Response) (result MachineGroup, err error)
    func (client MachineGroupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client MachineGroupsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (result MachineGroupCollectionPage, err error)
    func (client MachineGroupsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (result MachineGroupCollectionIterator, err error)
    func (client MachineGroupsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client MachineGroupsClient) ListByWorkspaceResponder(resp *http.Response) (result MachineGroupCollection, err error)
    func (client MachineGroupsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
    func (client MachineGroupsClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string, machineGroup MachineGroup) (result MachineGroup, err error)
    func (client MachineGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string, machineGroup MachineGroup) (*http.Request, error)
    func (client MachineGroupsClient) UpdateResponder(resp *http.Response) (result MachineGroup, err error)
    func (client MachineGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
type MachineListMapRequest
    func (mlmr MachineListMapRequest) AsBasicMapRequest() (BasicMapRequest, bool)
    func (mlmr MachineListMapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)
    func (mlmr MachineListMapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)
    func (mlmr MachineListMapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)
    func (mlmr MachineListMapRequest) AsMapRequest() (*MapRequest, bool)
    func (mlmr MachineListMapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)
    func (mlmr MachineListMapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)
    func (mlmr MachineListMapRequest) MarshalJSON() ([]byte, error)
type MachineProperties
    func (mVar *MachineProperties) UnmarshalJSON(body []byte) error
type MachineRebootStatus
    func PossibleMachineRebootStatusValues() []MachineRebootStatus
type MachineReference
    func (mr MachineReference) AsBasicResourceReference() (BasicResourceReference, bool)
    func (mr MachineReference) AsClientGroupReference() (*ClientGroupReference, bool)
    func (mr MachineReference) AsMachineReference() (*MachineReference, bool)
    func (mr MachineReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)
    func (mr MachineReference) AsPortReference() (*PortReference, bool)
    func (mr MachineReference) AsProcessReference() (*ProcessReference, bool)
    func (mr MachineReference) AsResourceReference() (*ResourceReference, bool)
    func (mr MachineReference) MarshalJSON() ([]byte, error)
type MachineReferenceWithHints
    func (mrwh MachineReferenceWithHints) AsBasicResourceReference() (BasicResourceReference, bool)
    func (mrwh MachineReferenceWithHints) AsClientGroupReference() (*ClientGroupReference, bool)
    func (mrwh MachineReferenceWithHints) AsMachineReference() (*MachineReference, bool)
    func (mrwh MachineReferenceWithHints) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)
    func (mrwh MachineReferenceWithHints) AsPortReference() (*PortReference, bool)
    func (mrwh MachineReferenceWithHints) AsProcessReference() (*ProcessReference, bool)
    func (mrwh MachineReferenceWithHints) AsResourceReference() (*ResourceReference, bool)
    func (mrwh MachineReferenceWithHints) MarshalJSON() ([]byte, error)
    func (mrwh *MachineReferenceWithHints) UnmarshalJSON(body []byte) error
type MachineReferenceWithHintsProperties
    func (mrwh MachineReferenceWithHintsProperties) MarshalJSON() ([]byte, error)
type MachineResourcesConfiguration
type MachinesClient
    func NewMachinesClient(subscriptionID string) MachinesClient
    func NewMachinesClientWithBaseURI(baseURI string, subscriptionID string) MachinesClient
    func (client MachinesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, timestamp *date.Time) (result Machine, err error)
    func (client MachinesClient) GetLiveness(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result Liveness, err error)
    func (client MachinesClient) GetLivenessPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client MachinesClient) GetLivenessResponder(resp *http.Response) (result Liveness, err error)
    func (client MachinesClient) GetLivenessSender(req *http.Request) (*http.Response, error)
    func (client MachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, timestamp *date.Time) (*http.Request, error)
    func (client MachinesClient) GetResponder(resp *http.Response) (result Machine, err error)
    func (client MachinesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client MachinesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time, top *int32) (result MachineCollectionPage, err error)
    func (client MachinesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time, top *int32) (result MachineCollectionIterator, err error)
    func (client MachinesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time, top *int32) (*http.Request, error)
    func (client MachinesClient) ListByWorkspaceResponder(resp *http.Response) (result MachineCollection, err error)
    func (client MachinesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)
    func (client MachinesClient) ListConnections(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionPage, err error)
    func (client MachinesClient) ListConnectionsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionIterator, err error)
    func (client MachinesClient) ListConnectionsPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client MachinesClient) ListConnectionsResponder(resp *http.Response) (result ConnectionCollection, err error)
    func (client MachinesClient) ListConnectionsSender(req *http.Request) (*http.Response, error)
    func (client MachinesClient) ListMachineGroupMembership(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result MachineGroupCollectionPage, err error)
    func (client MachinesClient) ListMachineGroupMembershipComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result MachineGroupCollectionIterator, err error)
    func (client MachinesClient) ListMachineGroupMembershipPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client MachinesClient) ListMachineGroupMembershipResponder(resp *http.Response) (result MachineGroupCollection, err error)
    func (client MachinesClient) ListMachineGroupMembershipSender(req *http.Request) (*http.Response, error)
    func (client MachinesClient) ListPorts(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result PortCollectionPage, err error)
    func (client MachinesClient) ListPortsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result PortCollectionIterator, err error)
    func (client MachinesClient) ListPortsPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client MachinesClient) ListPortsResponder(resp *http.Response) (result PortCollection, err error)
    func (client MachinesClient) ListPortsSender(req *http.Request) (*http.Response, error)
    func (client MachinesClient) ListProcesses(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time) (result ProcessCollectionPage, err error)
    func (client MachinesClient) ListProcessesComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time) (result ProcessCollectionIterator, err error)
    func (client MachinesClient) ListProcessesPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time) (*http.Request, error)
    func (client MachinesClient) ListProcessesResponder(resp *http.Response) (result ProcessCollection, err error)
    func (client MachinesClient) ListProcessesSender(req *http.Request) (*http.Response, error)
type MachinesSummary
    func (ms MachinesSummary) MarshalJSON() ([]byte, error)
    func (ms *MachinesSummary) UnmarshalJSON(body []byte) error
type MachinesSummaryProperties
type Map
type MapEdges
type MapNodes
type MapRequest
    func (mr MapRequest) AsBasicMapRequest() (BasicMapRequest, bool)
    func (mr MapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)
    func (mr MapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)
    func (mr MapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)
    func (mr MapRequest) AsMapRequest() (*MapRequest, bool)
    func (mr MapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)
    func (mr MapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)
    func (mr MapRequest) MarshalJSON() ([]byte, error)
type MapResponse
type MapsClient
    func NewMapsClient(subscriptionID string) MapsClient
    func NewMapsClientWithBaseURI(baseURI string, subscriptionID string) MapsClient
    func (client MapsClient) Generate(ctx context.Context, resourceGroupName string, workspaceName string, request BasicMapRequest) (result MapResponse, err error)
    func (client MapsClient) GeneratePreparer(ctx context.Context, resourceGroupName string, workspaceName string, request BasicMapRequest) (*http.Request, error)
    func (client MapsClient) GenerateResponder(resp *http.Response) (result MapResponse, err error)
    func (client MapsClient) GenerateSender(req *http.Request) (*http.Response, error)
type MonitoringState
    func PossibleMonitoringStateValues() []MonitoringState
type MultipleMachinesMapRequest
    func (mmmr MultipleMachinesMapRequest) AsBasicMapRequest() (BasicMapRequest, bool)
    func (mmmr MultipleMachinesMapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)
    func (mmmr MultipleMachinesMapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)
    func (mmmr MultipleMachinesMapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)
    func (mmmr MultipleMachinesMapRequest) AsMapRequest() (*MapRequest, bool)
    func (mmmr MultipleMachinesMapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)
    func (mmmr MultipleMachinesMapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)
    func (mmmr MultipleMachinesMapRequest) MarshalJSON() ([]byte, error)
type NetworkConfiguration
type OperatingSystemConfiguration
type OperatingSystemFamily
    func PossibleOperatingSystemFamilyValues() []OperatingSystemFamily
type Port
    func (p Port) AsBasicCoreResource() (BasicCoreResource, bool)
    func (p Port) AsClientGroup() (*ClientGroup, bool)
    func (p Port) AsCoreResource() (*CoreResource, bool)
    func (p Port) AsMachine() (*Machine, bool)
    func (p Port) AsMachineGroup() (*MachineGroup, bool)
    func (p Port) AsPort() (*Port, bool)
    func (p Port) AsProcess() (*Process, bool)
    func (p Port) MarshalJSON() ([]byte, error)
    func (p *Port) UnmarshalJSON(body []byte) error
type PortCollection
    func (pc PortCollection) IsEmpty() bool
type PortCollectionIterator
    func NewPortCollectionIterator(page PortCollectionPage) PortCollectionIterator
    func (iter *PortCollectionIterator) Next() error
    func (iter *PortCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter PortCollectionIterator) NotDone() bool
    func (iter PortCollectionIterator) Response() PortCollection
    func (iter PortCollectionIterator) Value() Port
type PortCollectionPage
    func NewPortCollectionPage(cur PortCollection, getNextPage func(context.Context, PortCollection) (PortCollection, error)) PortCollectionPage
    func (page *PortCollectionPage) Next() error
    func (page *PortCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page PortCollectionPage) NotDone() bool
    func (page PortCollectionPage) Response() PortCollection
    func (page PortCollectionPage) Values() []Port
type PortProperties
    func (p *PortProperties) UnmarshalJSON(body []byte) error
type PortReference
    func (pr PortReference) AsBasicResourceReference() (BasicResourceReference, bool)
    func (pr PortReference) AsClientGroupReference() (*ClientGroupReference, bool)
    func (pr PortReference) AsMachineReference() (*MachineReference, bool)
    func (pr PortReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)
    func (pr PortReference) AsPortReference() (*PortReference, bool)
    func (pr PortReference) AsProcessReference() (*ProcessReference, bool)
    func (pr PortReference) AsResourceReference() (*ResourceReference, bool)
    func (pr PortReference) MarshalJSON() ([]byte, error)
    func (pr *PortReference) UnmarshalJSON(body []byte) error
type PortReferenceProperties
    func (pr PortReferenceProperties) MarshalJSON() ([]byte, error)
type PortsClient
    func NewPortsClient(subscriptionID string) PortsClient
    func NewPortsClientWithBaseURI(baseURI string, subscriptionID string) PortsClient
    func (client PortsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result Port, err error)
    func (client PortsClient) GetLiveness(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result Liveness, err error)
    func (client PortsClient) GetLivenessPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client PortsClient) GetLivenessResponder(resp *http.Response) (result Liveness, err error)
    func (client PortsClient) GetLivenessSender(req *http.Request) (*http.Response, error)
    func (client PortsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client PortsClient) GetResponder(resp *http.Response) (result Port, err error)
    func (client PortsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PortsClient) ListAcceptingProcesses(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ProcessCollectionPage, err error)
    func (client PortsClient) ListAcceptingProcessesComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ProcessCollectionIterator, err error)
    func (client PortsClient) ListAcceptingProcessesPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client PortsClient) ListAcceptingProcessesResponder(resp *http.Response) (result ProcessCollection, err error)
    func (client PortsClient) ListAcceptingProcessesSender(req *http.Request) (*http.Response, error)
    func (client PortsClient) ListConnections(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionPage, err error)
    func (client PortsClient) ListConnectionsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionIterator, err error)
    func (client PortsClient) ListConnectionsPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client PortsClient) ListConnectionsResponder(resp *http.Response) (result ConnectionCollection, err error)
    func (client PortsClient) ListConnectionsSender(req *http.Request) (*http.Response, error)
type Process
    func (p Process) AsBasicCoreResource() (BasicCoreResource, bool)
    func (p Process) AsClientGroup() (*ClientGroup, bool)
    func (p Process) AsCoreResource() (*CoreResource, bool)
    func (p Process) AsMachine() (*Machine, bool)
    func (p Process) AsMachineGroup() (*MachineGroup, bool)
    func (p Process) AsPort() (*Port, bool)
    func (p Process) AsProcess() (*Process, bool)
    func (p Process) MarshalJSON() ([]byte, error)
    func (p *Process) UnmarshalJSON(body []byte) error
type ProcessCollection
    func (pc ProcessCollection) IsEmpty() bool
type ProcessCollectionIterator
    func NewProcessCollectionIterator(page ProcessCollectionPage) ProcessCollectionIterator
    func (iter *ProcessCollectionIterator) Next() error
    func (iter *ProcessCollectionIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ProcessCollectionIterator) NotDone() bool
    func (iter ProcessCollectionIterator) Response() ProcessCollection
    func (iter ProcessCollectionIterator) Value() Process
type ProcessCollectionPage
    func NewProcessCollectionPage(cur ProcessCollection, getNextPage func(context.Context, ProcessCollection) (ProcessCollection, error)) ProcessCollectionPage
    func (page *ProcessCollectionPage) Next() error
    func (page *ProcessCollectionPage) NextWithContext(ctx context.Context) (err error)
    func (page ProcessCollectionPage) NotDone() bool
    func (page ProcessCollectionPage) Response() ProcessCollection
    func (page ProcessCollectionPage) Values() []Process
type ProcessDetails
type ProcessHostedService
type ProcessHostingConfiguration
    func (phc ProcessHostingConfiguration) AsAzureProcessHostingConfiguration() (*AzureProcessHostingConfiguration, bool)
    func (phc ProcessHostingConfiguration) AsBasicProcessHostingConfiguration() (BasicProcessHostingConfiguration, bool)
    func (phc ProcessHostingConfiguration) AsProcessHostingConfiguration() (*ProcessHostingConfiguration, bool)
    func (phc ProcessHostingConfiguration) MarshalJSON() ([]byte, error)
type ProcessProperties
    func (p *ProcessProperties) UnmarshalJSON(body []byte) error
type ProcessReference
    func (pr ProcessReference) AsBasicResourceReference() (BasicResourceReference, bool)
    func (pr ProcessReference) AsClientGroupReference() (*ClientGroupReference, bool)
    func (pr ProcessReference) AsMachineReference() (*MachineReference, bool)
    func (pr ProcessReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)
    func (pr ProcessReference) AsPortReference() (*PortReference, bool)
    func (pr ProcessReference) AsProcessReference() (*ProcessReference, bool)
    func (pr ProcessReference) AsResourceReference() (*ResourceReference, bool)
    func (pr ProcessReference) MarshalJSON() ([]byte, error)
    func (pr *ProcessReference) UnmarshalJSON(body []byte) error
type ProcessReferenceProperties
    func (pr ProcessReferenceProperties) MarshalJSON() ([]byte, error)
type ProcessRole
    func PossibleProcessRoleValues() []ProcessRole
type ProcessUser
type ProcessesClient
    func NewProcessesClient(subscriptionID string) ProcessesClient
    func NewProcessesClientWithBaseURI(baseURI string, subscriptionID string) ProcessesClient
    func (client ProcessesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, timestamp *date.Time) (result Process, err error)
    func (client ProcessesClient) GetLiveness(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result Liveness, err error)
    func (client ProcessesClient) GetLivenessPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client ProcessesClient) GetLivenessResponder(resp *http.Response) (result Liveness, err error)
    func (client ProcessesClient) GetLivenessSender(req *http.Request) (*http.Response, error)
    func (client ProcessesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, timestamp *date.Time) (*http.Request, error)
    func (client ProcessesClient) GetResponder(resp *http.Response) (result Process, err error)
    func (client ProcessesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ProcessesClient) ListAcceptingPorts(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result PortCollectionPage, err error)
    func (client ProcessesClient) ListAcceptingPortsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result PortCollectionIterator, err error)
    func (client ProcessesClient) ListAcceptingPortsPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client ProcessesClient) ListAcceptingPortsResponder(resp *http.Response) (result PortCollection, err error)
    func (client ProcessesClient) ListAcceptingPortsSender(req *http.Request) (*http.Response, error)
    func (client ProcessesClient) ListConnections(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionPage, err error)
    func (client ProcessesClient) ListConnectionsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionIterator, err error)
    func (client ProcessesClient) ListConnectionsPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client ProcessesClient) ListConnectionsResponder(resp *http.Response) (result ConnectionCollection, err error)
    func (client ProcessesClient) ListConnectionsSender(req *http.Request) (*http.Response, error)
type Provider
    func PossibleProviderValues() []Provider
type Provider1
    func PossibleProvider1Values() []Provider1
type Relationship
    func (r Relationship) AsAcceptor() (*Acceptor, bool)
    func (r Relationship) AsBasicRelationship() (BasicRelationship, bool)
    func (r Relationship) AsConnection() (*Connection, bool)
    func (r Relationship) AsRelationship() (*Relationship, bool)
    func (r Relationship) MarshalJSON() ([]byte, error)
type RelationshipProperties
    func (rp *RelationshipProperties) UnmarshalJSON(body []byte) error
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceReference
    func (rr ResourceReference) AsBasicResourceReference() (BasicResourceReference, bool)
    func (rr ResourceReference) AsClientGroupReference() (*ClientGroupReference, bool)
    func (rr ResourceReference) AsMachineReference() (*MachineReference, bool)
    func (rr ResourceReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)
    func (rr ResourceReference) AsPortReference() (*PortReference, bool)
    func (rr ResourceReference) AsProcessReference() (*ProcessReference, bool)
    func (rr ResourceReference) AsResourceReference() (*ResourceReference, bool)
    func (rr ResourceReference) MarshalJSON() ([]byte, error)
type SingleMachineDependencyMapRequest
    func (smdmr SingleMachineDependencyMapRequest) AsBasicMapRequest() (BasicMapRequest, bool)
    func (smdmr SingleMachineDependencyMapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)
    func (smdmr SingleMachineDependencyMapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)
    func (smdmr SingleMachineDependencyMapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)
    func (smdmr SingleMachineDependencyMapRequest) AsMapRequest() (*MapRequest, bool)
    func (smdmr SingleMachineDependencyMapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)
    func (smdmr SingleMachineDependencyMapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)
    func (smdmr SingleMachineDependencyMapRequest) MarshalJSON() ([]byte, error)
type SummariesClient
    func NewSummariesClient(subscriptionID string) SummariesClient
    func NewSummariesClientWithBaseURI(baseURI string, subscriptionID string) SummariesClient
    func (client SummariesClient) GetMachines(ctx context.Context, resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (result MachinesSummary, err error)
    func (client SummariesClient) GetMachinesPreparer(ctx context.Context, resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (*http.Request, error)
    func (client SummariesClient) GetMachinesResponder(resp *http.Response) (result MachinesSummary, err error)
    func (client SummariesClient) GetMachinesSender(req *http.Request) (*http.Response, error)
type Summary
    func (s Summary) MarshalJSON() ([]byte, error)
type SummaryProperties
type Timezone
type VirtualMachineConfiguration
type VirtualMachineType
    func PossibleVirtualMachineTypeValues() []VirtualMachineType
type VirtualizationState
    func PossibleVirtualizationStateValues() []VirtualizationState

Package files

client.go clientgroups.go enums.go machinegroups.go machines.go maps.go models.go ports.go processes.go summaries.go version.go

Constants

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

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.

type Acceptor

Acceptor a process accepting on a port.

type Acceptor struct {
    *AcceptorProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Kind - Possible values include: 'KindRelationship', 'KindRelconnection', 'KindRelacceptor'
    Kind KindBasicRelationship `json:"kind,omitempty"`
}

func (Acceptor) AsAcceptor

func (a Acceptor) AsAcceptor() (*Acceptor, bool)

AsAcceptor is the BasicRelationship implementation for Acceptor.

func (Acceptor) AsBasicRelationship

func (a Acceptor) AsBasicRelationship() (BasicRelationship, bool)

AsBasicRelationship is the BasicRelationship implementation for Acceptor.

func (Acceptor) AsConnection

func (a Acceptor) AsConnection() (*Connection, bool)

AsConnection is the BasicRelationship implementation for Acceptor.

func (Acceptor) AsRelationship

func (a Acceptor) AsRelationship() (*Relationship, bool)

AsRelationship is the BasicRelationship implementation for Acceptor.

func (Acceptor) MarshalJSON

func (a Acceptor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Acceptor.

func (*Acceptor) UnmarshalJSON

func (a *Acceptor) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Acceptor struct.

type AcceptorProperties

AcceptorProperties properties for an acceptor relationship.

type AcceptorProperties struct {
    // Source - Port being accepted.
    Source *PortReference `json:"source,omitempty"`
    // Destination - Accepting process.
    Destination *ProcessReference `json:"destination,omitempty"`
    // StartTime - Relationship start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Relationship end time.
    EndTime *date.Time `json:"endTime,omitempty"`
}

type Accuracy

Accuracy enumerates the values for accuracy.

type Accuracy string
const (
    // Actual ...
    Actual Accuracy = "actual"
    // Estimated ...
    Estimated Accuracy = "estimated"
)

func PossibleAccuracyValues

func PossibleAccuracyValues() []Accuracy

PossibleAccuracyValues returns an array of possible values for the Accuracy const type.

type AgentConfiguration

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

type AgentConfiguration struct {
    // AgentID - Health Service Agent unique identifier.
    AgentID *string `json:"agentId,omitempty"`
    // DependencyAgentID - Dependency Agent unique identifier.
    DependencyAgentID *string `json:"dependencyAgentId,omitempty"`
    // DependencyAgentVersion - Dependency Agent version number.
    DependencyAgentVersion *string `json:"dependencyAgentVersion,omitempty"`
    // DependencyAgentRevision - Dependency Agent revision number.
    DependencyAgentRevision *string `json:"dependencyAgentRevision,omitempty"`
    // RebootStatus - Specifies whether the machine has been rebooted since the Dependency Agent installation. Possible values include: 'MachineRebootStatusUnknown', 'MachineRebootStatusRebooted', 'MachineRebootStatusNotRebooted'
    RebootStatus MachineRebootStatus `json:"rebootStatus,omitempty"`
    // ClockGranularity - Machine clock granularity in milliseconds.
    ClockGranularity *int32 `json:"clockGranularity,omitempty"`
}

type AzureCloudServiceConfiguration

AzureCloudServiceConfiguration describes an Azure Cloud Service

type AzureCloudServiceConfiguration struct {
    // Name - Cloud Service name
    Name *string `json:"name,omitempty"`
    // InstanceID - Cloud Service instance identifier
    InstanceID *string `json:"instanceId,omitempty"`
    // Deployment - Cloud Service deployment identifier
    Deployment *string `json:"deployment,omitempty"`
    // RoleName - Cloud Service role name
    RoleName *string `json:"roleName,omitempty"`
    // RoleType - Used to specify type of an Azure Cloud Service role. Possible values include: 'Unknown', 'Worker', 'Web'
    RoleType AzureCloudServiceRoleType `json:"roleType,omitempty"`
}

type AzureCloudServiceRoleType

AzureCloudServiceRoleType enumerates the values for azure cloud service role type.

type AzureCloudServiceRoleType string
const (
    // Unknown ...
    Unknown AzureCloudServiceRoleType = "unknown"
    // Web ...
    Web AzureCloudServiceRoleType = "web"
    // Worker ...
    Worker AzureCloudServiceRoleType = "worker"
)

func PossibleAzureCloudServiceRoleTypeValues

func PossibleAzureCloudServiceRoleTypeValues() []AzureCloudServiceRoleType

PossibleAzureCloudServiceRoleTypeValues returns an array of possible values for the AzureCloudServiceRoleType const type.

type AzureHostingConfiguration

AzureHostingConfiguration provides information about how a machine is hosted in Azure

type AzureHostingConfiguration struct {
    // VMID - Virtual Machine ID (unique identifier).
    VMID *string `json:"vmId,omitempty"`
    // Location - Geographical location of the VM.
    Location *string `json:"location,omitempty"`
    // Name - Machine name according to the hosting provider.
    Name *string `json:"name,omitempty"`
    // Size - Size of the VM.
    Size *string `json:"size,omitempty"`
    // UpdateDomain - Update domain of the VM.
    UpdateDomain *string `json:"updateDomain,omitempty"`
    // FaultDomain - Fault domain of the VM.
    FaultDomain *string `json:"faultDomain,omitempty"`
    // SubscriptionID - Subscription ID.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroup - Resource group name within the specified subscription.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // ResourceID - Unique identifier of the resource.
    ResourceID *string `json:"resourceId,omitempty"`
    // Image - Image of the machine.
    Image *ImageConfiguration `json:"image,omitempty"`
    // CloudService - Contains information about machines hosted as an Azure Cloud Service
    CloudService *AzureCloudServiceConfiguration `json:"cloudService,omitempty"`
    // VMScaleSet - Contains information about machines hosted as an Azure Virtual Machine Scale Set
    VMScaleSet *AzureVMScaleSetConfiguration `json:"vmScaleSet,omitempty"`
    // ServiceFabricCluster - Contains information about machines that belong an Azure Service Fabric Cluster
    ServiceFabricCluster *AzureServiceFabricClusterConfiguration `json:"serviceFabricCluster,omitempty"`
    // Provider - The hosting provider of the VM. Possible values include: 'Azure'
    Provider Provider `json:"provider,omitempty"`
    // Kind - Possible values include: 'KindHostingConfiguration', 'KindProviderazure'
    Kind KindBasicHostingConfiguration `json:"kind,omitempty"`
}

func (AzureHostingConfiguration) AsAzureHostingConfiguration

func (ahc AzureHostingConfiguration) AsAzureHostingConfiguration() (*AzureHostingConfiguration, bool)

AsAzureHostingConfiguration is the BasicHostingConfiguration implementation for AzureHostingConfiguration.

func (AzureHostingConfiguration) AsBasicHostingConfiguration

func (ahc AzureHostingConfiguration) AsBasicHostingConfiguration() (BasicHostingConfiguration, bool)

AsBasicHostingConfiguration is the BasicHostingConfiguration implementation for AzureHostingConfiguration.

func (AzureHostingConfiguration) AsHostingConfiguration

func (ahc AzureHostingConfiguration) AsHostingConfiguration() (*HostingConfiguration, bool)

AsHostingConfiguration is the BasicHostingConfiguration implementation for AzureHostingConfiguration.

func (AzureHostingConfiguration) MarshalJSON

func (ahc AzureHostingConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureHostingConfiguration.

type AzureProcessHostingConfiguration

AzureProcessHostingConfiguration describes the hosting configuration of a process when hosted on azure

type AzureProcessHostingConfiguration struct {
    // CloudService - Contains information about the cloud service the process belongs to
    CloudService *AzureCloudServiceConfiguration `json:"cloudService,omitempty"`
    // Provider - The hosting provider of the VM. Possible values include: 'Provider1Azure'
    Provider Provider1 `json:"provider,omitempty"`
    // Kind - Possible values include: 'KindBasicProcessHostingConfigurationKindProcessHostingConfiguration', 'KindBasicProcessHostingConfigurationKindProviderazure'
    Kind KindBasicProcessHostingConfiguration `json:"kind,omitempty"`
}

func (AzureProcessHostingConfiguration) AsAzureProcessHostingConfiguration

func (aphc AzureProcessHostingConfiguration) AsAzureProcessHostingConfiguration() (*AzureProcessHostingConfiguration, bool)

AsAzureProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for AzureProcessHostingConfiguration.

func (AzureProcessHostingConfiguration) AsBasicProcessHostingConfiguration

func (aphc AzureProcessHostingConfiguration) AsBasicProcessHostingConfiguration() (BasicProcessHostingConfiguration, bool)

AsBasicProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for AzureProcessHostingConfiguration.

func (AzureProcessHostingConfiguration) AsProcessHostingConfiguration

func (aphc AzureProcessHostingConfiguration) AsProcessHostingConfiguration() (*ProcessHostingConfiguration, bool)

AsProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for AzureProcessHostingConfiguration.

func (AzureProcessHostingConfiguration) MarshalJSON

func (aphc AzureProcessHostingConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureProcessHostingConfiguration.

type AzureServiceFabricClusterConfiguration

AzureServiceFabricClusterConfiguration describes an Azure Service Fabric Cluster

type AzureServiceFabricClusterConfiguration struct {
    // Name - Service Fabric cluster name.
    Name *string `json:"name,omitempty"`
    // ClusterID - Service Fabric cluster identifier.
    ClusterID *string `json:"clusterId,omitempty"`
}

type AzureVMScaleSetConfiguration

AzureVMScaleSetConfiguration describes an Azure Virtual Machine Scale Set

type AzureVMScaleSetConfiguration struct {
    // Name - Virtual Machine Scale Set name
    Name *string `json:"name,omitempty"`
    // InstanceID - Virtual Machine Scale Set instance identifier
    InstanceID *string `json:"instanceId,omitempty"`
    // Deployment - Virtual Machine Scale Set deployment identifier
    Deployment *string `json:"deployment,omitempty"`
    // ResourceID - Unique identifier of the resource.
    ResourceID *string `json:"resourceId,omitempty"`
}

type BaseClient

BaseClient is the base client for Servicemap.

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

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 BasicCoreResource

BasicCoreResource marker resource for the core Service Map resources

type BasicCoreResource interface {
    AsMachine() (*Machine, bool)
    AsProcess() (*Process, bool)
    AsPort() (*Port, bool)
    AsClientGroup() (*ClientGroup, bool)
    AsMachineGroup() (*MachineGroup, bool)
    AsCoreResource() (*CoreResource, bool)
}

type BasicHostingConfiguration

BasicHostingConfiguration describes the hosting configuration of a machine.

type BasicHostingConfiguration interface {
    AsAzureHostingConfiguration() (*AzureHostingConfiguration, bool)
    AsHostingConfiguration() (*HostingConfiguration, bool)
}

type BasicMapRequest

BasicMapRequest specifies the contents of request to generate a map.

type BasicMapRequest interface {
    AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)
    AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)
    AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)
    AsMachineListMapRequest() (*MachineListMapRequest, bool)
    AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)
    AsMapRequest() (*MapRequest, bool)
}

type BasicMultipleMachinesMapRequest

BasicMultipleMachinesMapRequest provides a base class for describing map requests for a collection of machines

type BasicMultipleMachinesMapRequest interface {
    AsMachineListMapRequest() (*MachineListMapRequest, bool)
    AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)
    AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)
}

type BasicProcessHostingConfiguration

BasicProcessHostingConfiguration describes the hosting configuration of a process.

type BasicProcessHostingConfiguration interface {
    AsAzureProcessHostingConfiguration() (*AzureProcessHostingConfiguration, bool)
    AsProcessHostingConfiguration() (*ProcessHostingConfiguration, bool)
}

type BasicRelationship

BasicRelationship a typed relationship between two entities.

type BasicRelationship interface {
    AsConnection() (*Connection, bool)
    AsAcceptor() (*Acceptor, bool)
    AsRelationship() (*Relationship, bool)
}

type BasicResourceReference

BasicResourceReference represents a reference to another resource.

type BasicResourceReference interface {
    AsMachineReference() (*MachineReference, bool)
    AsProcessReference() (*ProcessReference, bool)
    AsPortReference() (*PortReference, bool)
    AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)
    AsClientGroupReference() (*ClientGroupReference, bool)
    AsResourceReference() (*ResourceReference, bool)
}

type Bitness

Bitness enumerates the values for bitness.

type Bitness string
const (
    // SixFourbit ...
    SixFourbit Bitness = "64bit"
    // ThreeTwobit ...
    ThreeTwobit Bitness = "32bit"
)

func PossibleBitnessValues

func PossibleBitnessValues() []Bitness

PossibleBitnessValues returns an array of possible values for the Bitness const type.

type ClientGroup

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

type ClientGroup struct {
    autorest.Response `json:"-"`
    // ClientGroupProperties - Resource properties.
    *ClientGroupProperties `json:"properties,omitempty"`
    // Etag - Resource ETAG.
    Etag *string `json:"etag,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Kind - Possible values include: 'KindCoreResource', 'KindMachine', 'KindProcess', 'KindPort', 'KindClientGroup', 'KindMachineGroup'
    Kind KindBasicCoreResource `json:"kind,omitempty"`
}

func (ClientGroup) AsBasicCoreResource

func (cg ClientGroup) AsBasicCoreResource() (BasicCoreResource, bool)

AsBasicCoreResource is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsClientGroup

func (cg ClientGroup) AsClientGroup() (*ClientGroup, bool)

AsClientGroup is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsCoreResource

func (cg ClientGroup) AsCoreResource() (*CoreResource, bool)

AsCoreResource is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsMachine

func (cg ClientGroup) AsMachine() (*Machine, bool)

AsMachine is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsMachineGroup

func (cg ClientGroup) AsMachineGroup() (*MachineGroup, bool)

AsMachineGroup is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsPort

func (cg ClientGroup) AsPort() (*Port, bool)

AsPort is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsProcess

func (cg ClientGroup) AsProcess() (*Process, bool)

AsProcess is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) MarshalJSON

func (cg ClientGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClientGroup.

func (*ClientGroup) UnmarshalJSON

func (cg *ClientGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClientGroup struct.

type ClientGroupMember

ClientGroupMember represents a member of a client group

type ClientGroupMember struct {
    // ClientGroupMemberProperties - Resource properties.
    *ClientGroupMemberProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (ClientGroupMember) MarshalJSON

func (cgm ClientGroupMember) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClientGroupMember.

func (*ClientGroupMember) UnmarshalJSON

func (cgm *ClientGroupMember) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClientGroupMember struct.

type ClientGroupMemberProperties

ClientGroupMemberProperties resource properties.

type ClientGroupMemberProperties struct {
    // IPAddress - IP address.
    IPAddress *string `json:"ipAddress,omitempty"`
    // Port - Port into which this client connected
    Port *PortReference `json:"port,omitempty"`
    // Processes - Processes accepting on the above port that received connections from this client.
    Processes *[]ProcessReference `json:"processes,omitempty"`
}

type ClientGroupMembersCollection

ClientGroupMembersCollection collection of ClientGroupMember resources.

type ClientGroupMembersCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of ClientGroupMember resources.
    Value *[]ClientGroupMember `json:"value,omitempty"`
    // NextLink - The URL to the next set of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ClientGroupMembersCollection) IsEmpty

func (cgmc ClientGroupMembersCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ClientGroupMembersCollectionIterator

ClientGroupMembersCollectionIterator provides access to a complete listing of ClientGroupMember values.

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

func NewClientGroupMembersCollectionIterator

func NewClientGroupMembersCollectionIterator(page ClientGroupMembersCollectionPage) ClientGroupMembersCollectionIterator

Creates a new instance of the ClientGroupMembersCollectionIterator type.

func (*ClientGroupMembersCollectionIterator) Next

func (iter *ClientGroupMembersCollectionIterator) 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 (*ClientGroupMembersCollectionIterator) NextWithContext

func (iter *ClientGroupMembersCollectionIterator) 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 (ClientGroupMembersCollectionIterator) NotDone

func (iter ClientGroupMembersCollectionIterator) NotDone() bool

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

func (ClientGroupMembersCollectionIterator) Response

func (iter ClientGroupMembersCollectionIterator) Response() ClientGroupMembersCollection

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

func (ClientGroupMembersCollectionIterator) Value

func (iter ClientGroupMembersCollectionIterator) Value() ClientGroupMember

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

type ClientGroupMembersCollectionPage

ClientGroupMembersCollectionPage contains a page of ClientGroupMember values.

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

func NewClientGroupMembersCollectionPage

func NewClientGroupMembersCollectionPage(cur ClientGroupMembersCollection, getNextPage func(context.Context, ClientGroupMembersCollection) (ClientGroupMembersCollection, error)) ClientGroupMembersCollectionPage

Creates a new instance of the ClientGroupMembersCollectionPage type.

func (*ClientGroupMembersCollectionPage) Next

func (page *ClientGroupMembersCollectionPage) 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 (*ClientGroupMembersCollectionPage) NextWithContext

func (page *ClientGroupMembersCollectionPage) 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 (ClientGroupMembersCollectionPage) NotDone

func (page ClientGroupMembersCollectionPage) NotDone() bool

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

func (ClientGroupMembersCollectionPage) Response

func (page ClientGroupMembersCollectionPage) Response() ClientGroupMembersCollection

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

func (ClientGroupMembersCollectionPage) Values

func (page ClientGroupMembersCollectionPage) Values() []ClientGroupMember

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

type ClientGroupMembersCount

ClientGroupMembersCount specifies the number of members in a client group.

type ClientGroupMembersCount struct {
    autorest.Response `json:"-"`
    // StartTime - Membership interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Membership interval start time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // GroupID - Client Group URI.
    GroupID *string `json:"groupId,omitempty"`
    // Count - Number of members in the client group. Use this value together with the value of ```accuracy```. If accuracy is `exact` then the value represents the actual number of members in the cloud. When accuracy is `estimated`, the actual number of members is larger than the value of ```count```.
    Count *int32 `json:"count,omitempty"`
    // Accuracy - Accuracy of the reported count. Possible values include: 'Actual', 'Estimated'
    Accuracy Accuracy `json:"accuracy,omitempty"`
}

type ClientGroupProperties

ClientGroupProperties resource properties.

type ClientGroupProperties struct {
    // ClientsOf - Reference to the resource whose clients are represented by this group.
    ClientsOf BasicResourceReference `json:"clientsOf,omitempty"`
}

func (*ClientGroupProperties) UnmarshalJSON

func (cg *ClientGroupProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClientGroupProperties struct.

type ClientGroupReference

ClientGroupReference reference to a client group.

type ClientGroupReference struct {
    // ID - Resource URI.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type qualifier.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Kind - Possible values include: 'KindResourceReference', 'KindRefmachine', 'KindRefprocess', 'KindRefport', 'KindRefmachinewithhints', 'KindRefclientgroup'
    Kind Kind `json:"kind,omitempty"`
}

func (ClientGroupReference) AsBasicResourceReference

func (cgr ClientGroupReference) AsBasicResourceReference() (BasicResourceReference, bool)

AsBasicResourceReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsClientGroupReference

func (cgr ClientGroupReference) AsClientGroupReference() (*ClientGroupReference, bool)

AsClientGroupReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsMachineReference

func (cgr ClientGroupReference) AsMachineReference() (*MachineReference, bool)

AsMachineReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsMachineReferenceWithHints

func (cgr ClientGroupReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)

AsMachineReferenceWithHints is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsPortReference

func (cgr ClientGroupReference) AsPortReference() (*PortReference, bool)

AsPortReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsProcessReference

func (cgr ClientGroupReference) AsProcessReference() (*ProcessReference, bool)

AsProcessReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsResourceReference

func (cgr ClientGroupReference) AsResourceReference() (*ResourceReference, bool)

AsResourceReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) MarshalJSON

func (cgr ClientGroupReference) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClientGroupReference.

type ClientGroupsClient

ClientGroupsClient is the service Map API Reference

type ClientGroupsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ClientGroupsClient) Get

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

Get retrieves the specified client group Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. clientGroupName - client Group resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - 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(ctx context.Context, 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. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. clientGroupName - client Group resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time, top *int32) (result ClientGroupMembersCollectionPage, err error)

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

func (ClientGroupsClient) ListMembersComplete

func (client ClientGroupsClient) ListMembersComplete(ctx context.Context, resourceGroupName string, workspaceName string, clientGroupName string, startTime *date.Time, endTime *date.Time, top *int32) (result ClientGroupMembersCollectionIterator, err error)

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

func (ClientGroupsClient) ListMembersPreparer

func (client ClientGroupsClient) ListMembersPreparer(ctx context.Context, 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

Connection a network connection.

type Connection struct {
    *ConnectionProperties `json:"properties,omitempty"`
    // Kind - Possible values include: 'KindRelationship', 'KindRelconnection', 'KindRelacceptor'
    Kind KindBasicRelationship `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (Connection) AsAcceptor

func (c Connection) AsAcceptor() (*Acceptor, bool)

AsAcceptor is the BasicRelationship implementation for Connection.

func (Connection) AsBasicRelationship

func (c Connection) AsBasicRelationship() (BasicRelationship, bool)

AsBasicRelationship is the BasicRelationship implementation for Connection.

func (Connection) AsConnection

func (c Connection) AsConnection() (*Connection, bool)

AsConnection is the BasicRelationship implementation for Connection.

func (Connection) AsRelationship

func (c Connection) AsRelationship() (*Relationship, bool)

AsRelationship is the BasicRelationship implementation for Connection.

func (Connection) MarshalJSON

func (c Connection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Connection.

func (*Connection) UnmarshalJSON

func (c *Connection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Connection struct.

type ConnectionCollection

ConnectionCollection collection of Connection resources.

type ConnectionCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of Connection resources.
    Value *[]Connection `json:"value,omitempty"`
    // NextLink - The URL to the next set of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ConnectionCollection) IsEmpty

func (cc ConnectionCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionCollectionIterator

ConnectionCollectionIterator provides access to a complete listing of Connection values.

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

func NewConnectionCollectionIterator

func NewConnectionCollectionIterator(page ConnectionCollectionPage) ConnectionCollectionIterator

Creates a new instance of the ConnectionCollectionIterator type.

func (*ConnectionCollectionIterator) Next

func (iter *ConnectionCollectionIterator) 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 (*ConnectionCollectionIterator) NextWithContext

func (iter *ConnectionCollectionIterator) 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 (ConnectionCollectionIterator) NotDone

func (iter ConnectionCollectionIterator) NotDone() bool

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

func (ConnectionCollectionIterator) Response

func (iter ConnectionCollectionIterator) Response() ConnectionCollection

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

func (ConnectionCollectionIterator) Value

func (iter ConnectionCollectionIterator) Value() Connection

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

type ConnectionCollectionPage

ConnectionCollectionPage contains a page of Connection values.

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

func NewConnectionCollectionPage

func NewConnectionCollectionPage(cur ConnectionCollection, getNextPage func(context.Context, ConnectionCollection) (ConnectionCollection, error)) ConnectionCollectionPage

Creates a new instance of the ConnectionCollectionPage type.

func (*ConnectionCollectionPage) Next

func (page *ConnectionCollectionPage) 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 (*ConnectionCollectionPage) NextWithContext

func (page *ConnectionCollectionPage) 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 (ConnectionCollectionPage) NotDone

func (page ConnectionCollectionPage) NotDone() bool

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

func (ConnectionCollectionPage) Response

func (page ConnectionCollectionPage) Response() ConnectionCollection

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

func (ConnectionCollectionPage) Values

func (page ConnectionCollectionPage) Values() []Connection

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

type ConnectionFailureState

ConnectionFailureState enumerates the values for connection failure state.

type ConnectionFailureState string
const (
    // Failed ...
    Failed ConnectionFailureState = "failed"
    // Mixed ...
    Mixed ConnectionFailureState = "mixed"
    // Ok ...
    Ok ConnectionFailureState = "ok"
)

func PossibleConnectionFailureStateValues

func PossibleConnectionFailureStateValues() []ConnectionFailureState

PossibleConnectionFailureStateValues returns an array of possible values for the ConnectionFailureState const type.

type ConnectionProperties

ConnectionProperties properties for a connection resource.

type ConnectionProperties struct {
    // ServerPort - Reference to the server port via which this connection has been established.
    ServerPort *PortReference `json:"serverPort,omitempty"`
    // FailureState - Specifies whether there are only successful, failed or a mixture of both connections represented by this resource. Possible values include: 'Ok', 'Failed', 'Mixed'
    FailureState ConnectionFailureState `json:"failureState,omitempty"`
    // Source - Source resource of the relationship.
    Source BasicResourceReference `json:"source,omitempty"`
    // Destination - Destination resource of the relationship.
    Destination BasicResourceReference `json:"destination,omitempty"`
    // StartTime - Relationship start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Relationship end time.
    EndTime *date.Time `json:"endTime,omitempty"`
}

func (*ConnectionProperties) UnmarshalJSON

func (cp *ConnectionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionProperties struct.

type CoreResource

CoreResource marker resource for the core Service Map resources

type CoreResource struct {
    // Etag - Resource ETAG.
    Etag *string `json:"etag,omitempty"`
    // Kind - Possible values include: 'KindCoreResource', 'KindMachine', 'KindProcess', 'KindPort', 'KindClientGroup', 'KindMachineGroup'
    Kind KindBasicCoreResource `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (CoreResource) AsBasicCoreResource

func (cr CoreResource) AsBasicCoreResource() (BasicCoreResource, bool)

AsBasicCoreResource is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsClientGroup

func (cr CoreResource) AsClientGroup() (*ClientGroup, bool)

AsClientGroup is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsCoreResource

func (cr CoreResource) AsCoreResource() (*CoreResource, bool)

AsCoreResource is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsMachine

func (cr CoreResource) AsMachine() (*Machine, bool)

AsMachine is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsMachineGroup

func (cr CoreResource) AsMachineGroup() (*MachineGroup, bool)

AsMachineGroup is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsPort

func (cr CoreResource) AsPort() (*Port, bool)

AsPort is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsProcess

func (cr CoreResource) AsProcess() (*Process, bool)

AsProcess is the BasicCoreResource implementation for CoreResource.

func (CoreResource) MarshalJSON

func (cr CoreResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CoreResource.

type Error

Error error details.

type Error struct {
    // Code - Error code identifying the specific error.
    Code *string `json:"code,omitempty"`
    // Message - Error message in the caller's locale.
    Message *string `json:"message,omitempty"`
}

type ErrorResponse

ErrorResponse an error response from the API.

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

type HostingConfiguration

HostingConfiguration describes the hosting configuration of a machine.

type HostingConfiguration struct {
    // Provider - The hosting provider of the VM. Possible values include: 'Azure'
    Provider Provider `json:"provider,omitempty"`
    // Kind - Possible values include: 'KindHostingConfiguration', 'KindProviderazure'
    Kind KindBasicHostingConfiguration `json:"kind,omitempty"`
}

func (HostingConfiguration) AsAzureHostingConfiguration

func (hc HostingConfiguration) AsAzureHostingConfiguration() (*AzureHostingConfiguration, bool)

AsAzureHostingConfiguration is the BasicHostingConfiguration implementation for HostingConfiguration.

func (HostingConfiguration) AsBasicHostingConfiguration

func (hc HostingConfiguration) AsBasicHostingConfiguration() (BasicHostingConfiguration, bool)

AsBasicHostingConfiguration is the BasicHostingConfiguration implementation for HostingConfiguration.

func (HostingConfiguration) AsHostingConfiguration

func (hc HostingConfiguration) AsHostingConfiguration() (*HostingConfiguration, bool)

AsHostingConfiguration is the BasicHostingConfiguration implementation for HostingConfiguration.

func (HostingConfiguration) MarshalJSON

func (hc HostingConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HostingConfiguration.

type HypervisorConfiguration

HypervisorConfiguration describes the hypervisor configuration of a machine.

type HypervisorConfiguration struct {
    // HypervisorType - Specifies the virtualization technology used by the hypervisor (hyperv, vmware, etc.). Possible values include: 'HypervisorTypeUnknown', 'HypervisorTypeHyperv'
    HypervisorType HypervisorType `json:"hypervisorType,omitempty"`
    // NativeHostMachineID - The unique identifier of the hypervisor machine as reported by the underlying virtualization system.
    NativeHostMachineID *string `json:"nativeHostMachineId,omitempty"`
}

type HypervisorType

HypervisorType enumerates the values for hypervisor type.

type HypervisorType string
const (
    // HypervisorTypeHyperv ...
    HypervisorTypeHyperv HypervisorType = "hyperv"
    // HypervisorTypeUnknown ...
    HypervisorTypeUnknown HypervisorType = "unknown"
)

func PossibleHypervisorTypeValues

func PossibleHypervisorTypeValues() []HypervisorType

PossibleHypervisorTypeValues returns an array of possible values for the HypervisorType const type.

type ImageConfiguration

ImageConfiguration describes the VM image of a machine.

type ImageConfiguration struct {
    // Publisher - Publisher of the VM image.
    Publisher *string `json:"publisher,omitempty"`
    // Offering - Offering of the VM image.
    Offering *string `json:"offering,omitempty"`
    // Sku - SKU of the VM image.
    Sku *string `json:"sku,omitempty"`
    // Version - Version of the VM image.
    Version *string `json:"version,omitempty"`
}

type Ipv4NetworkInterface

Ipv4NetworkInterface describes an IPv4 network interface.

type Ipv4NetworkInterface struct {
    // IPAddress - IPv4 address.
    IPAddress *string `json:"ipAddress,omitempty"`
    // SubnetMask - IPv4 subnet mask.
    SubnetMask *string `json:"subnetMask,omitempty"`
}

type Ipv6NetworkInterface

Ipv6NetworkInterface describes an IPv6 network interface.

type Ipv6NetworkInterface struct {
    // IPAddress - IPv6 address.
    IPAddress *string `json:"ipAddress,omitempty"`
}

type Kind

Kind enumerates the values for kind.

type Kind string
const (
    // KindRefclientgroup ...
    KindRefclientgroup Kind = "ref:clientgroup"
    // KindRefmachine ...
    KindRefmachine Kind = "ref:machine"
    // KindRefmachinewithhints ...
    KindRefmachinewithhints Kind = "ref:machinewithhints"
    // KindRefport ...
    KindRefport Kind = "ref:port"
    // KindRefprocess ...
    KindRefprocess Kind = "ref:process"
    // KindResourceReference ...
    KindResourceReference Kind = "ResourceReference"
)

func PossibleKindValues

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type KindBasicCoreResource

KindBasicCoreResource enumerates the values for kind basic core resource.

type KindBasicCoreResource string
const (
    // KindClientGroup ...
    KindClientGroup KindBasicCoreResource = "clientGroup"
    // KindCoreResource ...
    KindCoreResource KindBasicCoreResource = "CoreResource"
    // KindMachine ...
    KindMachine KindBasicCoreResource = "machine"
    // KindMachineGroup ...
    KindMachineGroup KindBasicCoreResource = "machineGroup"
    // KindPort ...
    KindPort KindBasicCoreResource = "port"
    // KindProcess ...
    KindProcess KindBasicCoreResource = "process"
)

func PossibleKindBasicCoreResourceValues

func PossibleKindBasicCoreResourceValues() []KindBasicCoreResource

PossibleKindBasicCoreResourceValues returns an array of possible values for the KindBasicCoreResource const type.

type KindBasicHostingConfiguration

KindBasicHostingConfiguration enumerates the values for kind basic hosting configuration.

type KindBasicHostingConfiguration string
const (
    // KindHostingConfiguration ...
    KindHostingConfiguration KindBasicHostingConfiguration = "HostingConfiguration"
    // KindProviderazure ...
    KindProviderazure KindBasicHostingConfiguration = "provider:azure"
)

func PossibleKindBasicHostingConfigurationValues

func PossibleKindBasicHostingConfigurationValues() []KindBasicHostingConfiguration

PossibleKindBasicHostingConfigurationValues returns an array of possible values for the KindBasicHostingConfiguration const type.

type KindBasicMapRequest

KindBasicMapRequest enumerates the values for kind basic map request.

type KindBasicMapRequest string
const (
    // KindMapmachineGroupDependency ...
    KindMapmachineGroupDependency KindBasicMapRequest = "map:machine-group-dependency"
    // KindMapmachineListDependency ...
    KindMapmachineListDependency KindBasicMapRequest = "map:machine-list-dependency"
    // KindMapRequest ...
    KindMapRequest KindBasicMapRequest = "MapRequest"
    // KindMapsingleMachineDependency ...
    KindMapsingleMachineDependency KindBasicMapRequest = "map:single-machine-dependency"
    // KindMultipleMachinesMapRequest ...
    KindMultipleMachinesMapRequest KindBasicMapRequest = "MultipleMachinesMapRequest"
)

func PossibleKindBasicMapRequestValues

func PossibleKindBasicMapRequestValues() []KindBasicMapRequest

PossibleKindBasicMapRequestValues returns an array of possible values for the KindBasicMapRequest const type.

type KindBasicProcessHostingConfiguration

KindBasicProcessHostingConfiguration enumerates the values for kind basic process hosting configuration.

type KindBasicProcessHostingConfiguration string
const (
    // KindBasicProcessHostingConfigurationKindProcessHostingConfiguration ...
    KindBasicProcessHostingConfigurationKindProcessHostingConfiguration KindBasicProcessHostingConfiguration = "ProcessHostingConfiguration"
    // KindBasicProcessHostingConfigurationKindProviderazure ...
    KindBasicProcessHostingConfigurationKindProviderazure KindBasicProcessHostingConfiguration = "provider:azure"
)

func PossibleKindBasicProcessHostingConfigurationValues

func PossibleKindBasicProcessHostingConfigurationValues() []KindBasicProcessHostingConfiguration

PossibleKindBasicProcessHostingConfigurationValues returns an array of possible values for the KindBasicProcessHostingConfiguration const type.

type KindBasicRelationship

KindBasicRelationship enumerates the values for kind basic relationship.

type KindBasicRelationship string
const (
    // KindRelacceptor ...
    KindRelacceptor KindBasicRelationship = "rel:acceptor"
    // KindRelationship ...
    KindRelationship KindBasicRelationship = "Relationship"
    // KindRelconnection ...
    KindRelconnection KindBasicRelationship = "rel:connection"
)

func PossibleKindBasicRelationshipValues

func PossibleKindBasicRelationshipValues() []KindBasicRelationship

PossibleKindBasicRelationshipValues returns an array of possible values for the KindBasicRelationship const type.

type Liveness

Liveness specifies the contents of a check liveness response.

type Liveness struct {
    autorest.Response `json:"-"`
    // StartTime - Liveness interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Liveness interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Live - `true` if the resource is live during [startTime, endTime], `false` otherwise
    Live *bool `json:"live,omitempty"`
}

type Machine

Machine 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 Machine struct {
    autorest.Response `json:"-"`
    // MachineProperties - Resource properties.
    *MachineProperties `json:"properties,omitempty"`
    // Etag - Resource ETAG.
    Etag *string `json:"etag,omitempty"`
    // Kind - Possible values include: 'KindCoreResource', 'KindMachine', 'KindProcess', 'KindPort', 'KindClientGroup', 'KindMachineGroup'
    Kind KindBasicCoreResource `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (Machine) AsBasicCoreResource

func (mVar Machine) AsBasicCoreResource() (BasicCoreResource, bool)

AsBasicCoreResource is the BasicCoreResource implementation for Machine.

func (Machine) AsClientGroup

func (mVar Machine) AsClientGroup() (*ClientGroup, bool)

AsClientGroup is the BasicCoreResource implementation for Machine.

func (Machine) AsCoreResource

func (mVar Machine) AsCoreResource() (*CoreResource, bool)

AsCoreResource is the BasicCoreResource implementation for Machine.

func (Machine) AsMachine

func (mVar Machine) AsMachine() (*Machine, bool)

AsMachine is the BasicCoreResource implementation for Machine.

func (Machine) AsMachineGroup

func (mVar Machine) AsMachineGroup() (*MachineGroup, bool)

AsMachineGroup is the BasicCoreResource implementation for Machine.

func (Machine) AsPort

func (mVar Machine) AsPort() (*Port, bool)

AsPort is the BasicCoreResource implementation for Machine.

func (Machine) AsProcess

func (mVar Machine) AsProcess() (*Process, bool)

AsProcess is the BasicCoreResource implementation for 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 MachineCollection

MachineCollection collection of Machine resources.

type MachineCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of Machine resources.
    Value *[]Machine `json:"value,omitempty"`
    // NextLink - The URL to the next set of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (MachineCollection) IsEmpty

func (mc MachineCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MachineCollectionIterator

MachineCollectionIterator provides access to a complete listing of Machine values.

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

func NewMachineCollectionIterator

func NewMachineCollectionIterator(page MachineCollectionPage) MachineCollectionIterator

Creates a new instance of the MachineCollectionIterator type.

func (*MachineCollectionIterator) Next

func (iter *MachineCollectionIterator) 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 (*MachineCollectionIterator) NextWithContext

func (iter *MachineCollectionIterator) 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 (MachineCollectionIterator) NotDone

func (iter MachineCollectionIterator) NotDone() bool

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

func (MachineCollectionIterator) Response

func (iter MachineCollectionIterator) Response() MachineCollection

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

func (MachineCollectionIterator) Value

func (iter MachineCollectionIterator) Value() Machine

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

type MachineCollectionPage

MachineCollectionPage contains a page of Machine values.

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

func NewMachineCollectionPage

func NewMachineCollectionPage(cur MachineCollection, getNextPage func(context.Context, MachineCollection) (MachineCollection, error)) MachineCollectionPage

Creates a new instance of the MachineCollectionPage type.

func (*MachineCollectionPage) Next

func (page *MachineCollectionPage) 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 (*MachineCollectionPage) NextWithContext

func (page *MachineCollectionPage) 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 (MachineCollectionPage) NotDone

func (page MachineCollectionPage) NotDone() bool

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

func (MachineCollectionPage) Response

func (page MachineCollectionPage) Response() MachineCollection

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

func (MachineCollectionPage) Values

func (page MachineCollectionPage) Values() []Machine

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

type MachineCountsByOperatingSystem

MachineCountsByOperatingSystem machines by operating system.

type MachineCountsByOperatingSystem struct {
    // Windows - Number of live Windows machines.
    Windows *int32 `json:"windows,omitempty"`
    // Linux - Number of live Linux machines.
    Linux *int32 `json:"linux,omitempty"`
}

type MachineGroup

MachineGroup a user-defined logical grouping of machines.

type MachineGroup struct {
    autorest.Response `json:"-"`
    // MachineGroupProperties - Resource properties.
    *MachineGroupProperties `json:"properties,omitempty"`
    // Etag - Resource ETAG.
    Etag *string `json:"etag,omitempty"`
    // Kind - Possible values include: 'KindCoreResource', 'KindMachine', 'KindProcess', 'KindPort', 'KindClientGroup', 'KindMachineGroup'
    Kind KindBasicCoreResource `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (MachineGroup) AsBasicCoreResource

func (mg MachineGroup) AsBasicCoreResource() (BasicCoreResource, bool)

AsBasicCoreResource is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsClientGroup

func (mg MachineGroup) AsClientGroup() (*ClientGroup, bool)

AsClientGroup is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsCoreResource

func (mg MachineGroup) AsCoreResource() (*CoreResource, bool)

AsCoreResource is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsMachine

func (mg MachineGroup) AsMachine() (*Machine, bool)

AsMachine is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsMachineGroup

func (mg MachineGroup) AsMachineGroup() (*MachineGroup, bool)

AsMachineGroup is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsPort

func (mg MachineGroup) AsPort() (*Port, bool)

AsPort is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsProcess

func (mg MachineGroup) AsProcess() (*Process, bool)

AsProcess is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) MarshalJSON

func (mg MachineGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineGroup.

func (*MachineGroup) UnmarshalJSON

func (mg *MachineGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MachineGroup struct.

type MachineGroupCollection

MachineGroupCollection collection of Machine Group resources.

type MachineGroupCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of Machine Group resources.
    Value *[]MachineGroup `json:"value,omitempty"`
    // NextLink - The URL to the next set of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (MachineGroupCollection) IsEmpty

func (mgc MachineGroupCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MachineGroupCollectionIterator

MachineGroupCollectionIterator provides access to a complete listing of MachineGroup values.

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

func NewMachineGroupCollectionIterator

func NewMachineGroupCollectionIterator(page MachineGroupCollectionPage) MachineGroupCollectionIterator

Creates a new instance of the MachineGroupCollectionIterator type.

func (*MachineGroupCollectionIterator) Next

func (iter *MachineGroupCollectionIterator) 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 (*MachineGroupCollectionIterator) NextWithContext

func (iter *MachineGroupCollectionIterator) 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 (MachineGroupCollectionIterator) NotDone

func (iter MachineGroupCollectionIterator) NotDone() bool

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

func (MachineGroupCollectionIterator) Response

func (iter MachineGroupCollectionIterator) Response() MachineGroupCollection

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

func (MachineGroupCollectionIterator) Value

func (iter MachineGroupCollectionIterator) Value() MachineGroup

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

type MachineGroupCollectionPage

MachineGroupCollectionPage contains a page of MachineGroup values.

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

func NewMachineGroupCollectionPage

func NewMachineGroupCollectionPage(cur MachineGroupCollection, getNextPage func(context.Context, MachineGroupCollection) (MachineGroupCollection, error)) MachineGroupCollectionPage

Creates a new instance of the MachineGroupCollectionPage type.

func (*MachineGroupCollectionPage) Next

func (page *MachineGroupCollectionPage) 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 (*MachineGroupCollectionPage) NextWithContext

func (page *MachineGroupCollectionPage) 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 (MachineGroupCollectionPage) NotDone

func (page MachineGroupCollectionPage) NotDone() bool

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

func (MachineGroupCollectionPage) Response

func (page MachineGroupCollectionPage) Response() MachineGroupCollection

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

func (MachineGroupCollectionPage) Values

func (page MachineGroupCollectionPage) Values() []MachineGroup

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

type MachineGroupMapRequest

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

type MachineGroupMapRequest struct {
    // MachineGroupID - URI of machine group resource for which to generate the map.
    MachineGroupID *string `json:"machineGroupId,omitempty"`
    // FilterProcesses - If true, only processes between specified machines will be included. Any connections in or out of those processes will be included.
    FilterProcesses *bool `json:"filterProcesses,omitempty"`
    // StartTime - Map interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Map interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Kind - Possible values include: 'KindMapRequest', 'KindMapsingleMachineDependency', 'KindMultipleMachinesMapRequest', 'KindMapmachineListDependency', 'KindMapmachineGroupDependency'
    Kind KindBasicMapRequest `json:"kind,omitempty"`
}

func (MachineGroupMapRequest) AsBasicMapRequest

func (mgmr MachineGroupMapRequest) AsBasicMapRequest() (BasicMapRequest, bool)

AsBasicMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsBasicMultipleMachinesMapRequest

func (mgmr MachineGroupMapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsMachineGroupMapRequest

func (mgmr MachineGroupMapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)

AsMachineGroupMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsMachineListMapRequest

func (mgmr MachineGroupMapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)

AsMachineListMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsMapRequest

func (mgmr MachineGroupMapRequest) AsMapRequest() (*MapRequest, bool)

AsMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsMultipleMachinesMapRequest

func (mgmr MachineGroupMapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsSingleMachineDependencyMapRequest

func (mgmr MachineGroupMapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) MarshalJSON

func (mgmr MachineGroupMapRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineGroupMapRequest.

type MachineGroupProperties

MachineGroupProperties resource properties.

type MachineGroupProperties struct {
    // GroupType - Type of the machine group. Possible values include: 'MachineGroupTypeUnknown', 'MachineGroupTypeAzureCs', 'MachineGroupTypeAzureSf', 'MachineGroupTypeAzureVmss', 'MachineGroupTypeUserStatic'
    GroupType MachineGroupType `json:"groupType,omitempty"`
    // DisplayName - User defined name for the group
    DisplayName *string `json:"displayName,omitempty"`
    // Count - Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle.
    Count *int32 `json:"count,omitempty"`
    // Machines - References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated.
    Machines *[]MachineReferenceWithHints `json:"machines,omitempty"`
}

type MachineGroupType

MachineGroupType enumerates the values for machine group type.

type MachineGroupType string
const (
    // MachineGroupTypeAzureCs ...
    MachineGroupTypeAzureCs MachineGroupType = "azure-cs"
    // MachineGroupTypeAzureSf ...
    MachineGroupTypeAzureSf MachineGroupType = "azure-sf"
    // MachineGroupTypeAzureVmss ...
    MachineGroupTypeAzureVmss MachineGroupType = "azure-vmss"
    // MachineGroupTypeUnknown ...
    MachineGroupTypeUnknown MachineGroupType = "unknown"
    // MachineGroupTypeUserStatic ...
    MachineGroupTypeUserStatic MachineGroupType = "user-static"
)

func PossibleMachineGroupTypeValues

func PossibleMachineGroupTypeValues() []MachineGroupType

PossibleMachineGroupTypeValues returns an array of possible values for the MachineGroupType const type.

type MachineGroupsClient

MachineGroupsClient is the service Map API Reference

type MachineGroupsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MachineGroupsClient) Create

func (client MachineGroupsClient) Create(ctx context.Context, resourceGroupName string, workspaceName string, machineGroup MachineGroup) (result MachineGroup, err error)

Create creates a new machine group. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineGroup - machine Group resource to create.

func (MachineGroupsClient) CreatePreparer

func (client MachineGroupsClient) CreatePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string) (result autorest.Response, err error)

Delete deletes the specified Machine Group. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineGroupName - machine Group resource name.

func (MachineGroupsClient) DeletePreparer

func (client MachineGroupsClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string, startTime *date.Time, endTime *date.Time) (result MachineGroup, err error)

Get returns the specified machine group as it existed during the specified time interval. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineGroupName - machine Group resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (MachineGroupsClient) GetPreparer

func (client MachineGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string, startTime *date.Time, endTime *date.Time) (*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(ctx context.Context, resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (result MachineGroupCollectionPage, err error)

ListByWorkspace returns all machine groups during the specified time interval. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (MachineGroupsClient) ListByWorkspaceComplete

func (client MachineGroupsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (result MachineGroupCollectionIterator, err error)

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

func (MachineGroupsClient) ListByWorkspacePreparer

func (client MachineGroupsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string, startTime *date.Time, endTime *date.Time) (*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(ctx context.Context, resourceGroupName string, workspaceName string, machineGroupName string, machineGroup MachineGroup) (result MachineGroup, err error)

Update updates a machine group. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineGroupName - machine Group resource name. machineGroup - machine Group resource to update.

func (MachineGroupsClient) UpdatePreparer

func (client MachineGroupsClient) UpdatePreparer(ctx context.Context, 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 MachineListMapRequest

MachineListMapRequest specifies the computation of a one hope dependency map for a list of machines. The resulting map includes all direct dependencies for the specified machines.

type MachineListMapRequest struct {
    // MachineIds - a list of URIs of machine resources for which to generate the map.
    MachineIds *[]string `json:"machineIds,omitempty"`
    // FilterProcesses - If true, only processes between specified machines will be included. Any connections in or out of those processes will be included.
    FilterProcesses *bool `json:"filterProcesses,omitempty"`
    // StartTime - Map interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Map interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Kind - Possible values include: 'KindMapRequest', 'KindMapsingleMachineDependency', 'KindMultipleMachinesMapRequest', 'KindMapmachineListDependency', 'KindMapmachineGroupDependency'
    Kind KindBasicMapRequest `json:"kind,omitempty"`
}

func (MachineListMapRequest) AsBasicMapRequest

func (mlmr MachineListMapRequest) AsBasicMapRequest() (BasicMapRequest, bool)

AsBasicMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsBasicMultipleMachinesMapRequest

func (mlmr MachineListMapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsMachineGroupMapRequest

func (mlmr MachineListMapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)

AsMachineGroupMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsMachineListMapRequest

func (mlmr MachineListMapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)

AsMachineListMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsMapRequest

func (mlmr MachineListMapRequest) AsMapRequest() (*MapRequest, bool)

AsMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsMultipleMachinesMapRequest

func (mlmr MachineListMapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsSingleMachineDependencyMapRequest

func (mlmr MachineListMapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) MarshalJSON

func (mlmr MachineListMapRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineListMapRequest.

type MachineProperties

MachineProperties resource properties.

type MachineProperties struct {
    // Timestamp - UTC date and time when this resource was updated in the system.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // MonitoringState - Specifies whether the machine is actively monitored or discovered. Possible values include: 'Monitored', 'Discovered'
    MonitoringState MonitoringState `json:"monitoringState,omitempty"`
    // VirtualizationState - Specifies whether the machine is virtualized. Possible values include: 'VirtualizationStateUnknown', 'VirtualizationStatePhysical', 'VirtualizationStateVirtual', 'VirtualizationStateHypervisor'
    VirtualizationState VirtualizationState `json:"virtualizationState,omitempty"`
    // DisplayName - Name to use for display purposes
    DisplayName *string `json:"displayName,omitempty"`
    // ComputerName - Name of the machine, e.g., server
    ComputerName *string `json:"computerName,omitempty"`
    // FullyQualifiedDomainName - Fully-qualified name of the machine, e.g., server.company.com
    FullyQualifiedDomainName *string `json:"fullyQualifiedDomainName,omitempty"`
    // BootTime - UTC date and time when the machine last booted
    BootTime *date.Time `json:"bootTime,omitempty"`
    // Timezone - Timezone of the machine.
    Timezone *Timezone `json:"timezone,omitempty"`
    // Agent - Dependency Agent configuration.
    Agent *AgentConfiguration `json:"agent,omitempty"`
    // Resources - Machine resources (memory, cpu, etc.).
    Resources *MachineResourcesConfiguration `json:"resources,omitempty"`
    // Networking - Network configuration (ips, gateways, dns, etc.)
    Networking *NetworkConfiguration `json:"networking,omitempty"`
    // OperatingSystem - Operating system information.
    OperatingSystem *OperatingSystemConfiguration `json:"operatingSystem,omitempty"`
    // VirtualMachine - Virtualization-related configuration. Present only when `virtualizationState` is `virtual`.
    VirtualMachine *VirtualMachineConfiguration `json:"virtualMachine,omitempty"`
    // Hypervisor - Hypervisor-related configuration. Present only when 'virtualizationState' is `hypervisor`.
    Hypervisor *HypervisorConfiguration `json:"hypervisor,omitempty"`
    // Hosting - Hosting-related configuration. Present if hosting information is discovered for the VM.
    Hosting BasicHostingConfiguration `json:"hosting,omitempty"`
}

func (*MachineProperties) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for MachineProperties struct.

type MachineRebootStatus

MachineRebootStatus enumerates the values for machine reboot status.

type MachineRebootStatus string
const (
    // MachineRebootStatusNotRebooted ...
    MachineRebootStatusNotRebooted MachineRebootStatus = "notRebooted"
    // MachineRebootStatusRebooted ...
    MachineRebootStatusRebooted MachineRebootStatus = "rebooted"
    // MachineRebootStatusUnknown ...
    MachineRebootStatusUnknown MachineRebootStatus = "unknown"
)

func PossibleMachineRebootStatusValues

func PossibleMachineRebootStatusValues() []MachineRebootStatus

PossibleMachineRebootStatusValues returns an array of possible values for the MachineRebootStatus const type.

type MachineReference

MachineReference reference to a machine.

type MachineReference struct {
    // ID - Resource URI.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type qualifier.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Kind - Possible values include: 'KindResourceReference', 'KindRefmachine', 'KindRefprocess', 'KindRefport', 'KindRefmachinewithhints', 'KindRefclientgroup'
    Kind Kind `json:"kind,omitempty"`
}

func (MachineReference) AsBasicResourceReference

func (mr MachineReference) AsBasicResourceReference() (BasicResourceReference, bool)

AsBasicResourceReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsClientGroupReference

func (mr MachineReference) AsClientGroupReference() (*ClientGroupReference, bool)

AsClientGroupReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsMachineReference

func (mr MachineReference) AsMachineReference() (*MachineReference, bool)

AsMachineReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsMachineReferenceWithHints

func (mr MachineReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)

AsMachineReferenceWithHints is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsPortReference

func (mr MachineReference) AsPortReference() (*PortReference, bool)

AsPortReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsProcessReference

func (mr MachineReference) AsProcessReference() (*ProcessReference, bool)

AsProcessReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsResourceReference

func (mr MachineReference) AsResourceReference() (*ResourceReference, bool)

AsResourceReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) MarshalJSON

func (mr MachineReference) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineReference.

type MachineReferenceWithHints

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

type MachineReferenceWithHints struct {
    // MachineReferenceWithHintsProperties - Machine reference with name and os hints.
    *MachineReferenceWithHintsProperties `json:"properties,omitempty"`
    // ID - Resource URI.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type qualifier.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Kind - Possible values include: 'KindResourceReference', 'KindRefmachine', 'KindRefprocess', 'KindRefport', 'KindRefmachinewithhints', 'KindRefclientgroup'
    Kind Kind `json:"kind,omitempty"`
}

func (MachineReferenceWithHints) AsBasicResourceReference

func (mrwh MachineReferenceWithHints) AsBasicResourceReference() (BasicResourceReference, bool)

AsBasicResourceReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsClientGroupReference

func (mrwh MachineReferenceWithHints) AsClientGroupReference() (*ClientGroupReference, bool)

AsClientGroupReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsMachineReference

func (mrwh MachineReferenceWithHints) AsMachineReference() (*MachineReference, bool)

AsMachineReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsMachineReferenceWithHints

func (mrwh MachineReferenceWithHints) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)

AsMachineReferenceWithHints is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsPortReference

func (mrwh MachineReferenceWithHints) AsPortReference() (*PortReference, bool)

AsPortReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsProcessReference

func (mrwh MachineReferenceWithHints) AsProcessReference() (*ProcessReference, bool)

AsProcessReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsResourceReference

func (mrwh MachineReferenceWithHints) AsResourceReference() (*ResourceReference, bool)

AsResourceReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) MarshalJSON

func (mrwh MachineReferenceWithHints) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineReferenceWithHints.

func (*MachineReferenceWithHints) UnmarshalJSON

func (mrwh *MachineReferenceWithHints) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MachineReferenceWithHints struct.

type MachineReferenceWithHintsProperties

MachineReferenceWithHintsProperties machine reference with name and os hints.

type MachineReferenceWithHintsProperties struct {
    // DisplayNameHint - READ-ONLY; Last known display name.
    DisplayNameHint *string `json:"displayNameHint,omitempty"`
    // OsFamilyHint - READ-ONLY; Last known operating system family. Possible values include: 'OperatingSystemFamilyUnknown', 'OperatingSystemFamilyWindows', 'OperatingSystemFamilyLinux', 'OperatingSystemFamilySolaris', 'OperatingSystemFamilyAix'
    OsFamilyHint OperatingSystemFamily `json:"osFamilyHint,omitempty"`
}

func (MachineReferenceWithHintsProperties) MarshalJSON

func (mrwh MachineReferenceWithHintsProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachineReferenceWithHintsProperties.

type MachineResourcesConfiguration

MachineResourcesConfiguration describes the resources of a machine.

type MachineResourcesConfiguration struct {
    // PhysicalMemory - Physical memory in megabytes (MB).
    PhysicalMemory *int32 `json:"physicalMemory,omitempty"`
    // Cpus - Number of CPUs.
    Cpus *int32 `json:"cpus,omitempty"`
    // CPUSpeed - CPU speed in megahertz (Mhz).
    CPUSpeed *int32 `json:"cpuSpeed,omitempty"`
    // CPUSpeedAccuracy - Describes the accuracy of the cpuSpeed field. Possible values include: 'Actual', 'Estimated'
    CPUSpeedAccuracy Accuracy `json:"cpuSpeedAccuracy,omitempty"`
}

type MachinesClient

MachinesClient is the service Map API Reference

type MachinesClient struct {
    BaseClient
}

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) Get

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

Get returns the specified machine. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. timestamp - 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(ctx context.Context, 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. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time, top *int32) (result MachineCollectionPage, 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). Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. live - 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 - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow timestamp - 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 - page size to use. When not specified, the default page size is 100 records.

func (MachinesClient) ListByWorkspaceComplete

func (client MachinesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time, top *int32) (result MachineCollectionIterator, err error)

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

func (MachinesClient) ListByWorkspacePreparer

func (client MachinesClient) ListByWorkspacePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionPage, err error)

ListConnections returns a collection of connections terminating or originating at the specified machine Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (MachinesClient) ListConnectionsComplete

func (client MachinesClient) ListConnectionsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionIterator, err error)

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

func (MachinesClient) ListConnectionsPreparer

func (client MachinesClient) ListConnectionsPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result MachineGroupCollectionPage, err error)

ListMachineGroupMembership returns a collection of machine groups this machine belongs to during the specified time interval. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (MachinesClient) ListMachineGroupMembershipComplete

func (client MachinesClient) ListMachineGroupMembershipComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result MachineGroupCollectionIterator, err error)

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

func (MachinesClient) ListMachineGroupMembershipPreparer

func (client MachinesClient) ListMachineGroupMembershipPreparer(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (*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(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result PortCollectionPage, err error)

ListPorts returns a collection of live ports on the specified machine during the specified time interval. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (MachinesClient) ListPortsComplete

func (client MachinesClient) ListPortsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, startTime *date.Time, endTime *date.Time) (result PortCollectionIterator, err error)

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

func (MachinesClient) ListPortsPreparer

func (client MachinesClient) ListPortsPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time) (result ProcessCollectionPage, 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). Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. live - 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 - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow timestamp - 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) ListProcessesComplete

func (client MachinesClient) ListProcessesComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, live *bool, startTime *date.Time, endTime *date.Time, timestamp *date.Time) (result ProcessCollectionIterator, err error)

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

func (MachinesClient) ListProcessesPreparer

func (client MachinesClient) ListProcessesPreparer(ctx context.Context, 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

MachinesSummary a summary of the machines in the workspace.

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

func (MachinesSummary) MarshalJSON

func (ms MachinesSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MachinesSummary.

func (*MachinesSummary) UnmarshalJSON

func (ms *MachinesSummary) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MachinesSummary struct.

type MachinesSummaryProperties

MachinesSummaryProperties summarizes machines in the workspace.

type MachinesSummaryProperties struct {
    // Total - Total number of machines.
    Total *int32 `json:"total,omitempty"`
    // Live - Number of live machines.
    Live *int32 `json:"live,omitempty"`
    // Os - Machine counts by operating system.
    Os *MachineCountsByOperatingSystem `json:"os,omitempty"`
    // StartTime - Summary interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Summary interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
}

type Map

Map a map of resources and relationships between them.

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

type MapEdges

MapEdges the edges (relationships) of a map.

type MapEdges struct {
    // Connections - Network connections.
    Connections *[]Connection `json:"connections,omitempty"`
    // Acceptors - Processes accepting on a port.
    Acceptors *[]Acceptor `json:"acceptors,omitempty"`
}

type MapNodes

MapNodes the nodes (entities) of a map.

type MapNodes struct {
    // Machines - Machine resources.
    Machines *[]Machine `json:"machines,omitempty"`
    // Processes - Process resources.
    Processes *[]Process `json:"processes,omitempty"`
    // Ports - Port resources.
    Ports *[]Port `json:"ports,omitempty"`
    // ClientGroups - Client Group resources.
    ClientGroups *[]ClientGroup `json:"clientGroups,omitempty"`
}

type MapRequest

MapRequest specifies the contents of request to generate a map.

type MapRequest struct {
    // StartTime - Map interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Map interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Kind - Possible values include: 'KindMapRequest', 'KindMapsingleMachineDependency', 'KindMultipleMachinesMapRequest', 'KindMapmachineListDependency', 'KindMapmachineGroupDependency'
    Kind KindBasicMapRequest `json:"kind,omitempty"`
}

func (MapRequest) AsBasicMapRequest

func (mr MapRequest) AsBasicMapRequest() (BasicMapRequest, bool)

AsBasicMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsBasicMultipleMachinesMapRequest

func (mr MapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsMachineGroupMapRequest

func (mr MapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)

AsMachineGroupMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsMachineListMapRequest

func (mr MapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)

AsMachineListMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsMapRequest

func (mr MapRequest) AsMapRequest() (*MapRequest, bool)

AsMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsMultipleMachinesMapRequest

func (mr MapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsSingleMachineDependencyMapRequest

func (mr MapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) MarshalJSON

func (mr MapRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MapRequest.

type MapResponse

MapResponse specified the contents of a map response.

type MapResponse struct {
    autorest.Response `json:"-"`
    // StartTime - Map interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Map interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Map - The generated map.
    Map *Map `json:"map,omitempty"`
}

type MapsClient

MapsClient is the service Map API Reference

type MapsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MapsClient) Generate

func (client MapsClient) Generate(ctx context.Context, resourceGroupName string, workspaceName string, request BasicMapRequest) (result MapResponse, err error)

Generate generates the specified map. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. request - request options.

func (MapsClient) GeneratePreparer

func (client MapsClient) GeneratePreparer(ctx context.Context, resourceGroupName string, workspaceName string, request BasicMapRequest) (*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

MonitoringState enumerates the values for monitoring state.

type MonitoringState string
const (
    // Discovered ...
    Discovered MonitoringState = "discovered"
    // Monitored ...
    Monitored MonitoringState = "monitored"
)

func PossibleMonitoringStateValues

func PossibleMonitoringStateValues() []MonitoringState

PossibleMonitoringStateValues returns an array of possible values for the MonitoringState const type.

type MultipleMachinesMapRequest

MultipleMachinesMapRequest provides a base class for describing map requests for a collection of machines

type MultipleMachinesMapRequest struct {
    // FilterProcesses - If true, only processes between specified machines will be included. Any connections in or out of those processes will be included.
    FilterProcesses *bool `json:"filterProcesses,omitempty"`
    // StartTime - Map interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Map interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Kind - Possible values include: 'KindMapRequest', 'KindMapsingleMachineDependency', 'KindMultipleMachinesMapRequest', 'KindMapmachineListDependency', 'KindMapmachineGroupDependency'
    Kind KindBasicMapRequest `json:"kind,omitempty"`
}

func (MultipleMachinesMapRequest) AsBasicMapRequest

func (mmmr MultipleMachinesMapRequest) AsBasicMapRequest() (BasicMapRequest, bool)

AsBasicMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsBasicMultipleMachinesMapRequest

func (mmmr MultipleMachinesMapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsMachineGroupMapRequest

func (mmmr MultipleMachinesMapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)

AsMachineGroupMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsMachineListMapRequest

func (mmmr MultipleMachinesMapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)

AsMachineListMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsMapRequest

func (mmmr MultipleMachinesMapRequest) AsMapRequest() (*MapRequest, bool)

AsMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsMultipleMachinesMapRequest

func (mmmr MultipleMachinesMapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsSingleMachineDependencyMapRequest

func (mmmr MultipleMachinesMapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) MarshalJSON

func (mmmr MultipleMachinesMapRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MultipleMachinesMapRequest.

type NetworkConfiguration

NetworkConfiguration describes the network configuration of a machine.

type NetworkConfiguration struct {
    // Ipv4Interfaces - IPv4 interfaces.
    Ipv4Interfaces *[]Ipv4NetworkInterface `json:"ipv4Interfaces,omitempty"`
    // Ipv6Interfaces - IPv6 interfaces.
    Ipv6Interfaces *[]Ipv6NetworkInterface `json:"ipv6Interfaces,omitempty"`
    // DefaultIpv4Gateways - Default IPv4 gateways.
    DefaultIpv4Gateways *[]string `json:"defaultIpv4Gateways,omitempty"`
    // MacAddresses - MAC addresses of all active network interfaces.
    MacAddresses *[]string `json:"macAddresses,omitempty"`
    // DNSNames - DNS names associated with the machine.
    DNSNames *[]string `json:"dnsNames,omitempty"`
}

type OperatingSystemConfiguration

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

type OperatingSystemConfiguration struct {
    // Family - Windows, Linux, etc. Possible values include: 'OperatingSystemFamilyUnknown', 'OperatingSystemFamilyWindows', 'OperatingSystemFamilyLinux', 'OperatingSystemFamilySolaris', 'OperatingSystemFamilyAix'
    Family OperatingSystemFamily `json:"family,omitempty"`
    // FullName - Operating system full name.
    FullName *string `json:"fullName,omitempty"`
    // Bitness - Operating system bitness (32-bit or 64-bit). Possible values include: 'ThreeTwobit', 'SixFourbit'
    Bitness Bitness `json:"bitness,omitempty"`
}

type OperatingSystemFamily

OperatingSystemFamily enumerates the values for operating system family.

type OperatingSystemFamily string
const (
    // OperatingSystemFamilyAix ...
    OperatingSystemFamilyAix OperatingSystemFamily = "aix"
    // OperatingSystemFamilyLinux ...
    OperatingSystemFamilyLinux OperatingSystemFamily = "linux"
    // OperatingSystemFamilySolaris ...
    OperatingSystemFamilySolaris OperatingSystemFamily = "solaris"
    // OperatingSystemFamilyUnknown ...
    OperatingSystemFamilyUnknown OperatingSystemFamily = "unknown"
    // OperatingSystemFamilyWindows ...
    OperatingSystemFamilyWindows OperatingSystemFamily = "windows"
)

func PossibleOperatingSystemFamilyValues

func PossibleOperatingSystemFamilyValues() []OperatingSystemFamily

PossibleOperatingSystemFamilyValues returns an array of possible values for the OperatingSystemFamily const type.

type Port

Port 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 Port struct {
    autorest.Response `json:"-"`
    // PortProperties - Resource properties.
    *PortProperties `json:"properties,omitempty"`
    // Etag - Resource ETAG.
    Etag *string `json:"etag,omitempty"`
    // Kind - Possible values include: 'KindCoreResource', 'KindMachine', 'KindProcess', 'KindPort', 'KindClientGroup', 'KindMachineGroup'
    Kind KindBasicCoreResource `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (Port) AsBasicCoreResource

func (p Port) AsBasicCoreResource() (BasicCoreResource, bool)

AsBasicCoreResource is the BasicCoreResource implementation for Port.

func (Port) AsClientGroup

func (p Port) AsClientGroup() (*ClientGroup, bool)

AsClientGroup is the BasicCoreResource implementation for Port.

func (Port) AsCoreResource

func (p Port) AsCoreResource() (*CoreResource, bool)

AsCoreResource is the BasicCoreResource implementation for Port.

func (Port) AsMachine

func (p Port) AsMachine() (*Machine, bool)

AsMachine is the BasicCoreResource implementation for Port.

func (Port) AsMachineGroup

func (p Port) AsMachineGroup() (*MachineGroup, bool)

AsMachineGroup is the BasicCoreResource implementation for Port.

func (Port) AsPort

func (p Port) AsPort() (*Port, bool)

AsPort is the BasicCoreResource implementation for Port.

func (Port) AsProcess

func (p Port) AsProcess() (*Process, bool)

AsProcess is the BasicCoreResource implementation for Port.

func (Port) MarshalJSON

func (p Port) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Port.

func (*Port) UnmarshalJSON

func (p *Port) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Port struct.

type PortCollection

PortCollection collection of Port resources.

type PortCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of Port resources.
    Value *[]Port `json:"value,omitempty"`
    // NextLink - The URL to the next set of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (PortCollection) IsEmpty

func (pc PortCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PortCollectionIterator

PortCollectionIterator provides access to a complete listing of Port values.

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

func NewPortCollectionIterator

func NewPortCollectionIterator(page PortCollectionPage) PortCollectionIterator

Creates a new instance of the PortCollectionIterator type.

func (*PortCollectionIterator) Next

func (iter *PortCollectionIterator) 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 (*PortCollectionIterator) NextWithContext

func (iter *PortCollectionIterator) 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 (PortCollectionIterator) NotDone

func (iter PortCollectionIterator) NotDone() bool

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

func (PortCollectionIterator) Response

func (iter PortCollectionIterator) Response() PortCollection

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

func (PortCollectionIterator) Value

func (iter PortCollectionIterator) Value() Port

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

type PortCollectionPage

PortCollectionPage contains a page of Port values.

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

func NewPortCollectionPage

func NewPortCollectionPage(cur PortCollection, getNextPage func(context.Context, PortCollection) (PortCollection, error)) PortCollectionPage

Creates a new instance of the PortCollectionPage type.

func (*PortCollectionPage) Next

func (page *PortCollectionPage) 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 (*PortCollectionPage) NextWithContext

func (page *PortCollectionPage) 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 (PortCollectionPage) NotDone

func (page PortCollectionPage) NotDone() bool

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

func (PortCollectionPage) Response

func (page PortCollectionPage) Response() PortCollection

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

func (PortCollectionPage) Values

func (page PortCollectionPage) Values() []Port

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

type PortProperties

PortProperties resource properties.

type PortProperties struct {
    // MonitoringState - Specifies whether the port is actively monitored or discovered. Possible values include: 'Monitored', 'Discovered'
    MonitoringState MonitoringState `json:"monitoringState,omitempty"`
    // Machine - Machine hosting this port.
    Machine BasicResourceReference `json:"machine,omitempty"`
    // DisplayName - Name to use for display purposes.
    DisplayName *string `json:"displayName,omitempty"`
    // IPAddress - IP address associated with the port. At present only IPv4 addresses are supported.
    IPAddress *string `json:"ipAddress,omitempty"`
    // PortNumber - Port number.
    PortNumber *int32 `json:"portNumber,omitempty"`
}

func (*PortProperties) UnmarshalJSON

func (p *PortProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PortProperties struct.

type PortReference

PortReference reference to a port.

type PortReference struct {
    // PortReferenceProperties - Resource properties.
    *PortReferenceProperties `json:"properties,omitempty"`
    // ID - Resource URI.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type qualifier.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Kind - Possible values include: 'KindResourceReference', 'KindRefmachine', 'KindRefprocess', 'KindRefport', 'KindRefmachinewithhints', 'KindRefclientgroup'
    Kind Kind `json:"kind,omitempty"`
}

func (PortReference) AsBasicResourceReference

func (pr PortReference) AsBasicResourceReference() (BasicResourceReference, bool)

AsBasicResourceReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsClientGroupReference

func (pr PortReference) AsClientGroupReference() (*ClientGroupReference, bool)

AsClientGroupReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsMachineReference

func (pr PortReference) AsMachineReference() (*MachineReference, bool)

AsMachineReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsMachineReferenceWithHints

func (pr PortReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)

AsMachineReferenceWithHints is the BasicResourceReference implementation for PortReference.

func (PortReference) AsPortReference

func (pr PortReference) AsPortReference() (*PortReference, bool)

AsPortReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsProcessReference

func (pr PortReference) AsProcessReference() (*ProcessReference, bool)

AsProcessReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsResourceReference

func (pr PortReference) AsResourceReference() (*ResourceReference, bool)

AsResourceReference is the BasicResourceReference implementation for PortReference.

func (PortReference) MarshalJSON

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

MarshalJSON is the custom marshaler for PortReference.

func (*PortReference) UnmarshalJSON

func (pr *PortReference) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PortReference struct.

type PortReferenceProperties

PortReferenceProperties resource properties.

type PortReferenceProperties struct {
    // Machine - READ-ONLY; Machine hosting the port.
    Machine *MachineReference `json:"machine,omitempty"`
    // IPAddress - READ-ONLY; IP address of the port.
    IPAddress *string `json:"ipAddress,omitempty"`
    // PortNumber - Port number.
    PortNumber *int32 `json:"portNumber,omitempty"`
}

func (PortReferenceProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for PortReferenceProperties.

type PortsClient

PortsClient is the service Map API Reference

type PortsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PortsClient) Get

func (client PortsClient) Get(ctx context.Context, 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. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. portName - port resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - 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(ctx context.Context, 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. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. portName - port resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ProcessCollectionPage, err error)

ListAcceptingProcesses returns a collection of processes accepting on the specified port Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. portName - port resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (PortsClient) ListAcceptingProcessesComplete

func (client PortsClient) ListAcceptingProcessesComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ProcessCollectionIterator, err error)

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

func (PortsClient) ListAcceptingProcessesPreparer

func (client PortsClient) ListAcceptingProcessesPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionPage, err error)

ListConnections returns a collection of connections established via the specified port. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. portName - port resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (PortsClient) ListConnectionsComplete

func (client PortsClient) ListConnectionsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, portName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionIterator, err error)

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

func (PortsClient) ListConnectionsPreparer

func (client PortsClient) ListConnectionsPreparer(ctx context.Context, 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

Process 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 Process struct {
    autorest.Response `json:"-"`
    // ProcessProperties - Resource properties.
    *ProcessProperties `json:"properties,omitempty"`
    // Etag - Resource ETAG.
    Etag *string `json:"etag,omitempty"`
    // Kind - Possible values include: 'KindCoreResource', 'KindMachine', 'KindProcess', 'KindPort', 'KindClientGroup', 'KindMachineGroup'
    Kind KindBasicCoreResource `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (Process) AsBasicCoreResource

func (p Process) AsBasicCoreResource() (BasicCoreResource, bool)

AsBasicCoreResource is the BasicCoreResource implementation for Process.

func (Process) AsClientGroup

func (p Process) AsClientGroup() (*ClientGroup, bool)

AsClientGroup is the BasicCoreResource implementation for Process.

func (Process) AsCoreResource

func (p Process) AsCoreResource() (*CoreResource, bool)

AsCoreResource is the BasicCoreResource implementation for Process.

func (Process) AsMachine

func (p Process) AsMachine() (*Machine, bool)

AsMachine is the BasicCoreResource implementation for Process.

func (Process) AsMachineGroup

func (p Process) AsMachineGroup() (*MachineGroup, bool)

AsMachineGroup is the BasicCoreResource implementation for Process.

func (Process) AsPort

func (p Process) AsPort() (*Port, bool)

AsPort is the BasicCoreResource implementation for Process.

func (Process) AsProcess

func (p Process) AsProcess() (*Process, bool)

AsProcess is the BasicCoreResource implementation for Process.

func (Process) MarshalJSON

func (p Process) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Process.

func (*Process) UnmarshalJSON

func (p *Process) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Process struct.

type ProcessCollection

ProcessCollection collection of Process resources.

type ProcessCollection struct {
    autorest.Response `json:"-"`
    // Value - Collection of Process resources.
    Value *[]Process `json:"value,omitempty"`
    // NextLink - The URL to the next set of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ProcessCollection) IsEmpty

func (pc ProcessCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProcessCollectionIterator

ProcessCollectionIterator provides access to a complete listing of Process values.

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

func NewProcessCollectionIterator

func NewProcessCollectionIterator(page ProcessCollectionPage) ProcessCollectionIterator

Creates a new instance of the ProcessCollectionIterator type.

func (*ProcessCollectionIterator) Next

func (iter *ProcessCollectionIterator) 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 (*ProcessCollectionIterator) NextWithContext

func (iter *ProcessCollectionIterator) 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 (ProcessCollectionIterator) NotDone

func (iter ProcessCollectionIterator) NotDone() bool

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

func (ProcessCollectionIterator) Response

func (iter ProcessCollectionIterator) Response() ProcessCollection

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

func (ProcessCollectionIterator) Value

func (iter ProcessCollectionIterator) Value() Process

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

type ProcessCollectionPage

ProcessCollectionPage contains a page of Process values.

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

func NewProcessCollectionPage

func NewProcessCollectionPage(cur ProcessCollection, getNextPage func(context.Context, ProcessCollection) (ProcessCollection, error)) ProcessCollectionPage

Creates a new instance of the ProcessCollectionPage type.

func (*ProcessCollectionPage) Next

func (page *ProcessCollectionPage) 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 (*ProcessCollectionPage) NextWithContext

func (page *ProcessCollectionPage) 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 (ProcessCollectionPage) NotDone

func (page ProcessCollectionPage) NotDone() bool

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

func (ProcessCollectionPage) Response

func (page ProcessCollectionPage) Response() ProcessCollection

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

func (ProcessCollectionPage) Values

func (page ProcessCollectionPage) Values() []Process

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

type ProcessDetails

ProcessDetails describes process metadata.

type ProcessDetails struct {
    // PersistentKey - A unique identifier for a process, generally resilient to process restart, computed by Service Map.
    PersistentKey *string `json:"persistentKey,omitempty"`
    // PoolID - Represents the identity of the process pool assigned to the process by Dependency Agent.
    PoolID *int32 `json:"poolId,omitempty"`
    // FirstPid - The Operating System Process Identifier (PID) of the first process in this process pool.
    FirstPid *int32 `json:"firstPid,omitempty"`
    // Description - Process description.
    Description *string `json:"description,omitempty"`
    // CompanyName - Name of company that created the process executable.
    CompanyName *string `json:"companyName,omitempty"`
    // InternalName - Internal process name.
    InternalName *string `json:"internalName,omitempty"`
    // ProductName - Product name.
    ProductName *string `json:"productName,omitempty"`
    // ProductVersion - Product version.
    ProductVersion *string `json:"productVersion,omitempty"`
    // FileVersion - File version.
    FileVersion *string `json:"fileVersion,omitempty"`
    // CommandLine - Process command line.
    CommandLine *string `json:"commandLine,omitempty"`
    // ExecutablePath - Process executable path.
    ExecutablePath *string `json:"executablePath,omitempty"`
    // WorkingDirectory - Process workingDirectory.
    WorkingDirectory *string `json:"workingDirectory,omitempty"`
    // Services - Collection of services hosted by this Process (Windows only).
    Services *[]ProcessHostedService `json:"services,omitempty"`
    // ZoneName - Process zone name (Linux only).
    ZoneName *string `json:"zoneName,omitempty"`
}

type ProcessHostedService

ProcessHostedService a service hosted by a process.

type ProcessHostedService struct {
    // Name - The name of the service.
    Name *string `json:"name,omitempty"`
    // DisplayName - The service's display name.
    DisplayName *string `json:"displayName,omitempty"`
}

type ProcessHostingConfiguration

ProcessHostingConfiguration describes the hosting configuration of a process.

type ProcessHostingConfiguration struct {
    // Provider - The hosting provider of the VM. Possible values include: 'Provider1Azure'
    Provider Provider1 `json:"provider,omitempty"`
    // Kind - Possible values include: 'KindBasicProcessHostingConfigurationKindProcessHostingConfiguration', 'KindBasicProcessHostingConfigurationKindProviderazure'
    Kind KindBasicProcessHostingConfiguration `json:"kind,omitempty"`
}

func (ProcessHostingConfiguration) AsAzureProcessHostingConfiguration

func (phc ProcessHostingConfiguration) AsAzureProcessHostingConfiguration() (*AzureProcessHostingConfiguration, bool)

AsAzureProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for ProcessHostingConfiguration.

func (ProcessHostingConfiguration) AsBasicProcessHostingConfiguration

func (phc ProcessHostingConfiguration) AsBasicProcessHostingConfiguration() (BasicProcessHostingConfiguration, bool)

AsBasicProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for ProcessHostingConfiguration.

func (ProcessHostingConfiguration) AsProcessHostingConfiguration

func (phc ProcessHostingConfiguration) AsProcessHostingConfiguration() (*ProcessHostingConfiguration, bool)

AsProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for ProcessHostingConfiguration.

func (ProcessHostingConfiguration) MarshalJSON

func (phc ProcessHostingConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProcessHostingConfiguration.

type ProcessProperties

ProcessProperties resource properties.

type ProcessProperties struct {
    // Timestamp - UTC date and time when this process resource was updated in the system
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // MonitoringState - Specifies whether the process is actively monitored or discovered. Possible values include: 'Monitored', 'Discovered'
    MonitoringState MonitoringState `json:"monitoringState,omitempty"`
    // Machine - Machine hosting this process.
    Machine BasicResourceReference `json:"machine,omitempty"`
    // ExecutableName - The name of the process executable
    ExecutableName *string `json:"executableName,omitempty"`
    // DisplayName - Name to use for display purposes
    DisplayName *string `json:"displayName,omitempty"`
    // StartTime - UTC date and time when the process started
    StartTime *date.Time `json:"startTime,omitempty"`
    // Role - The inferred role of this process based on its name, command line, etc. Possible values include: 'WebServer', 'AppServer', 'DatabaseServer', 'LdapServer', 'SmbServer'
    Role ProcessRole `json:"role,omitempty"`
    // Group - The name of the product or suite of the process. The group is determined by its executable name, command line, etc.
    Group *string `json:"group,omitempty"`
    // Details - Process metadata (command line, product name, etc.).
    Details *ProcessDetails `json:"details,omitempty"`
    // User - Information about the account under which the process is executing.
    User *ProcessUser `json:"user,omitempty"`
    // ClientOf - Present only for a discovered process acting as a client of a monitored process/machine/port. References the monitored process/machine/port that this process is a client of.
    ClientOf BasicResourceReference `json:"clientOf,omitempty"`
    // AcceptorOf - Present only for a discovered process acting as a server. References the port on which the discovered process is accepting.
    AcceptorOf BasicResourceReference `json:"acceptorOf,omitempty"`
    // Hosting - Information about the hosting environment
    Hosting BasicProcessHostingConfiguration `json:"hosting,omitempty"`
}

func (*ProcessProperties) UnmarshalJSON

func (p *ProcessProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProcessProperties struct.

type ProcessReference

ProcessReference reference to a process.

type ProcessReference struct {
    // ProcessReferenceProperties - Resource properties.
    *ProcessReferenceProperties `json:"properties,omitempty"`
    // ID - Resource URI.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type qualifier.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Kind - Possible values include: 'KindResourceReference', 'KindRefmachine', 'KindRefprocess', 'KindRefport', 'KindRefmachinewithhints', 'KindRefclientgroup'
    Kind Kind `json:"kind,omitempty"`
}

func (ProcessReference) AsBasicResourceReference

func (pr ProcessReference) AsBasicResourceReference() (BasicResourceReference, bool)

AsBasicResourceReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsClientGroupReference

func (pr ProcessReference) AsClientGroupReference() (*ClientGroupReference, bool)

AsClientGroupReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsMachineReference

func (pr ProcessReference) AsMachineReference() (*MachineReference, bool)

AsMachineReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsMachineReferenceWithHints

func (pr ProcessReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)

AsMachineReferenceWithHints is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsPortReference

func (pr ProcessReference) AsPortReference() (*PortReference, bool)

AsPortReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsProcessReference

func (pr ProcessReference) AsProcessReference() (*ProcessReference, bool)

AsProcessReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsResourceReference

func (pr ProcessReference) AsResourceReference() (*ResourceReference, bool)

AsResourceReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) MarshalJSON

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

MarshalJSON is the custom marshaler for ProcessReference.

func (*ProcessReference) UnmarshalJSON

func (pr *ProcessReference) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProcessReference struct.

type ProcessReferenceProperties

ProcessReferenceProperties resource properties.

type ProcessReferenceProperties struct {
    // Machine - READ-ONLY; Machine hosting the process.
    Machine *MachineReference `json:"machine,omitempty"`
}

func (ProcessReferenceProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for ProcessReferenceProperties.

type ProcessRole

ProcessRole enumerates the values for process role.

type ProcessRole string
const (
    // AppServer ...
    AppServer ProcessRole = "appServer"
    // DatabaseServer ...
    DatabaseServer ProcessRole = "databaseServer"
    // LdapServer ...
    LdapServer ProcessRole = "ldapServer"
    // SmbServer ...
    SmbServer ProcessRole = "smbServer"
    // WebServer ...
    WebServer ProcessRole = "webServer"
)

func PossibleProcessRoleValues

func PossibleProcessRoleValues() []ProcessRole

PossibleProcessRoleValues returns an array of possible values for the ProcessRole const type.

type ProcessUser

ProcessUser describes the user under which a process is running.

type ProcessUser struct {
    // UserName - User name under which the process is running.
    UserName *string `json:"userName,omitempty"`
    // UserDomain - Domain name for the user.
    UserDomain *string `json:"userDomain,omitempty"`
}

type ProcessesClient

ProcessesClient is the service Map API Reference

type ProcessesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProcessesClient) Get

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

Get returns the specified process. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. processName - process resource name. timestamp - 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(ctx context.Context, 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. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. processName - process resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result PortCollectionPage, err error)

ListAcceptingPorts returns a collection of ports on which this process is accepting Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. processName - process resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (ProcessesClient) ListAcceptingPortsComplete

func (client ProcessesClient) ListAcceptingPortsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result PortCollectionIterator, err error)

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

func (ProcessesClient) ListAcceptingPortsPreparer

func (client ProcessesClient) ListAcceptingPortsPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionPage, err error)

ListConnections returns a collection of connections terminating or originating at the specified process Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. machineName - machine resource name. processName - process resource name. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow

func (ProcessesClient) ListConnectionsComplete

func (client ProcessesClient) ListConnectionsComplete(ctx context.Context, resourceGroupName string, workspaceName string, machineName string, processName string, startTime *date.Time, endTime *date.Time) (result ConnectionCollectionIterator, err error)

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

func (ProcessesClient) ListConnectionsPreparer

func (client ProcessesClient) ListConnectionsPreparer(ctx context.Context, 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 Provider

Provider enumerates the values for provider.

type Provider string
const (
    // Azure ...
    Azure Provider = "azure"
)

func PossibleProviderValues

func PossibleProviderValues() []Provider

PossibleProviderValues returns an array of possible values for the Provider const type.

type Provider1

Provider1 enumerates the values for provider 1.

type Provider1 string
const (
    // Provider1Azure ...
    Provider1Azure Provider1 = "azure"
)

func PossibleProvider1Values

func PossibleProvider1Values() []Provider1

PossibleProvider1Values returns an array of possible values for the Provider1 const type.

type Relationship

Relationship a typed relationship between two entities.

type Relationship struct {
    // Kind - Possible values include: 'KindRelationship', 'KindRelconnection', 'KindRelacceptor'
    Kind KindBasicRelationship `json:"kind,omitempty"`
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (Relationship) AsAcceptor

func (r Relationship) AsAcceptor() (*Acceptor, bool)

AsAcceptor is the BasicRelationship implementation for Relationship.

func (Relationship) AsBasicRelationship

func (r Relationship) AsBasicRelationship() (BasicRelationship, bool)

AsBasicRelationship is the BasicRelationship implementation for Relationship.

func (Relationship) AsConnection

func (r Relationship) AsConnection() (*Connection, bool)

AsConnection is the BasicRelationship implementation for Relationship.

func (Relationship) AsRelationship

func (r Relationship) AsRelationship() (*Relationship, bool)

AsRelationship is the BasicRelationship implementation for Relationship.

func (Relationship) MarshalJSON

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

MarshalJSON is the custom marshaler for Relationship.

type RelationshipProperties

RelationshipProperties relationship properties.

type RelationshipProperties struct {
    // Source - Source resource of the relationship.
    Source BasicResourceReference `json:"source,omitempty"`
    // Destination - Destination resource of the relationship.
    Destination BasicResourceReference `json:"destination,omitempty"`
    // StartTime - Relationship start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Relationship end time.
    EndTime *date.Time `json:"endTime,omitempty"`
}

func (*RelationshipProperties) UnmarshalJSON

func (rp *RelationshipProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RelationshipProperties struct.

type Resource

Resource resource model definition.

type Resource struct {
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type ResourceReference

ResourceReference represents a reference to another resource.

type ResourceReference struct {
    // ID - Resource URI.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type qualifier.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Kind - Possible values include: 'KindResourceReference', 'KindRefmachine', 'KindRefprocess', 'KindRefport', 'KindRefmachinewithhints', 'KindRefclientgroup'
    Kind Kind `json:"kind,omitempty"`
}

func (ResourceReference) AsBasicResourceReference

func (rr ResourceReference) AsBasicResourceReference() (BasicResourceReference, bool)

AsBasicResourceReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsClientGroupReference

func (rr ResourceReference) AsClientGroupReference() (*ClientGroupReference, bool)

AsClientGroupReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsMachineReference

func (rr ResourceReference) AsMachineReference() (*MachineReference, bool)

AsMachineReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsMachineReferenceWithHints

func (rr ResourceReference) AsMachineReferenceWithHints() (*MachineReferenceWithHints, bool)

AsMachineReferenceWithHints is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsPortReference

func (rr ResourceReference) AsPortReference() (*PortReference, bool)

AsPortReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsProcessReference

func (rr ResourceReference) AsProcessReference() (*ProcessReference, bool)

AsProcessReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsResourceReference

func (rr ResourceReference) AsResourceReference() (*ResourceReference, bool)

AsResourceReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) MarshalJSON

func (rr ResourceReference) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceReference.

type SingleMachineDependencyMapRequest

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

type SingleMachineDependencyMapRequest struct {
    // MachineID - URI of machine resource for which to generate the map.
    MachineID *string `json:"machineId,omitempty"`
    // StartTime - Map interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Map interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Kind - Possible values include: 'KindMapRequest', 'KindMapsingleMachineDependency', 'KindMultipleMachinesMapRequest', 'KindMapmachineListDependency', 'KindMapmachineGroupDependency'
    Kind KindBasicMapRequest `json:"kind,omitempty"`
}

func (SingleMachineDependencyMapRequest) AsBasicMapRequest

func (smdmr SingleMachineDependencyMapRequest) AsBasicMapRequest() (BasicMapRequest, bool)

AsBasicMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsBasicMultipleMachinesMapRequest

func (smdmr SingleMachineDependencyMapRequest) AsBasicMultipleMachinesMapRequest() (BasicMultipleMachinesMapRequest, bool)

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsMachineGroupMapRequest

func (smdmr SingleMachineDependencyMapRequest) AsMachineGroupMapRequest() (*MachineGroupMapRequest, bool)

AsMachineGroupMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsMachineListMapRequest

func (smdmr SingleMachineDependencyMapRequest) AsMachineListMapRequest() (*MachineListMapRequest, bool)

AsMachineListMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsMapRequest

func (smdmr SingleMachineDependencyMapRequest) AsMapRequest() (*MapRequest, bool)

AsMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsMultipleMachinesMapRequest

func (smdmr SingleMachineDependencyMapRequest) AsMultipleMachinesMapRequest() (*MultipleMachinesMapRequest, bool)

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsSingleMachineDependencyMapRequest

func (smdmr SingleMachineDependencyMapRequest) AsSingleMachineDependencyMapRequest() (*SingleMachineDependencyMapRequest, bool)

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) MarshalJSON

func (smdmr SingleMachineDependencyMapRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SingleMachineDependencyMapRequest.

type SummariesClient

SummariesClient is the service Map API Reference

type SummariesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SummariesClient) GetMachines

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

GetMachines returns summary information about the machines in the workspace. Parameters: resourceGroupName - resource group name within the specified subscriptionId. workspaceName - OMS workspace containing the resources of interest. startTime - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m endTime - 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(ctx context.Context, 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

Summary base for all resource summaries.

type Summary struct {
    // ID - READ-ONLY; Resource identifier.
    ID *string `json:"id,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
}

func (Summary) MarshalJSON

func (s Summary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Summary.

type SummaryProperties

SummaryProperties base for all summaries.

type SummaryProperties struct {
    // StartTime - Summary interval start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Summary interval end time.
    EndTime *date.Time `json:"endTime,omitempty"`
}

type Timezone

Timezone describes a timezone.

type Timezone struct {
    // FullName - Timezone full name.
    FullName *string `json:"fullName,omitempty"`
}

type VirtualMachineConfiguration

VirtualMachineConfiguration describes the virtualization-related configuration of a machine.

type VirtualMachineConfiguration struct {
    // VirtualMachineType - Specifies the virtualization technology used by the machine (hyperv, vmware, etc.). Possible values include: 'VirtualMachineTypeUnknown', 'VirtualMachineTypeHyperv', 'VirtualMachineTypeLdom', 'VirtualMachineTypeLpar', 'VirtualMachineTypeVmware', 'VirtualMachineTypeVirtualPc', 'VirtualMachineTypeXen'
    VirtualMachineType VirtualMachineType `json:"virtualMachineType,omitempty"`
    // NativeMachineID - The unique identifier of the virtual machine as reported by the underlying virtualization system.
    NativeMachineID *string `json:"nativeMachineId,omitempty"`
    // VirtualMachineName - The Name of the virtual machine.
    VirtualMachineName *string `json:"virtualMachineName,omitempty"`
    // NativeHostMachineID - The unique identifier of the host of this virtual machine as reported by the underlying virtualization system.
    NativeHostMachineID *string `json:"nativeHostMachineId,omitempty"`
}

type VirtualMachineType

VirtualMachineType enumerates the values for virtual machine type.

type VirtualMachineType string
const (
    // VirtualMachineTypeHyperv ...
    VirtualMachineTypeHyperv VirtualMachineType = "hyperv"
    // VirtualMachineTypeLdom ...
    VirtualMachineTypeLdom VirtualMachineType = "ldom"
    // VirtualMachineTypeLpar ...
    VirtualMachineTypeLpar VirtualMachineType = "lpar"
    // VirtualMachineTypeUnknown ...
    VirtualMachineTypeUnknown VirtualMachineType = "unknown"
    // VirtualMachineTypeVirtualPc ...
    VirtualMachineTypeVirtualPc VirtualMachineType = "virtualPc"
    // VirtualMachineTypeVmware ...
    VirtualMachineTypeVmware VirtualMachineType = "vmware"
    // VirtualMachineTypeXen ...
    VirtualMachineTypeXen VirtualMachineType = "xen"
)

func PossibleVirtualMachineTypeValues

func PossibleVirtualMachineTypeValues() []VirtualMachineType

PossibleVirtualMachineTypeValues returns an array of possible values for the VirtualMachineType const type.

type VirtualizationState

VirtualizationState enumerates the values for virtualization state.

type VirtualizationState string
const (
    // VirtualizationStateHypervisor ...
    VirtualizationStateHypervisor VirtualizationState = "hypervisor"
    // VirtualizationStatePhysical ...
    VirtualizationStatePhysical VirtualizationState = "physical"
    // VirtualizationStateUnknown ...
    VirtualizationStateUnknown VirtualizationState = "unknown"
    // VirtualizationStateVirtual ...
    VirtualizationStateVirtual VirtualizationState = "virtual"
)

func PossibleVirtualizationStateValues

func PossibleVirtualizationStateValues() []VirtualizationState

PossibleVirtualizationStateValues returns an array of possible values for the VirtualizationState const type.

Subdirectories

Name Synopsis
..
servicemapapi Deprecated: Please note, this package has been deprecated.