跳至主要内容

此浏览器不再受支持。

请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。

下载 Microsoft Edge 有关 Internet Explorer 和 Microsoft Edge 的详细信息
microsoft-foundry.rest.security.o-auth2-auth

Schedules

Get a schedule

GET /schedules/{id}

Retrieves the specified schedule resource.

查询参数

api-version string 必需

The API version to use for this operation.

路径参数

id string 必需

Identifier of the schedule.

标头参数

Foundry-Features enum 必需

A feature flag opt-in required when using preview operations or modifying persisted preview resources.

Schedules=V1Preview

响应

The request has succeeded.

正文

Content-Type: application/json
id string 必需

Identifier of the schedule.

displayName string

Name of the schedule.

description string

Description of the schedule.

enabled boolean 必需

Enabled status of the schedule.

provisioningStatus string | enum

Schedule provisioning status.

以下任何项:
string
enum
CreatingUpdatingDeletingSucceededFailed
trigger Cron | Recurrence | OneTime 必需

Base model for Trigger of the schedule.

下列类型作之一:
Cron CronTrigger

Cron based trigger.

type enum 必需
Cron
expression string 必需

Five-field cron expression that defines the schedule frequency: minute hour day-of-month month day-of-week.

timeZone string

Time zone for the cron schedule. Defaults to UTC.

startTime string

Start time for the cron schedule in ISO 8601 format.

endTime string

End time for the cron schedule in ISO 8601 format.

Recurrence RecurrenceTrigger

Recurrence based trigger.

type enum 必需

Type of the trigger.

Recurrence
startTime string

Start time for the recurrence schedule in ISO 8601 format.

endTime string

End time for the recurrence schedule in ISO 8601 format.

timeZone string

Time zone for the recurrence schedule. Defaults to UTC.

interval integer 必需

Interval for the recurrence schedule.

schedule Hourly | Daily | Weekly | Monthly 必需

Recurrence schedule model.

下列类型作之一:
Hourly HourlyRecurrenceSchedule

Hourly recurrence schedule.

type enum 必需
Hourly
Daily DailyRecurrenceSchedule

Daily recurrence schedule.

type enum 必需

Daily recurrence type.

Daily
hours integer[]

Hours for the recurrence schedule. If omitted, the service uses the current UTC hour when the schedule is created.

Weekly WeeklyRecurrenceSchedule

Weekly recurrence schedule.

type enum 必需

Weekly recurrence type.

Weekly
daysOfWeek DayOfWeek[] 必需

Days of the week for the recurrence schedule.

Monthly MonthlyRecurrenceSchedule

Monthly recurrence schedule.

type enum 必需

Monthly recurrence type.

Monthly
daysOfMonth integer[] 必需

Days of the month for the recurrence schedule.

OneTime OneTimeTrigger

One-time trigger.

type enum 必需
OneTime
triggerAt string 必需

Date and time for the one-time trigger in ISO 8601 format.

timeZone string

Time zone for the one-time trigger. Defaults to UTC.

task Evaluation | Insight 必需

Schedule task model.

下列类型作之一:
Evaluation EvaluationScheduleTask

Evaluation task for the schedule.

type enum 必需
Evaluation
evalId string 必需

Identifier of the evaluation group.

evalRun object 必需

The evaluation run payload.

Insight InsightScheduleTask

Insight task for the schedule.

type enum 必需
Insight
insight Insight 必需

The response body for cluster insights.

id string 必需

The unique identifier for the insights report.

metadata InsightsMetadata 必需

Metadata about the insights.

createdAt string 必需

The timestamp when the insights were created.

completedAt string

The timestamp when the insights were completed.

state enum | string 必需

Enum describing allowed operation states.

以下任何项:
enum
NotStartedRunningSucceededFailedCanceled
string
displayName string 必需

User friendly display name for the insight.

request EvaluationRunClusterInsight | AgentClusterInsight | EvaluationComparison 必需

The request of the insights report.

下列类型作之一:
EvaluationRunClusterInsight EvaluationRunClusterInsightRequest

Insights on set of Evaluation Results

type enum 必需

The type of insights request.

EvaluationRunClusterInsight
evalId string 必需

Evaluation Id for the insights.

runIds string[] 必需

List of evaluation run IDs for the insights.

modelConfiguration InsightModelConfiguration

Configuration of the model used in the insight generation.

modelDeploymentName string 必需

The model deployment to be evaluated. Accepts either the deployment name alone or with the connection name as '{connectionName}/<modelDeploymentName>'.

AgentClusterInsight AgentClusterInsightRequest

Insights on set of Agent Evaluation Results

type enum 必需

The type of request.

AgentClusterInsight
agentName string 必需

Identifier for the agent.

modelConfiguration InsightModelConfiguration

Configuration of the model used in the insight generation.

modelDeploymentName string 必需

The model deployment to be evaluated. Accepts either the deployment name alone or with the connection name as '{connectionName}/<modelDeploymentName>'.

EvaluationComparison EvaluationComparisonInsightRequest

Evaluation Comparison Request

type enum 必需

The type of request.

EvaluationComparison
evalId string 必需

