IssueResource Interface

public interface IssueResource

An immutable client-side representation of IssueResource.

Method Summary

Modifier and Type Method and Description
abstract InvestigationResult addInvestigationResult(InvestigationResultInner body)

Adds investigation result.

abstract Response<InvestigationResult> addInvestigationResultWithResponse(InvestigationResultInner body, Context context)

Adds investigation result.

abstract RelatedAlerts addOrUpdateAlerts(RelatedAlertsInner body)

Add or update alerts associated with an issue.

abstract Response<RelatedAlerts> addOrUpdateAlertsWithResponse(RelatedAlertsInner body, Context context)

Add or update alerts associated with an issue.

abstract RelatedResources addOrUpdateResources(RelatedResourcesInner body)

Add or update resources associated with an issue.

abstract Response<RelatedResources> addOrUpdateResourcesWithResponse(RelatedResourcesInner body, Context context)

Add or update resources associated with an issue.

abstract BackgroundVisualization fetchBackgroundVisualization()

Fetch the background visualization of the issue.

abstract Response<BackgroundVisualization> fetchBackgroundVisualizationWithResponse(Context context)

Fetch the background visualization of the issue.

abstract InvestigationResult fetchInvestigationResult(FetchInvestigationResultParameters body)

Fetch investigation result.

abstract Response<InvestigationResult> fetchInvestigationResultWithResponse(FetchInvestigationResultParameters body, Context context)

Fetch investigation result.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract IssueResourceInner innerModel()

Gets the inner com.azure.resourcemanager.monitor.workspaces.fluent.models.IssueResourceInner object.

abstract PagedRelatedAlert listAlerts(ListParameter body)

List all alerts in the issue - this method uses pagination to return all alerts.

abstract Response<PagedRelatedAlert> listAlertsWithResponse(ListParameter body, Context context)

List all alerts in the issue - this method uses pagination to return all alerts.

abstract PagedRelatedResource listResources(ListParameter body)

List all resources in the issue - this method uses pagination to return all resources.

abstract Response<PagedRelatedResource> listResourcesWithResponse(ListParameter body, Context context)

List all resources in the issue - this method uses pagination to return all resources.

abstract String name()

Gets the name property: The name of the resource.

abstract IssueProperties properties()

Gets the properties property: The resource-specific properties for this resource.

abstract IssueResource refresh()

Refreshes the resource to sync with Azure.

abstract IssueResource refresh(Context context)

Refreshes the resource to sync with Azure.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract void setBackgroundVisualization(BackgroundVisualizationInner body)

Set the background visualization for the issue.

abstract Response<Void> setBackgroundVisualizationWithResponse(BackgroundVisualizationInner body, Context context)

Set the background visualization for the issue.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the IssueResource resource.

Method Details

addInvestigationResult

public abstract InvestigationResult addInvestigationResult(InvestigationResultInner body)

Adds investigation result.

Parameters:

body - The content of the action request.

Returns:

details about the investigation result.

addInvestigationResultWithResponse

public abstract Response<InvestigationResult> addInvestigationResultWithResponse(InvestigationResultInner body, Context context)

Adds investigation result.

Parameters:

body - The content of the action request.
context - The context to associate with this operation.

Returns:

details about the investigation result along with Response<T>.

addOrUpdateAlerts

public abstract RelatedAlerts addOrUpdateAlerts(RelatedAlertsInner body)

Add or update alerts associated with an issue.

Parameters:

body - The content of the action request.

Returns:

a list of related alerts.

addOrUpdateAlertsWithResponse

public abstract Response<RelatedAlerts> addOrUpdateAlertsWithResponse(RelatedAlertsInner body, Context context)

Add or update alerts associated with an issue.

Parameters:

body - The content of the action request.
context - The context to associate with this operation.

Returns:

a list of related alerts along with Response<T>.

addOrUpdateResources

public abstract RelatedResources addOrUpdateResources(RelatedResourcesInner body)

Add or update resources associated with an issue.

Parameters:

body - The content of the action request.

Returns:

a list of related resources.

addOrUpdateResourcesWithResponse

public abstract Response<RelatedResources> addOrUpdateResourcesWithResponse(RelatedResourcesInner body, Context context)

Add or update resources associated with an issue.

Parameters:

body - The content of the action request.
context - The context to associate with this operation.

Returns:

a list of related resources along with Response<T>.

fetchBackgroundVisualization

public abstract BackgroundVisualization fetchBackgroundVisualization()

Fetch the background visualization of the issue.

Returns:

the issue background visualization.

fetchBackgroundVisualizationWithResponse

public abstract Response<BackgroundVisualization> fetchBackgroundVisualizationWithResponse(Context context)

Fetch the background visualization of the issue.

Parameters:

context - The context to associate with this operation.

Returns:

the issue background visualization along with Response<T>.

fetchInvestigationResult

public abstract InvestigationResult fetchInvestigationResult(FetchInvestigationResultParameters body)

Fetch investigation result.

Parameters:

body - The content of the action request.

Returns:

details about the investigation result.

fetchInvestigationResultWithResponse

public abstract Response<InvestigationResult> fetchInvestigationResultWithResponse(FetchInvestigationResultParameters body, Context context)

Fetch investigation result.

Parameters:

body - The content of the action request.
context - The context to associate with this operation.

Returns:

details about the investigation result along with Response<T>.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract IssueResourceInner innerModel()

Gets the inner com.azure.resourcemanager.monitor.workspaces.fluent.models.IssueResourceInner object.

Returns:

the inner object.

listAlerts

public abstract PagedRelatedAlert listAlerts(ListParameter body)

List all alerts in the issue - this method uses pagination to return all alerts.

Parameters:

body - The content of the action request.

Returns:

paged collection of RelatedAlert items.

listAlertsWithResponse

public abstract Response<PagedRelatedAlert> listAlertsWithResponse(ListParameter body, Context context)

List all alerts in the issue - this method uses pagination to return all alerts.

Parameters:

body - The content of the action request.
context - The context to associate with this operation.

Returns:

paged collection of RelatedAlert items along with Response<T>.

listResources

public abstract PagedRelatedResource listResources(ListParameter body)

List all resources in the issue - this method uses pagination to return all resources.

Parameters:

body - The content of the action request.

Returns:

paged collection of RelatedResource items.

listResourcesWithResponse

public abstract Response<PagedRelatedResource> listResourcesWithResponse(ListParameter body, Context context)

List all resources in the issue - this method uses pagination to return all resources.

Parameters:

body - The content of the action request.
context - The context to associate with this operation.

Returns:

paged collection of RelatedResource items along with Response<T>.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

properties

public abstract IssueProperties properties()

Gets the properties property: The resource-specific properties for this resource.

Returns:

the properties value.

refresh

public abstract IssueResource refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract IssueResource refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

setBackgroundVisualization

public abstract void setBackgroundVisualization(BackgroundVisualizationInner body)

Set the background visualization for the issue.

Parameters:

body - The content of the action request.

setBackgroundVisualizationWithResponse

public abstract Response<Void> setBackgroundVisualizationWithResponse(BackgroundVisualizationInner body, Context context)

Set the background visualization for the issue.

Parameters:

body - The content of the action request.
context - The context to associate with this operation.

Returns:

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract IssueResource.Update update()

Begins update for the IssueResource resource.

Returns:

the stage of resource update.

Applies to