本文へジャンプします。

ニフクラ ユーザーガイド

クラウド トップ>API> NAS> DeleteNASSecurityGroup
本ページは2023/9/5をもって、新ページhttps://docs.nifcloud.com/nas/api/DeleteNASSecurityGroup.htmへ移行しました。 今後は新ページをご参照ください。

DeleteNASSecurityGroup

処理概要

NASファイアウォールグループを削除します。
NASに適用された状態のNASファイアウォールグループを削除することはできません。

指定するパラメーター

パラメーター 説明 必須
NASSecurityGroupName string

削除するNASファイアウォールグループ名

  • ※NASに適用されているNASファイアウォールグループは削除できません
  • ※デフォルトのNASファイアウォールグループは削除できません

応答フィールド

フィールド (項目) 説明
DeleteNASSecurityGroupResponse structure ルート
ResponseMetadata structure 共通メタ情報
RequestId string リクエスト識別子

エラー

コード メッセージ タイプ HTTPステータスコード 説明
Client.InvalidParameter.NotFound.NASSecurityGroupName

NASSecurityGroup aaaa not found.

Sender 404 NASSecurityGroupNameに存在しない名前を指定した場合
Client.Resource.Associated.NASSecurityGroup

Cannot delete the security group because at least one NAS is still a member: testgroup

Sender 400 削除するファイアウォールグループがNASに設定されている場合
Client.InvalidParameter.Required.NASSecurityGroupName

The parameter NASSecurityGroupName must be provided and must not be blank.

Sender 400 必須のNASSecurityGroupNameを指定しなかった場合
Client.InvalidParameter.Format.NASSecurityGroupName

NASSecurityGroupName must not contain leading or trailing spaces

Sender 400 NASSecurityGroupNameにスペースから始まるまたは終わる値を指定した場合
Client.InvalidParameter.NotAllowed.NASSecurityGroupName

NASSecurityGroupName can contain only lowercase ASCII letters and digits, spaces, underscores, and hyphens

Sender 400 NASSecurityGroupNameに無効な値(全角文字、@など)を指定した場合
Client.InvalidParameter.TooLong.NASSecurityGroupName

NASSecurityGroupName can be no longer than 255 characters

Sender 400 NASSecurityGroupNameに255文字以上指定した場合
Client.InvalidParameter.CannotSpecify.NASSecurityGroupName

You cannot delete the default NAS security group

Sender 400 defaultファイアウォールグループを削除しようとした場合

リクエストサンプル

    https://jp-east-1.nas.api.nifcloud.com/
  ?Action=DeleteNASSecurityGroup
  &NASSecurityGroupName=exsample-securitygroup
  &SignatureVersion=2
  &SignatureMethod=HmacSHA256
  &Timestamp=2016-02-24T00:00:00.000Z
  &AWSAccessKeyId=<NIFCLOUD Access Key ID>
  &Signature=<Signature>

  

応答サンプル

    <DeleteNASSecurityGroupResponse>
  <ResponseMetadata>
    <RequestId>df72a0ce-c069-47d4-b8fc-c51d7e8653ef</RequestId>
  </ResponseMetadata>
</DeleteNASSecurityGroupResponse>

  
  • ※本ページ記載の金額は、すべて税抜表示です。
  • ※本ページ記載の他社製品名および会社名などは、各社の商標または登録商標です。
  • ※本ページの内容は、2023年9月05日時点の情報です。

推奨画面サイズ 1024×768 以上