C# Класс Amazon.EC2.Model.DeleteSecurityGroupRequest

Container for the parameters to the DeleteSecurityGroup operation. Deletes a security group.

If you attempt to delete a security group that is associated with an instance, or is referenced by another security group, the operation fails with InvalidGroup.InUse in EC2-Classic or DependencyViolation in EC2-VPC.

Наследование: AmazonEC2Request
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DeleteSecurityGroupRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DeleteSecurityGroupRequest ( string groupName ) : System

Instantiates DeleteSecurityGroupRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetGroupId ( ) : bool
IsSetGroupName ( ) : bool

Описание методов

DeleteSecurityGroupRequest() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public DeleteSecurityGroupRequest ( ) : System
Результат System

DeleteSecurityGroupRequest() публичный Метод

Instantiates DeleteSecurityGroupRequest with the parameterized properties
public DeleteSecurityGroupRequest ( string groupName ) : System
groupName string [EC2-Classic, default VPC] The name of the security group. You can specify either the security group name or the security group ID.
Результат System