azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/operationalinsights/mgmt/2015-11-01-preview/servicemap Index | Files | Directories

package servicemap

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

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

Service Map API Reference

Index

Package Files

client.go clientgroups.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 Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type Acceptor Uses

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"`
}

Acceptor a process accepting on a port.

func (Acceptor) AsAcceptor Uses

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

AsAcceptor is the BasicRelationship implementation for Acceptor.

func (Acceptor) AsBasicRelationship Uses

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

AsBasicRelationship is the BasicRelationship implementation for Acceptor.

func (Acceptor) AsConnection Uses

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

AsConnection is the BasicRelationship implementation for Acceptor.

func (Acceptor) AsRelationship Uses

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

AsRelationship is the BasicRelationship implementation for Acceptor.

func (Acceptor) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Acceptor.

func (*Acceptor) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Acceptor struct.

type AcceptorProperties Uses

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"`
}

AcceptorProperties properties for an acceptor relationship.

type Accuracy Uses

type Accuracy string

Accuracy enumerates the values for accuracy.

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

func PossibleAccuracyValues Uses

func PossibleAccuracyValues() []Accuracy

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

type AgentConfiguration Uses

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"`
}

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

type AzureCloudServiceConfiguration Uses

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"`
}

AzureCloudServiceConfiguration describes an Azure Cloud Service

type AzureCloudServiceRoleType Uses

type AzureCloudServiceRoleType string

AzureCloudServiceRoleType enumerates the values for azure cloud service role type.

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

func PossibleAzureCloudServiceRoleTypeValues Uses

func PossibleAzureCloudServiceRoleTypeValues() []AzureCloudServiceRoleType

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

type AzureHostingConfiguration Uses

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"`
}

AzureHostingConfiguration provides information about how a machine is hosted in Azure

func (AzureHostingConfiguration) AsAzureHostingConfiguration Uses

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

AsAzureHostingConfiguration is the BasicHostingConfiguration implementation for AzureHostingConfiguration.

func (AzureHostingConfiguration) AsBasicHostingConfiguration Uses

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

AsBasicHostingConfiguration is the BasicHostingConfiguration implementation for AzureHostingConfiguration.

func (AzureHostingConfiguration) AsHostingConfiguration Uses

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

AsHostingConfiguration is the BasicHostingConfiguration implementation for AzureHostingConfiguration.

func (AzureHostingConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureHostingConfiguration.

type AzureProcessHostingConfiguration Uses

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"`
}

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

func (AzureProcessHostingConfiguration) AsAzureProcessHostingConfiguration Uses

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

AsAzureProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for AzureProcessHostingConfiguration.

func (AzureProcessHostingConfiguration) AsBasicProcessHostingConfiguration Uses

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

AsBasicProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for AzureProcessHostingConfiguration.

func (AzureProcessHostingConfiguration) AsProcessHostingConfiguration Uses

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

AsProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for AzureProcessHostingConfiguration.

func (AzureProcessHostingConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureProcessHostingConfiguration.

type AzureServiceFabricClusterConfiguration Uses

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

AzureServiceFabricClusterConfiguration describes an Azure Service Fabric Cluster

type AzureVMScaleSetConfiguration Uses

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"`
}

AzureVMScaleSetConfiguration describes an Azure Virtual Machine Scale Set

type BaseClient Uses

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

BaseClient is the base client for Servicemap.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicCoreResource Uses

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

BasicCoreResource marker resource for the core Service Map resources

type BasicHostingConfiguration Uses

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

BasicHostingConfiguration describes the hosting configuration of a machine.

type BasicMapRequest Uses

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

BasicMapRequest specifies the contents of request to generate a map.

type BasicMultipleMachinesMapRequest Uses

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

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

type BasicProcessHostingConfiguration Uses

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

BasicProcessHostingConfiguration describes the hosting configuration of a process.

type BasicRelationship Uses

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

BasicRelationship a typed relationship between two entities.

type BasicResourceReference Uses

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

BasicResourceReference represents a reference to another resource.

type Bitness Uses

type Bitness string

Bitness enumerates the values for bitness.

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

func PossibleBitnessValues Uses

func PossibleBitnessValues() []Bitness

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

type ClientGroup Uses

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"`
}

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

func (ClientGroup) AsBasicCoreResource Uses

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

AsBasicCoreResource is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsClientGroup Uses

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

AsClientGroup is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsCoreResource Uses

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

AsCoreResource is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsMachine Uses

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

AsMachine is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsMachineGroup Uses

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

AsMachineGroup is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsPort Uses

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

AsPort is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) AsProcess Uses

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

AsProcess is the BasicCoreResource implementation for ClientGroup.

func (ClientGroup) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ClientGroup.

func (*ClientGroup) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ClientGroup struct.