Identifier for the evaluation.

baselineRunId string 必需

The baseline run ID for comparison.

treatmentRunIds string[] 必需

List of treatment run IDs for comparison.

result EvaluationComparison | EvaluationRunClusterInsight | AgentClusterInsight

The result of the insights.

下列类型作之一:
EvaluationComparison EvaluationComparisonInsightResult

Insights from the evaluation comparison.

type enum 必需

The type of insights result.

EvaluationComparison
comparisons EvalRunResultComparison[] 必需

Comparison results for each treatment run against the baseline.

method string 必需

The statistical method used for comparison.

EvaluationRunClusterInsight EvaluationRunClusterInsightResult

Insights from the evaluation run cluster analysis.

type enum 必需

The type of insights result.

EvaluationRunClusterInsight
clusterInsight ClusterInsightResult 必需

Insights from the cluster analysis.

summary InsightSummary 必需

Summary of the error cluster analysis.

sampleCount integer 必需

Total number of samples analyzed.

uniqueSubclusterCount integer 必需

Total number of unique subcluster labels.

uniqueClusterCount integer 必需

Total number of unique clusters.

method string 必需

Method used for clustering.

usage ClusterTokenUsage 必需

Token usage for cluster analysis

inputTokenUsage integer 必需

input token usage

outputTokenUsage integer 必需

output token usage

totalTokenUsage integer 必需

total token usage

clusters InsightCluster[] 必需

List of clusters identified in the insights.

coordinates object

Optional mapping of IDs to 2D coordinates used by the UX for visualization. The map keys are string identifiers (for example, a cluster id or a sample id) and the values are the coordinates and visual size for rendering on a 2D chart. This property is omitted unless the client requests coordinates (for example, by passing includeCoordinates=true as a query parameter). Example: { "cluster-1": { "x": 12, "y": 34, "size": 8 }, "sample-123": { "x": 18, "y": 22, "size": 4 } } Coordinates are intended only for client-side visualization and do not modify the canonical insights results.

[key: string] ChartCoordinate

Coordinates for the analysis chart.

x integer 必需

X-axis coordinate.

y integer 必需

Y-axis coordinate.

size integer 必需

Size of the chart element.

AgentClusterInsight AgentClusterInsightResult

Insights from the agent cluster analysis.

type enum 必需

The type of insights result.

AgentClusterInsight
clusterInsight ClusterInsightResult 必需

Insights from the cluster analysis.

summary InsightSummary 必需

Summary of the error cluster analysis.

sampleCount integer 必需

Total number of samples analyzed.

uniqueSubclusterCount integer 必需

Total number of unique subcluster labels.

uniqueClusterCount integer 必需

Total number of unique clusters.

method string 必需

Method used for clustering.

usage ClusterTokenUsage 必需

Token usage for cluster analysis

inputTokenUsage integer 必需

input token usage

outputTokenUsage integer 必需

output token usage

totalTokenUsage integer 必需

total token usage

clusters InsightCluster[] 必需

List of clusters identified in the insights.

coordinates object

Optional mapping of IDs to 2D coordinates used by the UX for visualization. The map keys are string identifiers (for example, a cluster id or a sample id) and the values are the coordinates and visual size for rendering on a 2D chart. This property is omitted unless the client requests coordinates (for example, by passing includeCoordinates=true as a query parameter). Example: { "cluster-1": { "x": 12, "y": 34, "size": 8 }, "sample-123": { "x": 18, "y": 22, "size": 4 } } Coordinates are intended only for client-side visualization and do not modify the canonical insights results.

[key: string] ChartCoordinate

Coordinates for the analysis chart.

x integer 必需

X-axis coordinate.

y integer 必需

Y-axis coordinate.

size integer 必需

Size of the chart element.

tags object

Schedule's tags. Unlike properties, tags are fully mutable.

[key: string] string
properties object

Schedule's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed.

[key: string] string
systemData object 必需

System metadata for the resource.

[key: string] string

Client error

标头

x-ms-error-code string

String error code indicating what went wrong.

正文

Content-Type: application/json
error Azure.Core.Foundations.Error 必需

The error object.

code string 必需

One of a server-defined set of error codes.

message string 必需

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

Server error

标头

x-ms-error-code string

String error code indicating what went wrong.

正文

Content-Type: application/json
error Azure.Core.Foundations.Error 必需

The error object.

code string 必需

One of a server-defined set of error codes.

message string 必需

A human-readable representation of the error.

target string

The target of the error.

details Azure.Core.Foundations.Error[]

An array of details about specific errors that led to this reported error.

innererror Azure.Core.Foundations.InnerError

An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.

code string

One of a server-defined set of error codes.

innererror Azure.Core.Foundations.InnerError

请求

GET /schedules/{id} HTTP/1.1

响应

Status: 200
Content-Type: application/json
Status: 4XX
Content-Type: application/json
Status: 5XX
Content-Type: application/json
zh-cn
你的隐私选择
  • AI 免责声明
  • 早期版本
  • 博客
  • 参与
  • 隐私
  • 消费者健康隐私
  • 使用条款
  • 商标
  • © Microsoft 2026