@@ -2944,33 +2944,33 @@ func (s *API) DeleteSecurityGroup(req *DeleteSecurityGroupRequest, opts ...scw.R
29442944
29452945type setSecurityGroupRequest struct {
29462946 Zone scw.Zone `json:"-"`
2947- // ID the security groups' unique ID
2947+
29482948 ID string `json:"-"`
2949- // Name the security groups name
2949+
29502950 Name string `json:"name"`
2951- // Description the security groups description
2951+
2952+ CreationDate time.Time `json:"creation_date"`
2953+
2954+ ModificationDate time.Time `json:"modification_date"`
2955+
29522956 Description string `json:"description"`
2953- // EnableDefaultSecurity true if SMTP is blocked on IPv4 and IPv6
2957+
29542958 EnableDefaultSecurity bool `json:"enable_default_security"`
2955- // InboundDefaultPolicy the default inbound policy
2959+ // InboundDefaultPolicy
29562960 //
29572961 // Default value: accept
29582962 InboundDefaultPolicy SecurityGroupPolicy `json:"inbound_default_policy"`
2959- // OutboundDefaultPolicy the default outbound policy
2963+
2964+ Organization string `json:"organization"`
2965+
2966+ OrganizationDefault bool `json:"organization_default"`
2967+ // OutboundDefaultPolicy
29602968 //
29612969 // Default value: accept
29622970 OutboundDefaultPolicy SecurityGroupPolicy `json:"outbound_default_policy"`
2963- // Organization the security groups organization ID
2964- Organization string `json:"organization"`
2965- // OrganizationDefault true if it is your default security group for this organization
2966- OrganizationDefault bool `json:"organization_default"`
2967- // CreationDate the security group creation date
2968- CreationDate time.Time `json:"creation_date"`
2969- // ModificationDate the security group modification date
2970- ModificationDate time.Time `json:"modification_date"`
2971- // Servers list of servers attached to this security group
2971+
29722972 Servers []* ServerSummary `json:"servers"`
2973- // Stateful true if the security group is stateful
2973+
29742974 Stateful bool `json:"stateful"`
29752975}
29762976
0 commit comments