type ClientGroupMember Uses

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"`
}

ClientGroupMember represents a member of a client group

func (ClientGroupMember) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ClientGroupMember.

func (*ClientGroupMember) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ClientGroupMember struct.

type ClientGroupMemberProperties Uses

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"`
}

ClientGroupMemberProperties resource properties.

type ClientGroupMembersCollection Uses

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"`
}

ClientGroupMembersCollection collection of ClientGroupMember resources.

func (ClientGroupMembersCollection) IsEmpty Uses

func (cgmc ClientGroupMembersCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ClientGroupMembersCollectionIterator Uses

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

ClientGroupMembersCollectionIterator provides access to a complete listing of ClientGroupMember values.

func NewClientGroupMembersCollectionIterator Uses

func NewClientGroupMembersCollectionIterator(page ClientGroupMembersCollectionPage) ClientGroupMembersCollectionIterator

Creates a new instance of the ClientGroupMembersCollectionIterator type.

func (*ClientGroupMembersCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter ClientGroupMembersCollectionIterator) NotDone() bool

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

func (ClientGroupMembersCollectionIterator) Response Uses

func (iter ClientGroupMembersCollectionIterator) Response() ClientGroupMembersCollection

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

func (ClientGroupMembersCollectionIterator) Value Uses

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 Uses

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

ClientGroupMembersCollectionPage contains a page of ClientGroupMember values.

func NewClientGroupMembersCollectionPage Uses

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

Creates a new instance of the ClientGroupMembersCollectionPage type.

func (*ClientGroupMembersCollectionPage) Next Uses

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 Uses

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 Uses

func (page ClientGroupMembersCollectionPage) NotDone() bool

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

func (ClientGroupMembersCollectionPage) Response Uses

func (page ClientGroupMembersCollectionPage) Response() ClientGroupMembersCollection

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

func (ClientGroupMembersCollectionPage) Values Uses

func (page ClientGroupMembersCollectionPage) Values() []ClientGroupMember

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

type ClientGroupMembersCount Uses

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"`
}

ClientGroupMembersCount specifies the number of members in a client group.

type ClientGroupProperties Uses

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

ClientGroupProperties resource properties.

func (*ClientGroupProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ClientGroupProperties struct.

type ClientGroupReference Uses

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"`
}

ClientGroupReference reference to a client group.

func (ClientGroupReference) AsBasicResourceReference Uses

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

AsBasicResourceReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsClientGroupReference Uses

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

AsClientGroupReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsMachineReference Uses

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

AsMachineReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsMachineReferenceWithHints Uses

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

AsMachineReferenceWithHints is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsPortReference Uses

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

AsPortReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsProcessReference Uses

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

AsProcessReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) AsResourceReference Uses

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

AsResourceReference is the BasicResourceReference implementation for ClientGroupReference.

func (ClientGroupReference) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ClientGroupReference.

type ClientGroupsClient Uses

type ClientGroupsClient struct {
    BaseClient
}

ClientGroupsClient is the service Map API Reference

func NewClientGroupsClient Uses

func NewClientGroupsClient(subscriptionID string) ClientGroupsClient

NewClientGroupsClient creates an instance of the ClientGroupsClient client.

func NewClientGroupsClientWithBaseURI Uses

func NewClientGroupsClientWithBaseURI(baseURI string, subscriptionID string) ClientGroupsClient

NewClientGroupsClientWithBaseURI creates an instance of the ClientGroupsClient client.

func (ClientGroupsClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

Connection a network connection.

func (Connection) AsAcceptor Uses

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

AsAcceptor is the BasicRelationship implementation for Connection.

func (Connection) AsBasicRelationship Uses

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

AsBasicRelationship is the BasicRelationship implementation for Connection.

func (Connection) AsConnection Uses

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

AsConnection is the BasicRelationship implementation for Connection.

func (Connection) AsRelationship Uses

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

AsRelationship is the BasicRelationship implementation for Connection.

func (Connection) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Connection.

func (*Connection) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Connection struct.

type ConnectionCollection Uses

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"`
}

ConnectionCollection collection of Connection resources.

func (ConnectionCollection) IsEmpty Uses

