ScalingPlanPooledSchedules interface
表示 ScalingPlanPooledSchedules 的接口。
方法
| create(string, string, string, Scaling |
创建或更新 ScalingPlanPooledSchedule。 |
| delete(string, string, string, Scaling |
删除 ScalingPlanPooledSchedule。 |
| get(string, string, string, Scaling |
获取 ScalingPlanPooledSchedule。 |
| list(string, string, Scaling |
列出 ScalingPlanPooledSchedules。 |
| update(string, string, string, Scaling |
更新 ScalingPlanPooledSchedule。 |
方法详细信息
create(string, string, string, ScalingPlanPooledSchedule, ScalingPlanPooledSchedulesCreateOptionalParams)
创建或更新 ScalingPlanPooledSchedule。
function create(resourceGroupName: string, scalingPlanName: string, scalingPlanScheduleName: string, scalingPlanSchedule: ScalingPlanPooledSchedule, options?: ScalingPlanPooledSchedulesCreateOptionalParams): Promise<ScalingPlanPooledSchedule>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- scalingPlanName
-
string
缩放计划的名称。
- scalingPlanScheduleName
-
string
ScalingPlanSchedule 的名称
- scalingPlanSchedule
- ScalingPlanPooledSchedule
包含 ScalingPlanPooledSchedule 定义的对象。
选项参数。
返回
Promise<ScalingPlanPooledSchedule>
delete(string, string, string, ScalingPlanPooledSchedulesDeleteOptionalParams)
删除 ScalingPlanPooledSchedule。
function delete(resourceGroupName: string, scalingPlanName: string, scalingPlanScheduleName: string, options?: ScalingPlanPooledSchedulesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- scalingPlanName
-
string
缩放计划的名称。
- scalingPlanScheduleName
-
string
ScalingPlanSchedule 的名称
选项参数。
返回
Promise<void>
get(string, string, string, ScalingPlanPooledSchedulesGetOptionalParams)
获取 ScalingPlanPooledSchedule。
function get(resourceGroupName: string, scalingPlanName: string, scalingPlanScheduleName: string, options?: ScalingPlanPooledSchedulesGetOptionalParams): Promise<ScalingPlanPooledSchedule>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- scalingPlanName
-
string
缩放计划的名称。
- scalingPlanScheduleName
-
string
ScalingPlanSchedule 的名称
选项参数。
返回
Promise<ScalingPlanPooledSchedule>
list(string, string, ScalingPlanPooledSchedulesListOptionalParams)
列出 ScalingPlanPooledSchedules。
function list(resourceGroupName: string, scalingPlanName: string, options?: ScalingPlanPooledSchedulesListOptionalParams): PagedAsyncIterableIterator<ScalingPlanPooledSchedule, ScalingPlanPooledSchedule[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- scalingPlanName
-
string
缩放计划的名称。
选项参数。
返回
update(string, string, string, ScalingPlanPooledSchedulesUpdateOptionalParams)
更新 ScalingPlanPooledSchedule。
function update(resourceGroupName: string, scalingPlanName: string, scalingPlanScheduleName: string, options?: ScalingPlanPooledSchedulesUpdateOptionalParams): Promise<ScalingPlanPooledSchedule>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- scalingPlanName
-
string
缩放计划的名称。
- scalingPlanScheduleName
-
string
ScalingPlanSchedule 的名称
选项参数。
返回
Promise<ScalingPlanPooledSchedule>