|
| 1 | +export declare function list(): void; |
| 2 | +export declare function publish(): void; |
| 3 | +export declare function get(): void; |
| 4 | +/** |
| 5 | + * s alias <sub-command>\n |
| 6 | + * @pre_help |
| 7 | + * {"header":"Alias","content":"Service alias operation"} |
| 8 | + * @after_help |
| 9 | + * {"header": "SubCommand List", "content": [{"desc":"get","example":"Get alias details, you can get help through [s alias get -h]"},{"desc":"list","example":"View the list of service alias, you can get help through [s alias list -h]"},{"desc":"publish","example":"Publish service alias, you can get help through [s alias publish -h]"}]} |
| 10 | + */ |
| 11 | +export interface AliasInputsArgs { |
| 12 | +} |
| 13 | +/** |
| 14 | + * s alias get\n |
| 15 | + * @pre_help |
| 16 | + * {"header":"Alias get","content":"Get alias details"} |
| 17 | + * @after_help |
| 18 | + * {"ref":"GlobalParams"} |
| 19 | + * @example |
| 20 | + * {"header": "Examples with Yaml","content": ["$ s alias get --alias-name xxx"]} |
| 21 | + * @example |
| 22 | + * {"header": "Examples with CLI","content": ["$ s cli fc alias get --region cn-hangzhou --service-name name --alias-name xxx"]} |
| 23 | + */ |
| 24 | +export interface AliasGetInputsArgs { |
| 25 | + /** |
| 26 | + * Specify the region of alicloud |
| 27 | + */ |
| 28 | + region: string; |
| 29 | + /** |
| 30 | + * Specify the alicloud fc service name |
| 31 | + */ |
| 32 | + 'service-name': string; |
| 33 | + /** |
| 34 | + * Specify the alias name parameter |
| 35 | + */ |
| 36 | + 'alias-name': string; |
| 37 | +} |
| 38 | +/** |
| 39 | + * s alias list <options>\n |
| 40 | + * @pre_help |
| 41 | + * {"header":"Alias list","content":"View the list of service alias"} |
| 42 | + * @after_help |
| 43 | + * {"ref":"GlobalParams"} |
| 44 | + * @example |
| 45 | + * {"header": "Examples with Yaml","content": ["$ s alias list"]} |
| 46 | + * @example |
| 47 | + * {"header": "Examples with CLI","content": ["$ s cli fc alias list --region cn-hangzhou --service-name name"]} |
| 48 | + */ |
| 49 | +export interface AliasListInputsArgs { |
| 50 | + /** |
| 51 | + * Specify the region of alicloud |
| 52 | + */ |
| 53 | + region: string; |
| 54 | + /** |
| 55 | + * Specify the alicloud fc service name |
| 56 | + */ |
| 57 | + 'service-name': string; |
| 58 | + /** |
| 59 | + * Table format output |
| 60 | + */ |
| 61 | + 'table': boolean; |
| 62 | +} |
| 63 | +/** |
| 64 | + * s alias publish <options>\n |
| 65 | + * @pre_help |
| 66 | + * {"header":"Alias publish","content":"Publish service alias"} |
| 67 | + * @after_help |
| 68 | + * {"ref":"GlobalParams"} |
| 69 | + * @example |
| 70 | + * {"header": "Examples with Yaml","content": ["$ s alias publish --alias-name pre --version 2","$ s exec -- alias publish --description xxx --alias-name pre --version 2 --gversion 3 --weight 20"]} |
| 71 | + * @example |
| 72 | + * {"header": "Examples with CLI","content": ["$ s cli fc alias publish --region cn-hangzhou --service-name name --alias-name pre --version 2"]} |
| 73 | + */ |
| 74 | +export interface AliasPublishInputsArgs { |
| 75 | + /** |
| 76 | + * Specify the region of alicloud |
| 77 | + */ |
| 78 | + region: string; |
| 79 | + /** |
| 80 | + * Specify the alicloud fc service name |
| 81 | + */ |
| 82 | + 'service-name': string; |
| 83 | + /** |
| 84 | + * Specify the alicloud fc alias name |
| 85 | + */ |
| 86 | + 'alias-name': string; |
| 87 | + /** |
| 88 | + * Specify the version parameter |
| 89 | + */ |
| 90 | + 'version': string; |
| 91 | + /** |
| 92 | + * Specify the description parameter |
| 93 | + */ |
| 94 | + 'description': string; |
| 95 | + /** |
| 96 | + * Specify the grayscale version id parameter |
| 97 | + */ |
| 98 | + 'gversion': string; |
| 99 | + /** |
| 100 | + * Specify the weight parameter |
| 101 | + */ |
| 102 | + 'weight': string; |
| 103 | +} |
| 104 | +/** |
| 105 | + * s alias remove <options>\n |
| 106 | + * @pre_help |
| 107 | + * {"header":"Alias remove","content":"Delete service alias"} |
| 108 | + * @after_help |
| 109 | + * {"ref":"GlobalParams"} |
| 110 | + * @example |
| 111 | + * {"header": "Examples with Yaml","content": ["$ s alias remove --alias-name xxx"]} |
| 112 | + * @example |
| 113 | + * {"header": "Examples with CLI","content": ["$ s cli fc alias remove --region cn-hangzhou --service-name name --alias-name xxx"]} |
| 114 | + */ |
| 115 | +export interface AliasDeleteInputsArgs { |
| 116 | + /** |
| 117 | + * Specify the region of alicloud |
| 118 | + */ |
| 119 | + region: string; |
| 120 | + /** |
| 121 | + * Specify the alicloud fc service name |
| 122 | + */ |
| 123 | + 'service-name': string; |
| 124 | + /** |
| 125 | + * Specify the alias name parameter |
| 126 | + */ |
| 127 | + 'alias-name': string; |
| 128 | +} |
| 129 | +/** |
| 130 | + * s alias removeAll <options>\n |
| 131 | + * @pre_help |
| 132 | + * {"header":"Alias removeAll","content":"Delete service all alias"} |
| 133 | + * @after_help |
| 134 | + * {"ref":"GlobalParams"} |
| 135 | + * @example |
| 136 | + * {"header": "Examples with Yaml","content": ["$ s alias removeAll"]} |
| 137 | + * @example |
| 138 | + * {"header": "Examples with CLI","content": ["$ s cli fc alias removeAll --region cn-hangzhou --service-name name"]} |
| 139 | + */ |
| 140 | +export interface AliasDeleteAllInputsArgs { |
| 141 | + /** |
| 142 | + * Specify the region of alicloud |
| 143 | + */ |
| 144 | + region: string; |
| 145 | + /** |
| 146 | + * Specify the alicloud fc service name |
| 147 | + */ |
| 148 | + 'service-name': string; |
| 149 | +} |
0 commit comments