func (cc ConnectionCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionCollectionIterator Uses

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

ConnectionCollectionIterator provides access to a complete listing of Connection values.

func NewConnectionCollectionIterator Uses

func NewConnectionCollectionIterator(page ConnectionCollectionPage) ConnectionCollectionIterator

Creates a new instance of the ConnectionCollectionIterator type.

func (*ConnectionCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter ConnectionCollectionIterator) NotDone() bool

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

func (ConnectionCollectionIterator) Response Uses

func (iter ConnectionCollectionIterator) Response() ConnectionCollection

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

func (ConnectionCollectionIterator) Value Uses

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 Uses

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

ConnectionCollectionPage contains a page of Connection values.

func NewConnectionCollectionPage Uses

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

Creates a new instance of the ConnectionCollectionPage type.

func (*ConnectionCollectionPage) Next Uses

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 Uses

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 Uses

func (page ConnectionCollectionPage) NotDone() bool

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

func (ConnectionCollectionPage) Response Uses

func (page ConnectionCollectionPage) Response() ConnectionCollection

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

func (ConnectionCollectionPage) Values Uses

func (page ConnectionCollectionPage) Values() []Connection

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

type ConnectionFailureState Uses

type ConnectionFailureState string

ConnectionFailureState enumerates the values for connection failure state.

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

func PossibleConnectionFailureStateValues Uses

func PossibleConnectionFailureStateValues() []ConnectionFailureState

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

type ConnectionProperties Uses

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"`
}

ConnectionProperties properties for a connection resource.

func (*ConnectionProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConnectionProperties struct.

type CoreResource Uses

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"`
}

CoreResource marker resource for the core Service Map resources

func (CoreResource) AsBasicCoreResource Uses

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

AsBasicCoreResource is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsClientGroup Uses

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

AsClientGroup is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsCoreResource Uses

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

AsCoreResource is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsMachine Uses

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

AsMachine is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsMachineGroup Uses

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

AsMachineGroup is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsPort Uses

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

AsPort is the BasicCoreResource implementation for CoreResource.

func (CoreResource) AsProcess Uses

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

AsProcess is the BasicCoreResource implementation for CoreResource.

func (CoreResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CoreResource.

type Error Uses

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"`
}

Error error details.

type ErrorResponse Uses

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

ErrorResponse an error response from the API.

type HostingConfiguration Uses

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"`
}

HostingConfiguration describes the hosting configuration of a machine.

func (HostingConfiguration) AsAzureHostingConfiguration Uses

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

AsAzureHostingConfiguration is the BasicHostingConfiguration implementation for HostingConfiguration.

func (HostingConfiguration) AsBasicHostingConfiguration Uses

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

AsBasicHostingConfiguration is the BasicHostingConfiguration implementation for HostingConfiguration.

func (HostingConfiguration) AsHostingConfiguration Uses

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

AsHostingConfiguration is the BasicHostingConfiguration implementation for HostingConfiguration.

func (HostingConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for HostingConfiguration.

type HypervisorConfiguration Uses

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"`
}

HypervisorConfiguration describes the hypervisor configuration of a machine.

type HypervisorType Uses

type HypervisorType string

HypervisorType enumerates the values for hypervisor type.

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

func PossibleHypervisorTypeValues Uses

func PossibleHypervisorTypeValues() []HypervisorType

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

type ImageConfiguration Uses

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"`
}

ImageConfiguration describes the VM image of a machine.

type Ipv4NetworkInterface Uses

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

Ipv4NetworkInterface describes an IPv4 network interface.

type Ipv6NetworkInterface Uses

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

Ipv6NetworkInterface describes an IPv6 network interface.

type Kind Uses

type Kind string

Kind enumerates the values for kind.

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 Uses

func PossibleKindValues() []Kind

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

type KindBasicCoreResource Uses

type KindBasicCoreResource string

KindBasicCoreResource enumerates the values for kind basic core resource.

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 Uses

func PossibleKindBasicCoreResourceValues() []KindBasicCoreResource

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

type KindBasicHostingConfiguration Uses

type KindBasicHostingConfiguration string

KindBasicHostingConfiguration enumerates the values for kind basic hosting configuration.

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

func PossibleKindBasicHostingConfigurationValues Uses

func PossibleKindBasicHostingConfigurationValues() []KindBasicHostingConfiguration

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

type KindBasicMapRequest Uses

type KindBasicMapRequest string

KindBasicMapRequest enumerates the values for kind basic map request.

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 Uses

func PossibleKindBasicMapRequestValues() []KindBasicMapRequest

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

type KindBasicProcessHostingConfiguration Uses

type KindBasicProcessHostingConfiguration string

KindBasicProcessHostingConfiguration enumerates the values for kind basic process hosting configuration.

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

func PossibleKindBasicProcessHostingConfigurationValues Uses

func PossibleKindBasicProcessHostingConfigurationValues() []KindBasicProcessHostingConfiguration

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

type KindBasicRelationship Uses

type KindBasicRelationship string

KindBasicRelationship enumerates the values for kind basic relationship.

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

func PossibleKindBasicRelationshipValues Uses

func PossibleKindBasicRelationshipValues() []KindBasicRelationship

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

type Liveness Uses

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"`
}

Liveness specifies the contents of a check liveness response.

type Machine Uses

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"`
}

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.

func (Machine) AsBasicCoreResource Uses

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

AsBasicCoreResource is the BasicCoreResource implementation for Machine.

