/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Emr.V20190103.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class PreExecuteFileSettings : AbstractModel
{
///
/// 脚本在COS上路径,已废弃
///
[JsonProperty("Path")]
public string Path{ get; set; }
///
/// 执行脚本参数
///
[JsonProperty("Args")]
public string[] Args{ get; set; }
///
/// COS的Bucket名称,已废弃
///
[JsonProperty("Bucket")]
public string Bucket{ get; set; }
///
/// COS的Region名称,已废弃
///
[JsonProperty("Region")]
public string Region{ get; set; }
///
/// COS的Domain数据,已废弃
///
[JsonProperty("Domain")]
public string Domain{ get; set; }
///
/// 执行顺序
///
[JsonProperty("RunOrder")]
public long? RunOrder{ get; set; }
///
/// resourceAfter 或 clusterAfter
///
[JsonProperty("WhenRun")]
public string WhenRun{ get; set; }
///
/// 脚本文件名,已废弃
///
[JsonProperty("CosFileName")]
public string CosFileName{ get; set; }
///
/// 脚本的cos地址
///
[JsonProperty("CosFileURI")]
public string CosFileURI{ get; set; }
///
/// cos的SecretId
///
[JsonProperty("CosSecretId")]
public string CosSecretId{ get; set; }
///
/// Cos的SecretKey
///
[JsonProperty("CosSecretKey")]
public string CosSecretKey{ get; set; }
///
/// cos的appid,已废弃
///
[JsonProperty("AppId")]
public string AppId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Path", this.Path);
this.SetParamArraySimple(map, prefix + "Args.", this.Args);
this.SetParamSimple(map, prefix + "Bucket", this.Bucket);
this.SetParamSimple(map, prefix + "Region", this.Region);
this.SetParamSimple(map, prefix + "Domain", this.Domain);
this.SetParamSimple(map, prefix + "RunOrder", this.RunOrder);
this.SetParamSimple(map, prefix + "WhenRun", this.WhenRun);
this.SetParamSimple(map, prefix + "CosFileName", this.CosFileName);
this.SetParamSimple(map, prefix + "CosFileURI", this.CosFileURI);
this.SetParamSimple(map, prefix + "CosSecretId", this.CosSecretId);
this.SetParamSimple(map, prefix + "CosSecretKey", this.CosSecretKey);
this.SetParamSimple(map, prefix + "AppId", this.AppId);
}
}
}