共用方式為


Annotations class

代表註釋的類別。

建構函式

Annotations(ApplicationInsightsManagementClientContext)

建立批注。

方法

create(string, string, Annotation, RequestOptionsBase)

建立 Application Insights 元件的註釋。

create(string, string, Annotation, RequestOptionsBase, ServiceCallback<Annotation[]>)
create(string, string, Annotation, ServiceCallback<Annotation[]>)
deleteMethod(string, string, string, RequestOptionsBase)

刪除 Application Insights 元件的註釋。

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

取得指定標識碼的註釋。

get(string, string, string, RequestOptionsBase, ServiceCallback<Annotation[]>)
get(string, string, string, ServiceCallback<Annotation[]>)
list(string, string, string, string, RequestOptionsBase)

取得指定時間範圍的元件批注清單

list(string, string, string, string, RequestOptionsBase, ServiceCallback<AnnotationsListResult>)
list(string, string, string, string, ServiceCallback<AnnotationsListResult>)

建構函式詳細資料

Annotations(ApplicationInsightsManagementClientContext)

建立批注。

new Annotations(client: ApplicationInsightsManagementClientContext)

參數

client
ApplicationInsightsManagementClientContext

服務客戶端的參考。

方法詳細資料

create(string, string, Annotation, RequestOptionsBase)

建立 Application Insights 元件的註釋。

function create(resourceGroupName: string, resourceName: string, annotationProperties: Annotation, options?: RequestOptionsBase): Promise<AnnotationsCreateResponse>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationProperties
Annotation

需要指定的屬性,才能建立ApplicationInsights元件的批注。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.AnnotationsCreateResponse>

create(string, string, Annotation, RequestOptionsBase, ServiceCallback<Annotation[]>)

function create(resourceGroupName: string, resourceName: string, annotationProperties: Annotation, options: RequestOptionsBase, callback: ServiceCallback<Annotation[]>)

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationProperties
Annotation

需要指定的屬性,才能建立ApplicationInsights元件的批注。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<Annotation[]>

回呼

create(string, string, Annotation, ServiceCallback<Annotation[]>)

function create(resourceGroupName: string, resourceName: string, annotationProperties: Annotation, callback: ServiceCallback<Annotation[]>)

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationProperties
Annotation

需要指定的屬性,才能建立ApplicationInsights元件的批注。

callback

ServiceCallback<Annotation[]>

回呼

deleteMethod(string, string, string, RequestOptionsBase)

刪除 Application Insights 元件的註釋。

function deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: RequestOptionsBase): Promise<RestResponse>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationId

string

唯一注釋標識碼。 這在 Application Insights 元件內是唯一的。

options
RequestOptionsBase

選擇性參數

傳回

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationId

string

唯一注釋標識碼。 這在 Application Insights 元件內是唯一的。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<void>

回呼

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, callback: ServiceCallback<void>)

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationId

string

唯一注釋標識碼。 這在 Application Insights 元件內是唯一的。

callback

ServiceCallback<void>

回呼

get(string, string, string, RequestOptionsBase)

取得指定標識碼的註釋。

function get(resourceGroupName: string, resourceName: string, annotationId: string, options?: RequestOptionsBase): Promise<AnnotationsGetResponse>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationId

string

唯一注釋標識碼。 這在 Application Insights 元件內是唯一的。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.AnnotationsGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Annotation[]>)

function get(resourceGroupName: string, resourceName: string, annotationId: string, options: RequestOptionsBase, callback: ServiceCallback<Annotation[]>)

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationId

string

唯一注釋標識碼。 這在 Application Insights 元件內是唯一的。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<Annotation[]>

回呼

get(string, string, string, ServiceCallback<Annotation[]>)

function get(resourceGroupName: string, resourceName: string, annotationId: string, callback: ServiceCallback<Annotation[]>)

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

annotationId

string

唯一注釋標識碼。 這在 Application Insights 元件內是唯一的。

callback

ServiceCallback<Annotation[]>

回呼

list(string, string, string, string, RequestOptionsBase)

取得指定時間範圍的元件批注清單

function list(resourceGroupName: string, resourceName: string, start: string, end: string, options?: RequestOptionsBase): Promise<AnnotationsListResponse>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

start

string

從中查詢批注的開始時間不能超過目前日期的 90 天。

end

string

查詢註釋的結束時間。

options
RequestOptionsBase

選擇性參數

傳回

Promise<Models.AnnotationsListResponse>

list(string, string, string, string, RequestOptionsBase, ServiceCallback<AnnotationsListResult>)

function list(resourceGroupName: string, resourceName: string, start: string, end: string, options: RequestOptionsBase, callback: ServiceCallback<AnnotationsListResult>)

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

start

string

從中查詢批注的開始時間不能超過目前日期的 90 天。

end

string

查詢註釋的結束時間。

options
RequestOptionsBase

選擇性參數

list(string, string, string, string, ServiceCallback<AnnotationsListResult>)

function list(resourceGroupName: string, resourceName: string, start: string, end: string, callback: ServiceCallback<AnnotationsListResult>)

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

resourceName

string

Application Insights 元件資源的名稱。

start

string

從中查詢批注的開始時間不能超過目前日期的 90 天。

end

string

查詢註釋的結束時間。