func (Machine) AsClientGroup Uses

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

AsClientGroup is the BasicCoreResource implementation for Machine.

func (Machine) AsCoreResource Uses

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

AsCoreResource is the BasicCoreResource implementation for Machine.

func (Machine) AsMachine Uses

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

AsMachine is the BasicCoreResource implementation for Machine.

func (Machine) AsMachineGroup Uses

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

AsMachineGroup is the BasicCoreResource implementation for Machine.

func (Machine) AsPort Uses

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

AsPort is the BasicCoreResource implementation for Machine.

func (Machine) AsProcess Uses

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

AsProcess is the BasicCoreResource implementation for Machine.

func (Machine) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Machine.

func (*Machine) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Machine struct.

type MachineCollection Uses

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"`
}

MachineCollection collection of Machine resources.

func (MachineCollection) IsEmpty Uses

func (mc MachineCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MachineCollectionIterator Uses

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

MachineCollectionIterator provides access to a complete listing of Machine values.

func NewMachineCollectionIterator Uses

func NewMachineCollectionIterator(page MachineCollectionPage) MachineCollectionIterator

Creates a new instance of the MachineCollectionIterator type.

func (*MachineCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter MachineCollectionIterator) NotDone() bool

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

func (MachineCollectionIterator) Response Uses

func (iter MachineCollectionIterator) Response() MachineCollection

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

func (MachineCollectionIterator) Value Uses

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 Uses

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

MachineCollectionPage contains a page of Machine values.

func NewMachineCollectionPage Uses

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

Creates a new instance of the MachineCollectionPage type.

func (*MachineCollectionPage) Next Uses

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 Uses

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 Uses

func (page MachineCollectionPage) NotDone() bool

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

func (MachineCollectionPage) Response Uses

func (page MachineCollectionPage) Response() MachineCollection

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

func (MachineCollectionPage) Values Uses

func (page MachineCollectionPage) Values() []Machine

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

type MachineCountsByOperatingSystem Uses

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"`
}

MachineCountsByOperatingSystem machines by operating system.

type MachineGroup Uses

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"`
}

MachineGroup a user-defined logical grouping of machines.

func (MachineGroup) AsBasicCoreResource Uses

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

AsBasicCoreResource is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsClientGroup Uses

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

AsClientGroup is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsCoreResource Uses

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

AsCoreResource is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsMachine Uses

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

AsMachine is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsMachineGroup Uses

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

AsMachineGroup is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsPort Uses

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

AsPort is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) AsProcess Uses

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

AsProcess is the BasicCoreResource implementation for MachineGroup.

func (MachineGroup) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MachineGroup.

func (*MachineGroup) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for MachineGroup struct.

type MachineGroupCollection Uses

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"`
}

MachineGroupCollection collection of Machine Group resources.

func (MachineGroupCollection) IsEmpty Uses

func (mgc MachineGroupCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MachineGroupCollectionIterator Uses

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

MachineGroupCollectionIterator provides access to a complete listing of MachineGroup values.

func NewMachineGroupCollectionIterator Uses

func NewMachineGroupCollectionIterator(page MachineGroupCollectionPage) MachineGroupCollectionIterator

Creates a new instance of the MachineGroupCollectionIterator type.

func (*MachineGroupCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter MachineGroupCollectionIterator) NotDone() bool

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

func (MachineGroupCollectionIterator) Response Uses

func (iter MachineGroupCollectionIterator) Response() MachineGroupCollection

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

func (MachineGroupCollectionIterator) Value Uses

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 Uses

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

MachineGroupCollectionPage contains a page of MachineGroup values.

func NewMachineGroupCollectionPage Uses

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

Creates a new instance of the MachineGroupCollectionPage type.

func (*MachineGroupCollectionPage) Next Uses

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 Uses

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 Uses

func (page MachineGroupCollectionPage) NotDone() bool

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

func (MachineGroupCollectionPage) Response Uses

func (page MachineGroupCollectionPage) Response() MachineGroupCollection

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

func (MachineGroupCollectionPage) Values Uses

func (page MachineGroupCollectionPage) Values() []MachineGroup

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

type MachineGroupMapRequest Uses

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"`
}

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

func (MachineGroupMapRequest) AsBasicMapRequest Uses

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

AsBasicMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsBasicMultipleMachinesMapRequest Uses

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

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsMachineGroupMapRequest Uses

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

AsMachineGroupMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsMachineListMapRequest Uses

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

AsMachineListMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsMapRequest Uses

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

AsMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsMultipleMachinesMapRequest Uses

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

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) AsSingleMachineDependencyMapRequest Uses

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

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for MachineGroupMapRequest.

func (MachineGroupMapRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MachineGroupMapRequest.

type MachineGroupProperties Uses

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"`
}

