From 1ef56a779a0a9647ad0015ff58e21c90726db6a9 Mon Sep 17 00:00:00 2001 From: fuku Date: Tue, 18 Jun 2024 16:00:19 +0900 Subject: [PATCH] update models --- nifcloudcli/data/devops/v1/service-2.json | 262 ++++++++++++++++++ .../rdb/2013-05-15N2013-12-16/service-2.json | 1 + 2 files changed, 263 insertions(+) diff --git a/nifcloudcli/data/devops/v1/service-2.json b/nifcloudcli/data/devops/v1/service-2.json index af469b1..1a5137a 100644 --- a/nifcloudcli/data/devops/v1/service-2.json +++ b/nifcloudcli/data/devops/v1/service-2.json @@ -211,6 +211,20 @@ "shape": "GetInstanceResult" } }, + "GetInstanceMetrics": { + "documentation": "

DevOpsサーバーのメトリックス情報を取得します。

", + "http": { + "method": "GET", + "requestUri": "/v1/instances/{InstanceId}/metrics/{MetricsName}" + }, + "input": { + "shape": "GetInstanceMetricsRequest" + }, + "name": "GetInstanceMetrics", + "output": { + "shape": "GetInstanceMetricsResult" + } + }, "GetParameterGroup": { "documentation": "

パラメーターグループの情報を取得します。

", "http": { @@ -337,6 +351,20 @@ "shape": "RevokeFirewallRulesResult" } }, + "SetupAlert": { + "documentation": "

指定したDevOpsサーバーのアラート設定を変更します。
空文字を設定した場合はアラート設定を解除します。

", + "http": { + "method": "POST", + "requestUri": "/v1/instances/{InstanceId}:setupAlert" + }, + "input": { + "shape": "SetupAlertRequest" + }, + "name": "SetupAlert", + "output": { + "shape": "SetupAlertResult" + } + }, "UpdateBackupRule": { "documentation": "

指定したバックアップルールの設定を更新します。
リクエストボディパラメーターのいずれか(changedBackupRuleName,description)は指定必須です。

", "http": { @@ -614,6 +642,24 @@ "name": "Boolean", "type": "boolean" }, + "BucketUseObjects": { + "members": { + "ContainerRegistry": { + "locationName": "containerRegistry", + "shape": "String" + }, + "Lfs": { + "locationName": "lfs", + "shape": "String" + }, + "Packages": { + "locationName": "packages", + "shape": "String" + } + }, + "name": "BucketUseObjects", + "type": "structure" + }, "CidrIpOfrulesForAuthorizeFirewallRules": { "enum": [ "IPv4IP", @@ -719,6 +765,10 @@ "locationName": "networkConfig", "shape": "RequestNetworkConfig" }, + "ObjectStorageConfig": { + "locationName": "objectStorageConfig", + "shape": "RequestObjectStorageConfig" + }, "ParameterGroupName": { "locationName": "parameterGroupName", "shape": "String" @@ -1022,6 +1072,48 @@ "name": "GetFirewallGroupResult", "type": "structure" }, + "GetInstanceMetricsRequest": { + "members": { + "EndTime": { + "location": "querystring", + "locationName": "endTime", + "shape": "String" + }, + "InstanceId": { + "location": "uri", + "locationName": "InstanceId", + "shape": "String" + }, + "MetricsName": { + "location": "uri", + "locationName": "MetricsName", + "shape": "String" + }, + "StartTime": { + "location": "querystring", + "locationName": "startTime", + "shape": "String" + } + }, + "name": "GetInstanceMetricsRequest", + "required": [ + "EndTime", + "InstanceId", + "MetricsName", + "StartTime" + ], + "type": "structure" + }, + "GetInstanceMetricsResult": { + "members": { + "Metrics": { + "locationName": "metrics", + "shape": "ListOfMetrics" + } + }, + "name": "GetInstanceMetricsResult", + "type": "structure" + }, "GetInstanceRequest": { "members": { "InstanceId": { @@ -1112,6 +1204,10 @@ "locationName": "networkConfig", "shape": "NetworkConfig" }, + "ObjectStorageConfig": { + "locationName": "objectStorageConfig", + "shape": "ObjectStorageConfig" + }, "ParameterGroupName": { "locationName": "parameterGroupName", "shape": "String" @@ -1136,6 +1232,10 @@ "locationName": "status", "shape": "Status" }, + "To": { + "locationName": "to", + "shape": "String" + }, "UpgradableGitlabVersions": { "locationName": "upgradableGitlabVersions", "shape": "ListOfUpgradableGitlabVersions" @@ -1306,6 +1406,10 @@ "locationName": "networkConfig", "shape": "NetworkConfig" }, + "ObjectStorageConfig": { + "locationName": "objectStorageConfig", + "shape": "ObjectStorageConfig" + }, "ParameterGroupName": { "locationName": "parameterGroupName", "shape": "String" @@ -1330,6 +1434,10 @@ "locationName": "status", "shape": "Status" }, + "To": { + "locationName": "to", + "shape": "String" + }, "UpgradableGitlabVersions": { "locationName": "upgradableGitlabVersions", "shape": "ListOfUpgradableGitlabVersions" @@ -1438,6 +1546,13 @@ "name": "ListOfInstances", "type": "list" }, + "ListOfMetrics": { + "member": { + "shape": "Metrics" + }, + "name": "ListOfMetrics", + "type": "list" + }, "ListOfParameterGroups": { "member": { "shape": "ParameterGroups" @@ -1493,6 +1608,32 @@ "name": "Long", "type": "long" }, + "Metrics": { + "members": { + "MaxValue": { + "locationName": "maxValue", + "shape": "Double" + }, + "MinValue": { + "locationName": "minValue", + "shape": "Double" + }, + "Timestamp": { + "locationName": "timestamp", + "shape": "String" + }, + "Timezone": { + "locationName": "timezone", + "shape": "String" + }, + "Value": { + "locationName": "value", + "shape": "Double" + } + }, + "name": "Metrics", + "type": "structure" + }, "NetworkConfig": { "members": { "NetworkId": { @@ -1507,6 +1648,24 @@ "name": "NetworkConfig", "type": "structure" }, + "ObjectStorageConfig": { + "members": { + "Account": { + "locationName": "account", + "shape": "String" + }, + "BucketUseObjects": { + "locationName": "bucketUseObjects", + "shape": "BucketUseObjects" + }, + "Region": { + "locationName": "region", + "shape": "String" + } + }, + "name": "ObjectStorageConfig", + "type": "structure" + }, "ParameterGroup": { "members": { "Description": { @@ -1625,6 +1784,40 @@ "name": "RebootInstanceResult", "type": "structure" }, + "RegionOfobjectStorageConfigForCreateInstance": { + "enum": [ + "jp-east-1", + "jp-west-2" + ], + "name": "RegionOfobjectStorageConfigForCreateInstance", + "type": "string" + }, + "RegionOfobjectStorageConfigForRestoreInstance": { + "enum": [ + "jp-east-1", + "jp-west-2" + ], + "name": "RegionOfobjectStorageConfigForRestoreInstance", + "type": "string" + }, + "RequestBucketUseObjects": { + "members": { + "ContainerRegistry": { + "locationName": "containerRegistry", + "shape": "String" + }, + "Lfs": { + "locationName": "lfs", + "shape": "String" + }, + "Packages": { + "locationName": "packages", + "shape": "String" + } + }, + "name": "RequestBucketUseObjects", + "type": "structure" + }, "RequestNetworkConfig": { "members": { "NetworkId": { @@ -1639,6 +1832,42 @@ "name": "RequestNetworkConfig", "type": "structure" }, + "RequestObjectStorageConfig": { + "members": { + "Account": { + "locationName": "account", + "shape": "String" + }, + "Region": { + "locationName": "region", + "shape": "RegionOfobjectStorageConfigForCreateInstance" + }, + "RequestBucketUseObjects": { + "locationName": "bucketUseObjects", + "shape": "RequestBucketUseObjects" + } + }, + "name": "RequestObjectStorageConfig", + "type": "structure" + }, + "RequestObjectStorageConfigOfRestoreInstance": { + "members": { + "Account": { + "locationName": "account", + "shape": "String" + }, + "Region": { + "locationName": "region", + "shape": "RegionOfobjectStorageConfigForRestoreInstance" + }, + "RequestBucketUseObjects": { + "locationName": "bucketUseObjects", + "shape": "RequestBucketUseObjects" + } + }, + "name": "RequestObjectStorageConfigOfRestoreInstance", + "type": "structure" + }, "RequestParameters": { "members": { "GitlabEmailFrom": { @@ -1873,6 +2102,10 @@ "locationName": "networkConfig", "shape": "RequestNetworkConfig" }, + "ObjectStorageConfig": { + "locationName": "objectStorageConfig", + "shape": "RequestObjectStorageConfigOfRestoreInstance" + }, "ParameterGroupName": { "locationName": "parameterGroupName", "shape": "String" @@ -1959,6 +2192,35 @@ "name": "Rules", "type": "structure" }, + "SetupAlertRequest": { + "members": { + "InstanceId": { + "location": "uri", + "locationName": "InstanceId", + "shape": "String" + }, + "To": { + "locationName": "to", + "shape": "String" + } + }, + "name": "SetupAlertRequest", + "required": [ + "InstanceId", + "To" + ], + "type": "structure" + }, + "SetupAlertResult": { + "members": { + "Instance": { + "locationName": "instance", + "shape": "Instance" + } + }, + "name": "SetupAlertResult", + "type": "structure" + }, "Status": { "members": { "Code": { diff --git a/nifcloudcli/data/rdb/2013-05-15N2013-12-16/service-2.json b/nifcloudcli/data/rdb/2013-05-15N2013-12-16/service-2.json index cce4294..83109f3 100644 --- a/nifcloudcli/data/rdb/2013-05-15N2013-12-16/service-2.json +++ b/nifcloudcli/data/rdb/2013-05-15N2013-12-16/service-2.json @@ -2118,6 +2118,7 @@ "enum": [ "mysql5.6", "mysql5.7", + "mysql8.0", "postgres9.3", "postgres9.6", "postgres11",