def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil)
      response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil)
      response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates or updates a security rule in the specified network security group.

 @param resource_group_name [String] The name of the resource group.
 @param network_security_group_name [String] The name of the network security
 group.
 @param security_rule_name [String] The name of the security rule.
 @param security_rule_parameters [SecurityRule] Parameters supplied to the
 create or update network security rule operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [SecurityRule] operation results.