MachineGroupProperties resource properties.

type MachineGroupType Uses

type MachineGroupType string

MachineGroupType enumerates the values for machine group type.

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 Uses

func PossibleMachineGroupTypeValues() []MachineGroupType

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

type MachineGroupsClient Uses

type MachineGroupsClient struct {
    BaseClient
}

MachineGroupsClient is the service Map API Reference

func NewMachineGroupsClient Uses

func NewMachineGroupsClient(subscriptionID string) MachineGroupsClient

NewMachineGroupsClient creates an instance of the MachineGroupsClient client.

func NewMachineGroupsClientWithBaseURI Uses

func NewMachineGroupsClientWithBaseURI(baseURI string, subscriptionID string) MachineGroupsClient

NewMachineGroupsClientWithBaseURI creates an instance of the MachineGroupsClient client.

func (MachineGroupsClient) Create Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (MachineGroupsClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (MachineGroupsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

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.

func (MachineListMapRequest) AsBasicMapRequest Uses

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

AsBasicMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsBasicMultipleMachinesMapRequest Uses

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

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsMachineGroupMapRequest Uses

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

AsMachineGroupMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsMachineListMapRequest Uses

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

AsMachineListMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsMapRequest Uses

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

AsMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsMultipleMachinesMapRequest Uses

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

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) AsSingleMachineDependencyMapRequest Uses

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

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for MachineListMapRequest.

func (MachineListMapRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MachineListMapRequest.

type MachineProperties Uses

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"`
}

MachineProperties resource properties.

func (*MachineProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for MachineProperties struct.

type MachineRebootStatus Uses

type MachineRebootStatus string

MachineRebootStatus enumerates the values for machine reboot status.

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

func PossibleMachineRebootStatusValues Uses

func PossibleMachineRebootStatusValues() []MachineRebootStatus

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

type MachineReference Uses

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"`
}

MachineReference reference to a machine.

func (MachineReference) AsBasicResourceReference Uses

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

AsBasicResourceReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsClientGroupReference Uses

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

AsClientGroupReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsMachineReference Uses

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

AsMachineReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsMachineReferenceWithHints Uses

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

AsMachineReferenceWithHints is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsPortReference Uses

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

AsPortReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsProcessReference Uses

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

AsProcessReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) AsResourceReference Uses

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

AsResourceReference is the BasicResourceReference implementation for MachineReference.

func (MachineReference) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MachineReference.

type MachineReferenceWithHints Uses

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"`
}

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

func (MachineReferenceWithHints) AsBasicResourceReference Uses

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

AsBasicResourceReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsClientGroupReference Uses

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

AsClientGroupReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsMachineReference Uses

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

AsMachineReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsMachineReferenceWithHints Uses

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

AsMachineReferenceWithHints is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsPortReference Uses

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

AsPortReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsProcessReference Uses

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

AsProcessReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) AsResourceReference Uses

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

AsResourceReference is the BasicResourceReference implementation for MachineReferenceWithHints.

func (MachineReferenceWithHints) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MachineReferenceWithHints.

func (*MachineReferenceWithHints) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for MachineReferenceWithHints struct.

type MachineReferenceWithHintsProperties Uses

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"`
}

MachineReferenceWithHintsProperties machine reference with name and os hints.

type MachineResourcesConfiguration Uses

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"`
}

MachineResourcesConfiguration describes the resources of a machine.

type MachinesClient Uses

type MachinesClient struct {
    BaseClient
}

MachinesClient is the service Map API Reference

func NewMachinesClient Uses

func NewMachinesClient(subscriptionID string) MachinesClient

NewMachinesClient creates an instance of the MachinesClient client.

func NewMachinesClientWithBaseURI Uses

func NewMachinesClientWithBaseURI(baseURI string, subscriptionID string) MachinesClient

NewMachinesClientWithBaseURI creates an instance of the MachinesClient client.

func (MachinesClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

MachinesSummary a summary of the machines in the workspace.

func (MachinesSummary) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MachinesSummary.

func (*MachinesSummary) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for MachinesSummary struct.

type MachinesSummaryProperties Uses

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"`
}

MachinesSummaryProperties summarizes machines in the workspace.

type Map Uses

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

Map a map of resources and relationships between them.

type MapEdges Uses

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

MapEdges the edges (relationships) of a map.

type MapNodes Uses

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"`
}

MapNodes the nodes (entities) of a map.

type MapRequest Uses

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"`
}

MapRequest specifies the contents of request to generate a map.

func (MapRequest) AsBasicMapRequest Uses

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

AsBasicMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsBasicMultipleMachinesMapRequest Uses

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

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsMachineGroupMapRequest Uses

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

AsMachineGroupMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsMachineListMapRequest Uses

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

AsMachineListMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsMapRequest Uses

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

AsMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsMultipleMachinesMapRequest Uses

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

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) AsSingleMachineDependencyMapRequest Uses

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

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for MapRequest.

func (MapRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MapRequest.

type MapResponse Uses

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"`
}

MapResponse specified the contents of a map response.

type MapsClient Uses

type MapsClient struct {
    BaseClient
}

MapsClient is the service Map API Reference

func NewMapsClient Uses

func NewMapsClient(subscriptionID string) MapsClient

NewMapsClient creates an instance of the MapsClient client.

func NewMapsClientWithBaseURI Uses

func NewMapsClientWithBaseURI(baseURI string, subscriptionID string) MapsClient

NewMapsClientWithBaseURI creates an instance of the MapsClient client.

func (MapsClient) Generate Uses

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 Uses

func (client MapsClient) GeneratePreparer(ctx context.Context, resourceGroupName string, workspaceName string, request BasicMapRequest) (*http.Request, error)

GeneratePreparer prepares the Generate request.

func (MapsClient) GenerateResponder Uses

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 Uses

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 Uses

type MonitoringState string

MonitoringState enumerates the values for monitoring state.

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

func PossibleMonitoringStateValues Uses

func PossibleMonitoringStateValues() []MonitoringState

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

type MultipleMachinesMapRequest Uses

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"`
}

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

func (MultipleMachinesMapRequest) AsBasicMapRequest Uses

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

AsBasicMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsBasicMultipleMachinesMapRequest Uses

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

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsMachineGroupMapRequest Uses

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

AsMachineGroupMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsMachineListMapRequest Uses

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

AsMachineListMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsMapRequest Uses

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

AsMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsMultipleMachinesMapRequest Uses

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

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) AsSingleMachineDependencyMapRequest Uses

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

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for MultipleMachinesMapRequest.

func (MultipleMachinesMapRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MultipleMachinesMapRequest.

type NetworkConfiguration Uses

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"`
}

NetworkConfiguration describes the network configuration of a machine.

type OperatingSystemConfiguration Uses

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"`
}

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

type OperatingSystemFamily Uses

type OperatingSystemFamily string

OperatingSystemFamily enumerates the values for operating system family.

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

func PossibleOperatingSystemFamilyValues Uses

func PossibleOperatingSystemFamilyValues() []OperatingSystemFamily

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

type Port Uses

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"`
}

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.

func (Port) AsBasicCoreResource Uses

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

AsBasicCoreResource is the BasicCoreResource implementation for Port.

func (Port) AsClientGroup Uses

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

AsClientGroup is the BasicCoreResource implementation for Port.

func (Port) AsCoreResource Uses

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

AsCoreResource is the BasicCoreResource implementation for Port.

func (Port) AsMachine Uses

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

AsMachine is the BasicCoreResource implementation for Port.

func (Port) AsMachineGroup Uses

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

AsMachineGroup is the BasicCoreResource implementation for Port.

func (Port) AsPort Uses

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

AsPort is the BasicCoreResource implementation for Port.

func (Port) AsProcess Uses

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

AsProcess is the BasicCoreResource implementation for Port.

func (Port) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Port.

func (*Port) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Port struct.

type PortCollection Uses

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"`
}

PortCollection collection of Port resources.

func (PortCollection) IsEmpty Uses

func (pc PortCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PortCollectionIterator Uses

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

PortCollectionIterator provides access to a complete listing of Port values.

func NewPortCollectionIterator Uses

func NewPortCollectionIterator(page PortCollectionPage) PortCollectionIterator

Creates a new instance of the PortCollectionIterator type.

func (*PortCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter PortCollectionIterator) NotDone() bool

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

func (PortCollectionIterator) Response Uses

func (iter PortCollectionIterator) Response() PortCollection

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

func (PortCollectionIterator) Value Uses

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 Uses

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

PortCollectionPage contains a page of Port values.

func NewPortCollectionPage Uses

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

Creates a new instance of the PortCollectionPage type.

func (*PortCollectionPage) Next Uses

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 Uses

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 Uses

func (page PortCollectionPage) NotDone() bool

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

func (PortCollectionPage) Response Uses

func (page PortCollectionPage) Response() PortCollection

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

func (PortCollectionPage) Values Uses

func (page PortCollectionPage) Values() []Port

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

type PortProperties Uses

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"`
}

PortProperties resource properties.

func (*PortProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for PortProperties struct.

type PortReference Uses

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"`
}

PortReference reference to a port.

func (PortReference) AsBasicResourceReference Uses

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

AsBasicResourceReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsClientGroupReference Uses

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

AsClientGroupReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsMachineReference Uses

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

AsMachineReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsMachineReferenceWithHints Uses

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

AsMachineReferenceWithHints is the BasicResourceReference implementation for PortReference.

func (PortReference) AsPortReference Uses

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

AsPortReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsProcessReference Uses

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

AsProcessReference is the BasicResourceReference implementation for PortReference.

func (PortReference) AsResourceReference Uses

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

AsResourceReference is the BasicResourceReference implementation for PortReference.

func (PortReference) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for PortReference.

func (*PortReference) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for PortReference struct.

type PortReferenceProperties Uses

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"`
}

PortReferenceProperties resource properties.

type PortsClient Uses

type PortsClient struct {
    BaseClient
}

PortsClient is the service Map API Reference

func NewPortsClient Uses

func NewPortsClient(subscriptionID string) PortsClient

NewPortsClient creates an instance of the PortsClient client.

func NewPortsClientWithBaseURI Uses

func NewPortsClientWithBaseURI(baseURI string, subscriptionID string) PortsClient

NewPortsClientWithBaseURI creates an instance of the PortsClient client.

func (PortsClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

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

func (Process) AsBasicCoreResource Uses

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

AsBasicCoreResource is the BasicCoreResource implementation for Process.

func (Process) AsClientGroup Uses

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

AsClientGroup is the BasicCoreResource implementation for Process.

func (Process) AsCoreResource Uses

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

AsCoreResource is the BasicCoreResource implementation for Process.

func (Process) AsMachine Uses

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

AsMachine is the BasicCoreResource implementation for Process.

func (Process) AsMachineGroup Uses

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

AsMachineGroup is the BasicCoreResource implementation for Process.

func (Process) AsPort Uses

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

AsPort is the BasicCoreResource implementation for Process.

func (Process) AsProcess Uses

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

AsProcess is the BasicCoreResource implementation for Process.

func (Process) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Process.

func (*Process) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Process struct.

type ProcessCollection Uses

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"`
}

ProcessCollection collection of Process resources.

func (ProcessCollection) IsEmpty Uses

func (pc ProcessCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProcessCollectionIterator Uses

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

ProcessCollectionIterator provides access to a complete listing of Process values.

func NewProcessCollectionIterator Uses

func NewProcessCollectionIterator(page ProcessCollectionPage) ProcessCollectionIterator

Creates a new instance of the ProcessCollectionIterator type.

func (*ProcessCollectionIterator) Next Uses

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 Uses

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 Uses

func (iter ProcessCollectionIterator) NotDone() bool

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

func (ProcessCollectionIterator) Response Uses

func (iter ProcessCollectionIterator) Response() ProcessCollection

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

func (ProcessCollectionIterator) Value Uses

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 Uses

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

ProcessCollectionPage contains a page of Process values.

func NewProcessCollectionPage Uses

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

Creates a new instance of the ProcessCollectionPage type.

func (*ProcessCollectionPage) Next Uses

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 Uses

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 Uses

func (page ProcessCollectionPage) NotDone() bool

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

func (ProcessCollectionPage) Response Uses

func (page ProcessCollectionPage) Response() ProcessCollection

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

func (ProcessCollectionPage) Values Uses

func (page ProcessCollectionPage) Values() []Process

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

type ProcessDetails Uses

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"`
}

ProcessDetails describes process metadata.

type ProcessHostedService Uses

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"`
}

ProcessHostedService a service hosted by a process.

type ProcessHostingConfiguration Uses

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"`
}

ProcessHostingConfiguration describes the hosting configuration of a process.

func (ProcessHostingConfiguration) AsAzureProcessHostingConfiguration Uses

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

AsAzureProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for ProcessHostingConfiguration.

func (ProcessHostingConfiguration) AsBasicProcessHostingConfiguration Uses

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

AsBasicProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for ProcessHostingConfiguration.

func (ProcessHostingConfiguration) AsProcessHostingConfiguration Uses

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

AsProcessHostingConfiguration is the BasicProcessHostingConfiguration implementation for ProcessHostingConfiguration.

func (ProcessHostingConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProcessHostingConfiguration.

type ProcessProperties Uses

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"`
}

ProcessProperties resource properties.

func (*ProcessProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ProcessProperties struct.

type ProcessReference Uses

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"`
}

ProcessReference reference to a process.

func (ProcessReference) AsBasicResourceReference Uses

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

AsBasicResourceReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsClientGroupReference Uses

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

AsClientGroupReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsMachineReference Uses

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

AsMachineReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsMachineReferenceWithHints Uses

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

AsMachineReferenceWithHints is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsPortReference Uses

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

AsPortReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsProcessReference Uses

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

AsProcessReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) AsResourceReference Uses

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

AsResourceReference is the BasicResourceReference implementation for ProcessReference.

func (ProcessReference) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProcessReference.

func (*ProcessReference) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ProcessReference struct.

type ProcessReferenceProperties Uses

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

ProcessReferenceProperties resource properties.

