次の方法で共有


Annotations Interface

public interface Annotations

Resource collection API of Annotations.

Method Summary

Modifier and Type Method and Description
abstract List<Annotation> create(String resourceGroupName, String resourceName, AnnotationInner annotationProperties)

Create an Annotation of an Application Insights component.

abstract Response<List<Annotation>> createWithResponse(String resourceGroupName, String resourceName, AnnotationInner annotationProperties, Context context)

Create an Annotation of an Application Insights component.

abstract void delete(String resourceGroupName, String resourceName, String annotationId)

Delete an Annotation of an Application Insights component.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String annotationId, Context context)

Delete an Annotation of an Application Insights component.

abstract List<Annotation> get(String resourceGroupName, String resourceName, String annotationId)

Get the annotation for given id.

abstract Response<List<Annotation>> getWithResponse(String resourceGroupName, String resourceName, String annotationId, Context context)

Get the annotation for given id.

abstract PagedIterable<Annotation> list(String resourceGroupName, String resourceName, String start, String end)

Gets the list of annotations for a component for given time range.

abstract PagedIterable<Annotation> list(String resourceGroupName, String resourceName, String start, String end, Context context)

Gets the list of annotations for a component for given time range.

Method Details

create

public abstract List<Annotation> create(String resourceGroupName, String resourceName, AnnotationInner annotationProperties)

Create an Annotation of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
annotationProperties - Properties that need to be specified to create an annotation of a Application Insights component.

Returns:

array of Annotation.

createWithResponse

public abstract Response<List<Annotation>> createWithResponse(String resourceGroupName, String resourceName, AnnotationInner annotationProperties, Context context)

Create an Annotation of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
annotationProperties - Properties that need to be specified to create an annotation of a Application Insights component.
context - The context to associate with this operation.

Returns:

array of Annotation along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String resourceName, String annotationId)

Delete an Annotation of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
annotationId - The unique annotation ID. This is unique within a Application Insights component.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String resourceName, String annotationId, Context context)

Delete an Annotation of an Application Insights component.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
annotationId - The unique annotation ID. This is unique within a Application Insights component.
context - The context to associate with this operation.

Returns:

get

public abstract List<Annotation> get(String resourceGroupName, String resourceName, String annotationId)

Get the annotation for given id.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
annotationId - The unique annotation ID. This is unique within a Application Insights component.

Returns:

the annotation for given id.

getWithResponse

public abstract Response<List<Annotation>> getWithResponse(String resourceGroupName, String resourceName, String annotationId, Context context)

Get the annotation for given id.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
annotationId - The unique annotation ID. This is unique within a Application Insights component.
context - The context to associate with this operation.

Returns:

the annotation for given id along with Response<T>.

list

public abstract PagedIterable<Annotation> list(String resourceGroupName, String resourceName, String start, String end)

Gets the list of annotations for a component for given time range.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
start - The start time to query from for annotations, cannot be older than 90 days from current date.
end - The end time to query for annotations.

Returns:

the list of annotations for a component for given time range as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<Annotation> list(String resourceGroupName, String resourceName, String start, String end, Context context)

Gets the list of annotations for a component for given time range.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the Application Insights component resource.
start - The start time to query from for annotations, cannot be older than 90 days from current date.
end - The end time to query for annotations.
context - The context to associate with this operation.

Returns:

the list of annotations for a component for given time range as paginated response with PagedIterable<T>.

Applies to