Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ env:
NIFCLOUD_STORAGE_SECRET_ACCESS_KEY: ${{ secrets.NIFCLOUD_STORAGE_SECRET_ACCESS_KEY }}
jobs:
acceptancetest:
runs-on: ubuntu-latest
# ubuntu-24.04 later does not support Python 3.7
runs-on: ubuntu-22.04
strategy:
max-parallel: 1
matrix:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
- name: Check flake8
run: pipenv run lint
unittest:
runs-on: ubuntu-latest
# ubuntu-24.04 later does not support Python 3.7
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
Expand Down
20 changes: 3 additions & 17 deletions nifcloud/data/computing/3.0/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
}
},
"CreateImage": {
"documentation": "<p>指定したサーバーをイメージ化し、カスタマイズイメージとして保存します。</p><p>サーバーをイメージ化するためには、サーバーが停止中もしくは起動中である必要があります。</p><p>カスタマイズイメージの作成には、時間がかかることがあります。このAPIのレスポンス「imageState」を確認し「pending」が返ってきた、またはタイムアウトした場合は、API「DescribeImages」のレスポンス値「imageState」でカスタマイズイメージのステータスを確認できます。</p><p>ディスクが接続しているサーバーのイメージ化は、指定したサーバーと同一ゾーンでのみ実行可能です。 イメージ化元サーバーを残さない場合は、関連する付替IPアドレス設定もあわせて解除します。</p>",
"documentation": "<p>指定したサーバーをイメージ化し、カスタマイズイメージとして保存します。</p><p>サーバーをイメージ化するためには、サーバーが停止中もしくは起動中である必要があります。</p><p>カスタマイズイメージの作成には、時間がかかることがあります。このAPIのレスポンス「imageState」を確認し「pending」が返ってきた、またはタイムアウトした場合は、API「DescribeImages」のレスポンス値「imageState」でカスタマイズイメージのステータスを確認できます。</p><p>イメージ化が完了するまでの間は、API「DescribeImages」のレスポンス値「imageState」が「deregistered(利用不可)」となります。</p><p>API「DescribeImages」のレスポンス値「imageState」が「available(利用可能)」となるまで待ってください。</p><p>ディスクが接続しているサーバーのイメージ化は、指定したサーバーと同一ゾーンでのみ実行可能です。</p><p>イメージ化元サーバーを残さない場合は、関連する付替IPアドレス設定もあわせて解除します。</p>",
"http": {
"method": "POST",
"requestUri": "/api/"
Expand Down Expand Up @@ -1090,7 +1090,7 @@
}
},
"DescribeSecurityActivities": {
"documentation": "<p>指定したファイアウォールグループのログ情報を取得します。</p><p>ファイアウォールグループを指定するためには、ファイアウォールグループ名が必要です。</p><p>ActivityDateに”all”を指定した場合は、Range設定を無視し保存されているログを全件取得します。</p><p>(この場合に返却されるログの件数については <a href=\"https://docs.nifcloud.com/cp/spec/fw/log.htm#%E3%83%AD%E3%82%B0%E4%BF%9D%E5%AD%98%E6%9C%9F%E9%96%93%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\">技術仕様/制限値 ファイアウォール:ログ</a> をご参照ください。)</p>",
"documentation": "<p>指定したファイアウォールグループのログ情報を取得します。</p><p>ファイアウォールグループを指定するためには、ファイアウォールグループ名が必要です。</p><p>ActivityDateに”all”を指定した場合は、Range設定を無視し取得可能な最大件数のログを取得します。</p><p>(この場合に返却されるログの件数については <a href=\"https://docs.nifcloud.com/cp/spec/fw/log.htm#%E3%83%AD%E3%82%B0%E4%BF%9D%E5%AD%98%E6%9C%9F%E9%96%93%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6\">技術仕様/制限値 ファイアウォール:ログ</a> をご参照ください。)</p>",
"http": {
"method": "POST",
"requestUri": "/api/"
Expand Down Expand Up @@ -6307,7 +6307,7 @@
},
"DiskType": {
"locationName": "DiskType",
"shape": "DiskTypeOfCreateVolumeRequest"
"shape": "String"
},
"InstanceId": {
"locationName": "InstanceId",
Expand Down Expand Up @@ -8968,20 +8968,6 @@
"name": "DisassociateRouteTableResult",
"type": "structure"
},
"DiskTypeOfCreateVolumeRequest": {
"enum": [
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9"
],
"name": "DiskTypeOfCreateVolumeRequest",
"type": "string"
},
"DissociateUsersRequest": {
"members": {
"FunctionName": {
Expand Down
139 changes: 139 additions & 0 deletions nifcloud/data/devops-runner/v1/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@
"shape": "GetRunnerResult"
}
},
"GetRunnerMetrics": {
"documentation": "<p>Runnerのメトリックス情報を取得します。</p>",
"http": {
"method": "GET",
"requestUri": "/v1/runners/{RunnerName}/metrics/{MetricsName}"
},
"input": {
"shape": "GetRunnerMetricsRequest"
},
"name": "GetRunnerMetrics",
"output": {
"shape": "GetRunnerMetricsResult"
}
},
"GetRunnerParameterGroup": {
"documentation": "<p>Runnerパラメーターグループの情報を取得します。</p>",
"http": {
Expand Down Expand Up @@ -162,6 +176,20 @@
"shape": "RegisterRunnerResult"
}
},
"SetupRunnerAlert": {
"documentation": "<p>指定したRunnerのアラート設定を変更します。</p>",
"http": {
"method": "POST",
"requestUri": "/v1/runners/{RunnerName}:setupAlert"
},
"input": {
"shape": "SetupRunnerAlertRequest"
},
"name": "SetupRunnerAlert",
"output": {
"shape": "SetupRunnerAlertResult"
}
},
"UnregisterRunner": {
"documentation": "<p>指定したRunnerをGitLabから登録解除します。</p>",
"http": {
Expand Down Expand Up @@ -426,6 +454,48 @@
"name": "ExtraHosts",
"type": "structure"
},
"GetRunnerMetricsRequest": {
"members": {
"EndTime": {
"location": "querystring",
"locationName": "endTime",
"shape": "String"
},
"MetricsName": {
"location": "uri",
"locationName": "MetricsName",
"shape": "String"
},
"RunnerName": {
"location": "uri",
"locationName": "RunnerName",
"shape": "String"
},
"StartTime": {
"location": "querystring",
"locationName": "startTime",
"shape": "String"
}
},
"name": "GetRunnerMetricsRequest",
"required": [
"EndTime",
"MetricsName",
"RunnerName",
"StartTime"
],
"type": "structure"
},
"GetRunnerMetricsResult": {
"members": {
"Metrics": {
"locationName": "metrics",
"shape": "ListOfMetrics"
}
},
"name": "GetRunnerMetricsResult",
"type": "structure"
},
"GetRunnerParameterGroupRequest": {
"members": {
"ParameterGroupName": {
Expand Down Expand Up @@ -589,6 +659,13 @@
"name": "ListOfExtraHosts",
"type": "list"
},
"ListOfMetrics": {
"member": {
"shape": "Metrics"
},
"name": "ListOfMetrics",
"type": "list"
},
"ListOfParameterGroups": {
"member": {
"shape": "ParameterGroups"
Expand Down Expand Up @@ -698,6 +775,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"
},
"ModifyRunnerInstanceTypeRequest": {
"members": {
"InstanceType": {
Expand Down Expand Up @@ -996,6 +1099,10 @@
"SystemId": {
"locationName": "systemId",
"shape": "String"
},
"To": {
"locationName": "to",
"shape": "String"
}
},
"name": "Runner",
Expand Down Expand Up @@ -1050,11 +1157,43 @@
"SystemId": {
"locationName": "systemId",
"shape": "String"
},
"To": {
"locationName": "to",
"shape": "String"
}
},
"name": "Runners",
"type": "structure"
},
"SetupRunnerAlertRequest": {
"members": {
"RunnerName": {
"location": "uri",
"locationName": "RunnerName",
"shape": "String"
},
"To": {
"locationName": "to",
"shape": "String"
}
},
"name": "SetupRunnerAlertRequest",
"required": [
"RunnerName"
],
"type": "structure"
},
"SetupRunnerAlertResult": {
"members": {
"Runner": {
"locationName": "runner",
"shape": "Runner"
}
},
"name": "SetupRunnerAlertResult",
"type": "structure"
},
"Status": {
"members": {
"Code": {
Expand Down
4 changes: 2 additions & 2 deletions nifcloud/data/dns/2012-12-12N2013-12-16/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@
},
"SetIdentifier": {
"locationName": "SetIdentifier",
"shape": "String"
"shape": "Integer"
},
"TTL": {
"locationName": "TTL",
Expand Down Expand Up @@ -721,7 +721,7 @@
},
"SetIdentifier": {
"locationName": "SetIdentifier",
"shape": "String"
"shape": "Integer"
},
"TTL": {
"locationName": "TTL",
Expand Down
2 changes: 1 addition & 1 deletion nifcloud/data/ess/2010-12-01N2014-05-28/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}
},
"GetDeliveryLog": {
"documentation": "<p>配信ログを取得します。</p><p>条件を指定すると、その条件に一致するログだけを抽出することができます。</p><p>条件は配信期間と配信結果です。</p><p>取得するログの件数や混雑状況によって、応答に時間がかかることがあります。</p>",
"documentation": "<p>配信ログを取得します。</p><p>条件を指定すると、その条件に一致するログだけを抽出することができます。</p><p>条件は配信期間と配信結果です。</p><p>取得できるログはメールの送信結果です。</p><p>メールの送信が完了した後、約10~20分後から取得できます。</p><p>取得するログの件数や混雑状況によって、ログが反映されるまでの時間は前後します。</p>",
"http": {
"method": "POST",
"requestUri": "/"
Expand Down
Loading