type ProcessRole Uses

type ProcessRole string

ProcessRole enumerates the values for process role.

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

func PossibleProcessRoleValues Uses

func PossibleProcessRoleValues() []ProcessRole

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

type ProcessUser Uses

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"`
}

ProcessUser describes the user under which a process is running.

type ProcessesClient Uses

type ProcessesClient struct {
    BaseClient
}

ProcessesClient is the service Map API Reference

func NewProcessesClient Uses

func NewProcessesClient(subscriptionID string) ProcessesClient

NewProcessesClient creates an instance of the ProcessesClient client.

func NewProcessesClientWithBaseURI Uses

func NewProcessesClientWithBaseURI(baseURI string, subscriptionID string) ProcessesClient

NewProcessesClientWithBaseURI creates an instance of the ProcessesClient client.

func (ProcessesClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type Provider string

Provider enumerates the values for provider.

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

func PossibleProviderValues Uses

func PossibleProviderValues() []Provider

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

type Provider1 Uses

type Provider1 string

Provider1 enumerates the values for provider 1.

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

func PossibleProvider1Values Uses

func PossibleProvider1Values() []Provider1

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

type Relationship Uses

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"`
}

Relationship a typed relationship between two entities.

func (Relationship) AsAcceptor Uses

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

AsAcceptor is the BasicRelationship implementation for Relationship.

func (Relationship) AsBasicRelationship Uses

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

AsBasicRelationship is the BasicRelationship implementation for Relationship.

func (Relationship) AsConnection Uses

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

AsConnection is the BasicRelationship implementation for Relationship.

func (Relationship) AsRelationship Uses

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

AsRelationship is the BasicRelationship implementation for Relationship.

func (Relationship) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Relationship.

type RelationshipProperties Uses

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"`
}

RelationshipProperties relationship properties.

func (*RelationshipProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for RelationshipProperties struct.

type Resource Uses

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"`
}

Resource resource model definition.

type ResourceReference Uses

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"`
}

ResourceReference represents a reference to another resource.

func (ResourceReference) AsBasicResourceReference Uses

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

AsBasicResourceReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsClientGroupReference Uses

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

AsClientGroupReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsMachineReference Uses

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

AsMachineReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsMachineReferenceWithHints Uses

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

AsMachineReferenceWithHints is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsPortReference Uses

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

AsPortReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsProcessReference Uses

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

AsProcessReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) AsResourceReference Uses

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

AsResourceReference is the BasicResourceReference implementation for ResourceReference.

func (ResourceReference) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ResourceReference.

type SingleMachineDependencyMapRequest Uses

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"`
}

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

func (SingleMachineDependencyMapRequest) AsBasicMapRequest Uses

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

AsBasicMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsBasicMultipleMachinesMapRequest Uses

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

AsBasicMultipleMachinesMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsMachineGroupMapRequest Uses

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

AsMachineGroupMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsMachineListMapRequest Uses

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

AsMachineListMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsMapRequest Uses

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

AsMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsMultipleMachinesMapRequest Uses

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

AsMultipleMachinesMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) AsSingleMachineDependencyMapRequest Uses

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

AsSingleMachineDependencyMapRequest is the BasicMapRequest implementation for SingleMachineDependencyMapRequest.

func (SingleMachineDependencyMapRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SingleMachineDependencyMapRequest.

type SummariesClient Uses

type SummariesClient struct {
    BaseClient
}

SummariesClient is the service Map API Reference

func NewSummariesClient Uses

func NewSummariesClient(subscriptionID string) SummariesClient

NewSummariesClient creates an instance of the SummariesClient client.

func NewSummariesClientWithBaseURI Uses

func NewSummariesClientWithBaseURI(baseURI string, subscriptionID string) SummariesClient

NewSummariesClientWithBaseURI creates an instance of the SummariesClient client.

func (SummariesClient) GetMachines Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

Summary base for all resource summaries.

type SummaryProperties Uses

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"`
}

SummaryProperties base for all summaries.

type Timezone Uses

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

Timezone describes a timezone.

type VirtualMachineConfiguration Uses

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"`
}

VirtualMachineConfiguration describes the virtualization-related configuration of a machine.

type VirtualMachineType Uses

type VirtualMachineType string

VirtualMachineType enumerates the values for virtual machine type.

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 Uses

func PossibleVirtualMachineTypeValues() []VirtualMachineType

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

type VirtualizationState Uses

type VirtualizationState string

VirtualizationState enumerates the values for virtualization state.

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

func PossibleVirtualizationStateValues Uses

func PossibleVirtualizationStateValues() []VirtualizationState

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

Directories

PathSynopsis
servicemapapi

Package servicemap imports 10 packages (graph) and is imported by 4 packages. Updated 2019-07-31. Refresh now. Tools for package owners.